Update docs.
diff --git a/docs/dyn/adexchangebuyer_v1_3.billingInfo.html b/docs/dyn/adexchangebuyer_v1_3.billingInfo.html
new file mode 100644
index 0000000..b25b8e4
--- /dev/null
+++ b/docs/dyn/adexchangebuyer_v1_3.billingInfo.html
@@ -0,0 +1,128 @@
+<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="adexchangebuyer_v1_3.html">Ad Exchange Buyer API</a> . <a href="adexchangebuyer_v1_3.billingInfo.html">billingInfo</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(accountId)</a></code></p>
+<p class="firstline">Returns the billing information for one account specified by account ID.</p>
+<p class="toc_element">
+ <code><a href="#list">list()</a></code></p>
+<p class="firstline">Retrieves a list of billing information for all accounts of the authenticated user.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(accountId)</code>
+ <pre>Returns the billing information for one account specified by account ID.
+
+Args:
+ accountId: integer, The account id. (required)
+
+Returns:
+ An object of the form:
+
+ { # The configuration data for an Ad Exchange billing info.
+ "billingId": [ # Billing info id.
+ "A String",
+ ],
+ "accountName": "A String", # Account name.
+ "kind": "adexchangebuyer#billingInfo", # Resource type.
+ "accountId": 42, # Account id.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list()</code>
+ <pre>Retrieves a list of billing information for all accounts of the authenticated user.
+
+Args:
+
+Returns:
+ An object of the form:
+
+ { # A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.
+ "items": [ # A list of billing info relevant for your account.
+ { # The configuration data for an Ad Exchange billing info.
+ "billingId": [ # Billing info id.
+ "A String",
+ ],
+ "accountName": "A String", # Account name.
+ "kind": "adexchangebuyer#billingInfo", # Resource type.
+ "accountId": 42, # Account id.
+ },
+ ],
+ "kind": "adexchangebuyer#billingInfoList", # Resource type.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/adexchangebuyer_v1_3.creatives.html b/docs/dyn/adexchangebuyer_v1_3.creatives.html
index 6969051..4723382 100644
--- a/docs/dyn/adexchangebuyer_v1_3.creatives.html
+++ b/docs/dyn/adexchangebuyer_v1_3.creatives.html
@@ -139,7 +139,7 @@
"reasons": [ # The filtering reasons.
{
"filteringCount": "A String", # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
- "filteringStatus": 42, # The filtering status code. Please refer to "creative-status-codes.txt" in the Downloads section for the status codes.
+ "filteringStatus": 42, # The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
},
],
},
@@ -207,7 +207,7 @@
"reasons": [ # The filtering reasons.
{
"filteringCount": "A String", # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
- "filteringStatus": 42, # The filtering status code. Please refer to "creative-status-codes.txt" in the Downloads section for the status codes.
+ "filteringStatus": 42, # The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
},
],
},
@@ -270,7 +270,7 @@
"reasons": [ # The filtering reasons.
{
"filteringCount": "A String", # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
- "filteringStatus": 42, # The filtering status code. Please refer to "creative-status-codes.txt" in the Downloads section for the status codes.
+ "filteringStatus": 42, # The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
},
],
},
@@ -351,7 +351,7 @@
"reasons": [ # The filtering reasons.
{
"filteringCount": "A String", # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
- "filteringStatus": 42, # The filtering status code. Please refer to "creative-status-codes.txt" in the Downloads section for the status codes.
+ "filteringStatus": 42, # The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
},
],
},
diff --git a/docs/dyn/adexchangebuyer_v1_3.html b/docs/dyn/adexchangebuyer_v1_3.html
index 581e9f6..96167f9 100644
--- a/docs/dyn/adexchangebuyer_v1_3.html
+++ b/docs/dyn/adexchangebuyer_v1_3.html
@@ -80,6 +80,11 @@
<p class="firstline">Returns the accounts Resource.</p>
<p class="toc_element">
+ <code><a href="adexchangebuyer_v1_3.billingInfo.html">billingInfo()</a></code>
+</p>
+<p class="firstline">Returns the billingInfo Resource.</p>
+
+<p class="toc_element">
<code><a href="adexchangebuyer_v1_3.creatives.html">creatives()</a></code>
</p>
<p class="firstline">Returns the creatives Resource.</p>
@@ -94,4 +99,9 @@
</p>
<p class="firstline">Returns the performanceReport Resource.</p>
+<p class="toc_element">
+ <code><a href="adexchangebuyer_v1_3.pretargetingConfig.html">pretargetingConfig()</a></code>
+</p>
+<p class="firstline">Returns the pretargetingConfig Resource.</p>
+
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/adexchangebuyer_v1_3.performanceReport.html b/docs/dyn/adexchangebuyer_v1_3.performanceReport.html
index 0918875..b51f52f 100644
--- a/docs/dyn/adexchangebuyer_v1_3.performanceReport.html
+++ b/docs/dyn/adexchangebuyer_v1_3.performanceReport.html
@@ -95,7 +95,7 @@
{ # The configuration data for an Ad Exchange performance report list. https://sites.google.com/a/google.com/adx-integration/Home/engineering/binary-releases/rtb-api-release https://cs.corp.google.com/#piper///depot/google3/contentads/adx/tools/rtb_api/adxrtb.py
"kind": "adexchangebuyer#performanceReportList", # Resource type.
"performanceReport": [ # A list of performance reports relevant for the account.
- { # The configuration data for an Ad Exchange performance report list. TODO(nathanbullock): need to add some release tests before releasing this. https://sites.google.com/a/google.com/adx-integration/Home/engineering/binary-releases/rtb-api-release https://cs.corp.google.com/#piper///depot/google3/contentads/adx/tools/rtb_api/adxrtb.py
+ { # The configuration data for an Ad Exchange performance report list.
"hostedMatchStatusRate": [ # Average QPS for hosted match operations.
"",
],
diff --git a/docs/dyn/adexchangebuyer_v1_3.pretargetingConfig.html b/docs/dyn/adexchangebuyer_v1_3.pretargetingConfig.html
new file mode 100644
index 0000000..5dbfdaf
--- /dev/null
+++ b/docs/dyn/adexchangebuyer_v1_3.pretargetingConfig.html
@@ -0,0 +1,738 @@
+<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="adexchangebuyer_v1_3.html">Ad Exchange Buyer API</a> . <a href="adexchangebuyer_v1_3.pretargetingConfig.html">pretargetingConfig</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(accountId, configId)</a></code></p>
+<p class="firstline">Deletes an existing pretargeting config.</p>
+<p class="toc_element">
+ <code><a href="#get">get(accountId, configId)</a></code></p>
+<p class="firstline">Gets a specific pretargeting configuration</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(accountId, body)</a></code></p>
+<p class="firstline">Inserts a new pretargeting configuration.</p>
+<p class="toc_element">
+ <code><a href="#list">list(accountId)</a></code></p>
+<p class="firstline">Retrieves a list of the authenticated user's pretargeting configurations.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(accountId, configId, body)</a></code></p>
+<p class="firstline">Updates an existing pretargeting config. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(accountId, configId, body)</a></code></p>
+<p class="firstline">Updates an existing pretargeting config.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(accountId, configId)</code>
+ <pre>Deletes an existing pretargeting config.
+
+Args:
+ accountId: string, The account id to delete the pretargeting config for. (required)
+ configId: string, The specific id of the configuration to delete. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(accountId, configId)</code>
+ <pre>Gets a specific pretargeting configuration
+
+Args:
+ accountId: string, The account id to get the pretargeting config for. (required)
+ configId: string, The specific id of the configuration to retrieve. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "verticals": [ # Requests containing any of these vertical ids will match.
+ "A String",
+ ],
+ "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+ "A String",
+ ],
+ "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+ "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+ "A String",
+ ],
+ "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+ "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+ "A String",
+ ],
+ "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+ "A String",
+ ],
+ "languages": [ # Request containing any of these language codes will match.
+ "A String",
+ ],
+ "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+ "A String",
+ ],
+ "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedPlacements": [ # Requests containing any of these placements will not match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+ "A String",
+ ],
+ "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+ "A String",
+ ],
+ "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+ "A String",
+ ],
+ "isActive": True or False, # Whether this config is active. Required for all requests.
+ "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+ {
+ "width": "A String", # Width in pixels.
+ "height": "A String", # Height in pixels.
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+ "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+ "A String",
+ ],
+ "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+ "A String",
+ ],
+ "userLists": [ # Requests containing any of these user list ids will match.
+ "A String",
+ ],
+ "placements": [ # Requests containing any of these placements will match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(accountId, body)</code>
+ <pre>Inserts a new pretargeting configuration.
+
+Args:
+ accountId: string, The account id to insert the pretargeting config for. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "verticals": [ # Requests containing any of these vertical ids will match.
+ "A String",
+ ],
+ "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+ "A String",
+ ],
+ "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+ "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+ "A String",
+ ],
+ "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+ "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+ "A String",
+ ],
+ "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+ "A String",
+ ],
+ "languages": [ # Request containing any of these language codes will match.
+ "A String",
+ ],
+ "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+ "A String",
+ ],
+ "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedPlacements": [ # Requests containing any of these placements will not match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+ "A String",
+ ],
+ "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+ "A String",
+ ],
+ "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+ "A String",
+ ],
+ "isActive": True or False, # Whether this config is active. Required for all requests.
+ "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+ {
+ "width": "A String", # Width in pixels.
+ "height": "A String", # Height in pixels.
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+ "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+ "A String",
+ ],
+ "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+ "A String",
+ ],
+ "userLists": [ # Requests containing any of these user list ids will match.
+ "A String",
+ ],
+ "placements": [ # Requests containing any of these placements will match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "verticals": [ # Requests containing any of these vertical ids will match.
+ "A String",
+ ],
+ "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+ "A String",
+ ],
+ "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+ "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+ "A String",
+ ],
+ "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+ "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+ "A String",
+ ],
+ "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+ "A String",
+ ],
+ "languages": [ # Request containing any of these language codes will match.
+ "A String",
+ ],
+ "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+ "A String",
+ ],
+ "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedPlacements": [ # Requests containing any of these placements will not match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+ "A String",
+ ],
+ "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+ "A String",
+ ],
+ "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+ "A String",
+ ],
+ "isActive": True or False, # Whether this config is active. Required for all requests.
+ "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+ {
+ "width": "A String", # Width in pixels.
+ "height": "A String", # Height in pixels.
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+ "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+ "A String",
+ ],
+ "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+ "A String",
+ ],
+ "userLists": [ # Requests containing any of these user list ids will match.
+ "A String",
+ ],
+ "placements": [ # Requests containing any of these placements will match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(accountId)</code>
+ <pre>Retrieves a list of the authenticated user's pretargeting configurations.
+
+Args:
+ accountId: string, The account id to get the pretargeting configs for. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "items": [ # A list of pretargeting configs
+ {
+ "verticals": [ # Requests containing any of these vertical ids will match.
+ "A String",
+ ],
+ "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+ "A String",
+ ],
+ "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+ "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+ "A String",
+ ],
+ "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+ "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+ "A String",
+ ],
+ "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+ "A String",
+ ],
+ "languages": [ # Request containing any of these language codes will match.
+ "A String",
+ ],
+ "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+ "A String",
+ ],
+ "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedPlacements": [ # Requests containing any of these placements will not match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+ "A String",
+ ],
+ "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+ "A String",
+ ],
+ "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+ "A String",
+ ],
+ "isActive": True or False, # Whether this config is active. Required for all requests.
+ "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+ {
+ "width": "A String", # Width in pixels.
+ "height": "A String", # Height in pixels.
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+ "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+ "A String",
+ ],
+ "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+ "A String",
+ ],
+ "userLists": [ # Requests containing any of these user list ids will match.
+ "A String",
+ ],
+ "placements": [ # Requests containing any of these placements will match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfigList", # Resource type.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(accountId, configId, body)</code>
+ <pre>Updates an existing pretargeting config. This method supports patch semantics.
+
+Args:
+ accountId: string, The account id to update the pretargeting config for. (required)
+ configId: string, The specific id of the configuration to update. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "verticals": [ # Requests containing any of these vertical ids will match.
+ "A String",
+ ],
+ "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+ "A String",
+ ],
+ "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+ "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+ "A String",
+ ],
+ "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+ "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+ "A String",
+ ],
+ "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+ "A String",
+ ],
+ "languages": [ # Request containing any of these language codes will match.
+ "A String",
+ ],
+ "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+ "A String",
+ ],
+ "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedPlacements": [ # Requests containing any of these placements will not match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+ "A String",
+ ],
+ "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+ "A String",
+ ],
+ "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+ "A String",
+ ],
+ "isActive": True or False, # Whether this config is active. Required for all requests.
+ "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+ {
+ "width": "A String", # Width in pixels.
+ "height": "A String", # Height in pixels.
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+ "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+ "A String",
+ ],
+ "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+ "A String",
+ ],
+ "userLists": [ # Requests containing any of these user list ids will match.
+ "A String",
+ ],
+ "placements": [ # Requests containing any of these placements will match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "verticals": [ # Requests containing any of these vertical ids will match.
+ "A String",
+ ],
+ "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+ "A String",
+ ],
+ "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+ "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+ "A String",
+ ],
+ "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+ "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+ "A String",
+ ],
+ "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+ "A String",
+ ],
+ "languages": [ # Request containing any of these language codes will match.
+ "A String",
+ ],
+ "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+ "A String",
+ ],
+ "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedPlacements": [ # Requests containing any of these placements will not match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+ "A String",
+ ],
+ "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+ "A String",
+ ],
+ "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+ "A String",
+ ],
+ "isActive": True or False, # Whether this config is active. Required for all requests.
+ "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+ {
+ "width": "A String", # Width in pixels.
+ "height": "A String", # Height in pixels.
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+ "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+ "A String",
+ ],
+ "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+ "A String",
+ ],
+ "userLists": [ # Requests containing any of these user list ids will match.
+ "A String",
+ ],
+ "placements": [ # Requests containing any of these placements will match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(accountId, configId, body)</code>
+ <pre>Updates an existing pretargeting config.
+
+Args:
+ accountId: string, The account id to update the pretargeting config for. (required)
+ configId: string, The specific id of the configuration to update. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "verticals": [ # Requests containing any of these vertical ids will match.
+ "A String",
+ ],
+ "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+ "A String",
+ ],
+ "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+ "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+ "A String",
+ ],
+ "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+ "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+ "A String",
+ ],
+ "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+ "A String",
+ ],
+ "languages": [ # Request containing any of these language codes will match.
+ "A String",
+ ],
+ "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+ "A String",
+ ],
+ "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedPlacements": [ # Requests containing any of these placements will not match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+ "A String",
+ ],
+ "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+ "A String",
+ ],
+ "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+ "A String",
+ ],
+ "isActive": True or False, # Whether this config is active. Required for all requests.
+ "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+ {
+ "width": "A String", # Width in pixels.
+ "height": "A String", # Height in pixels.
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+ "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+ "A String",
+ ],
+ "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+ "A String",
+ ],
+ "userLists": [ # Requests containing any of these user list ids will match.
+ "A String",
+ ],
+ "placements": [ # Requests containing any of these placements will match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "verticals": [ # Requests containing any of these vertical ids will match.
+ "A String",
+ ],
+ "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+ "A String",
+ ],
+ "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+ "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+ "A String",
+ ],
+ "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+ "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+ "A String",
+ ],
+ "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+ "A String",
+ ],
+ "languages": [ # Request containing any of these language codes will match.
+ "A String",
+ ],
+ "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+ "A String",
+ ],
+ "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedPlacements": [ # Requests containing any of these placements will not match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+ "A String",
+ ],
+ "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+ "A String",
+ ],
+ "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+ "A String",
+ ],
+ "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+ "A String",
+ ],
+ "isActive": True or False, # Whether this config is active. Required for all requests.
+ "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+ {
+ "width": "A String", # Width in pixels.
+ "height": "A String", # Height in pixels.
+ },
+ ],
+ "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+ "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+ "A String",
+ ],
+ "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+ "A String",
+ ],
+ "userLists": [ # Requests containing any of these user list ids will match.
+ "A String",
+ ],
+ "placements": [ # Requests containing any of these placements will match.
+ {
+ "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+ "type": "A String", # The type of the placement.
+ },
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/analytics_v3.html b/docs/dyn/analytics_v3.html
index e5ab16b..25a0abc 100644
--- a/docs/dyn/analytics_v3.html
+++ b/docs/dyn/analytics_v3.html
@@ -89,4 +89,9 @@
</p>
<p class="firstline">Returns the metadata Resource.</p>
+<p class="toc_element">
+ <code><a href="analytics_v3.provisioning.html">provisioning()</a></code>
+</p>
+<p class="firstline">Returns the provisioning Resource.</p>
+
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/analytics_v3.management.customDataSources.html b/docs/dyn/analytics_v3.management.customDataSources.html
index 51b15c0..6583a3a 100644
--- a/docs/dyn/analytics_v3.management.customDataSources.html
+++ b/docs/dyn/analytics_v3.management.customDataSources.html
@@ -99,6 +99,7 @@
"kind": "analytics#customDataSource", # Resource type for Analytics custom data source.
"description": "A String", # Description of custom data source.
"created": "A String", # Time this custom data source was created.
+ "uploadType": "A String",
"profilesLinked": [ # IDs of views (profiles) linked to the custom data source.
"A String",
],
@@ -113,6 +114,7 @@
"href": "A String", # Link to the web property to which this custom data source belongs.
"type": "analytics#webproperty", # Value is "analytics#webproperty".
},
+ "importBehavior": "A String",
"type": "A String", # Type of the custom data source.
"id": "A String", # Custom data source ID.
"selfLink": "A String", # Link for this Analytics custom data source.
diff --git a/docs/dyn/analytics_v3.management.experiments.html b/docs/dyn/analytics_v3.management.experiments.html
index 110387a..875fbc4 100644
--- a/docs/dyn/analytics_v3.management.experiments.html
+++ b/docs/dyn/analytics_v3.management.experiments.html
@@ -153,7 +153,7 @@
"weight": 3.14, # Weight that this variation should receive. Only present if the experiment is running. This field is read-only.
},
],
- "minimumExperimentLengthInDays": 42, # Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
+ "minimumExperimentLengthInDays": 42, # An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
"profileId": "A String", # View (Profile) ID to which this experiment belongs. This field is read-only.
"parentLink": { # Parent link for an experiment. Points to the view (profile) to which this experiment belongs.
"href": "A String", # Link to the view (profile) to which this experiment belongs. This field is read-only.
@@ -210,7 +210,7 @@
"weight": 3.14, # Weight that this variation should receive. Only present if the experiment is running. This field is read-only.
},
],
- "minimumExperimentLengthInDays": 42, # Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
+ "minimumExperimentLengthInDays": 42, # An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
"profileId": "A String", # View (Profile) ID to which this experiment belongs. This field is read-only.
"parentLink": { # Parent link for an experiment. Points to the view (profile) to which this experiment belongs.
"href": "A String", # Link to the view (profile) to which this experiment belongs. This field is read-only.
@@ -259,7 +259,7 @@
"weight": 3.14, # Weight that this variation should receive. Only present if the experiment is running. This field is read-only.
},
],
- "minimumExperimentLengthInDays": 42, # Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
+ "minimumExperimentLengthInDays": 42, # An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
"profileId": "A String", # View (Profile) ID to which this experiment belongs. This field is read-only.
"parentLink": { # Parent link for an experiment. Points to the view (profile) to which this experiment belongs.
"href": "A String", # Link to the view (profile) to which this experiment belongs. This field is read-only.
@@ -323,7 +323,7 @@
"weight": 3.14, # Weight that this variation should receive. Only present if the experiment is running. This field is read-only.
},
],
- "minimumExperimentLengthInDays": 42, # Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
+ "minimumExperimentLengthInDays": 42, # An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
"profileId": "A String", # View (Profile) ID to which this experiment belongs. This field is read-only.
"parentLink": { # Parent link for an experiment. Points to the view (profile) to which this experiment belongs.
"href": "A String", # Link to the view (profile) to which this experiment belongs. This field is read-only.
@@ -388,7 +388,7 @@
"weight": 3.14, # Weight that this variation should receive. Only present if the experiment is running. This field is read-only.
},
],
- "minimumExperimentLengthInDays": 42, # Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
+ "minimumExperimentLengthInDays": 42, # An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
"profileId": "A String", # View (Profile) ID to which this experiment belongs. This field is read-only.
"parentLink": { # Parent link for an experiment. Points to the view (profile) to which this experiment belongs.
"href": "A String", # Link to the view (profile) to which this experiment belongs. This field is read-only.
@@ -437,7 +437,7 @@
"weight": 3.14, # Weight that this variation should receive. Only present if the experiment is running. This field is read-only.
},
],
- "minimumExperimentLengthInDays": 42, # Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
+ "minimumExperimentLengthInDays": 42, # An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
"profileId": "A String", # View (Profile) ID to which this experiment belongs. This field is read-only.
"parentLink": { # Parent link for an experiment. Points to the view (profile) to which this experiment belongs.
"href": "A String", # Link to the view (profile) to which this experiment belongs. This field is read-only.
@@ -495,7 +495,7 @@
"weight": 3.14, # Weight that this variation should receive. Only present if the experiment is running. This field is read-only.
},
],
- "minimumExperimentLengthInDays": 42, # Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
+ "minimumExperimentLengthInDays": 42, # An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
"profileId": "A String", # View (Profile) ID to which this experiment belongs. This field is read-only.
"parentLink": { # Parent link for an experiment. Points to the view (profile) to which this experiment belongs.
"href": "A String", # Link to the view (profile) to which this experiment belongs. This field is read-only.
@@ -544,7 +544,7 @@
"weight": 3.14, # Weight that this variation should receive. Only present if the experiment is running. This field is read-only.
},
],
- "minimumExperimentLengthInDays": 42, # Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
+ "minimumExperimentLengthInDays": 42, # An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.
"profileId": "A String", # View (Profile) ID to which this experiment belongs. This field is read-only.
"parentLink": { # Parent link for an experiment. Points to the view (profile) to which this experiment belongs.
"href": "A String", # Link to the view (profile) to which this experiment belongs. This field is read-only.
diff --git a/docs/dyn/analytics_v3.management.filters.html b/docs/dyn/analytics_v3.management.filters.html
new file mode 100644
index 0000000..df9de40
--- /dev/null
+++ b/docs/dyn/analytics_v3.management.filters.html
@@ -0,0 +1,2195 @@
+<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.management.html">management</a> . <a href="analytics_v3.management.filters.html">filters</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(accountId, filterId)</a></code></p>
+<p class="firstline">Delete a filter.</p>
+<p class="toc_element">
+ <code><a href="#get">get(accountId, filterId)</a></code></p>
+<p class="firstline">Returns a filters to which the user has access.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(accountId, body)</a></code></p>
+<p class="firstline">Create a new filter.</p>
+<p class="toc_element">
+ <code><a href="#list">list(accountId, max_results=None, start_index=None)</a></code></p>
+<p class="firstline">Lists all filters for an account</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(accountId, filterId, body)</a></code></p>
+<p class="firstline">Updates an existing filter. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(accountId, filterId, body)</a></code></p>
+<p class="firstline">Updates an existing filter.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(accountId, filterId)</code>
+ <pre>Delete a filter.
+
+Args:
+ accountId: string, Account ID to delete the filter for. (required)
+ filterId: string, ID of the filter to be deleted. (required)
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(accountId, filterId)</code>
+ <pre>Returns a filters to which the user has access.
+
+Args:
+ accountId: string, Account ID to retrieve filters for. (required)
+ filterId: string, Filter ID to retrieve filters for. (required)
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(accountId, body)</code>
+ <pre>Create a new filter.
+
+Args:
+ accountId: string, Account ID to create filter for. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(accountId, max_results=None, start_index=None)</code>
+ <pre>Lists all filters for an account
+
+Args:
+ accountId: string, Account ID to retrieve filters for. (required)
+ max_results: integer, The maximum number of filters to include in this response.
+ 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:
+
+ { # A filter collection lists filters created by users in an Analytics account. Each resource in the collection corresponds to a filter.
+ "username": "A String", # Email ID of the authenticated user
+ "kind": "analytics#filters", # Collection type.
+ "items": [ # A list of filters.
+ { # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ ],
+ "itemsPerPage": 42, # The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
+ "previousLink": "A String", # Link to previous page for this filter collection.
+ "startIndex": 42, # The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.
+ "nextLink": "A String", # Link to next page for this filter collection.
+ "totalResults": 42, # The total number of results for the query, regardless of the number of results in the response.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(accountId, filterId, body)</code>
+ <pre>Updates an existing filter. This method supports patch semantics.
+
+Args:
+ accountId: string, Account ID to which the filter belongs. (required)
+ filterId: string, ID of the filter to be updated. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(accountId, filterId, body)</code>
+ <pre>Updates an existing filter.
+
+Args:
+ accountId: string, Account ID to which the filter belongs. (required)
+ filterId: string, ID of the filter to be updated. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics account filter.
+ "kind": "analytics#filter", # Resource type for Analytics filter.
+ "name": "A String", # Name of this filter.
+ "created": "A String", # Time this filter was created.
+ "uppercaseDetails": { # Details for the filter of the type UPPER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "updated": "A String", # Time this filter was last modified.
+ "advancedDetails": { # Details for the filter of the type ADVANCED.
+ "extractB": "A String", # Expression to extract from field B.
+ "overrideOutputField": True or False, # Indicates if the existing value of the output field, if any, should be overridden by the output expression.
+ "fieldARequired": True or False, # Indicates if field A is required to match.
+ "fieldB": "A String", # Field B.
+ "outputConstructor": "A String", # Expression used to construct the output value.
+ "fieldBRequired": True or False, # Indicates if field B is required to match.
+ "caseSensitive": True or False, # Indicates if the filter expressions are case sensitive.
+ "extractA": "A String", # Expression to extract from field A.
+ "fieldA": "A String", # Field A.
+ "outputToField": "A String", # Output field.
+ },
+ "lowercaseDetails": { # Details for the filter of the type LOWER.
+ "field": "A String", # Field to use in the filter.
+ },
+ "selfLink": "A String", # Link for this filter.
+ "excludeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type EXCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "kind": "analytics#filterExpression", # Kind value for filter expression
+ "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters.
+ "expressionValue": "A String", # Filter expression value
+ "field": "A String", # Field to filter. Possible values:
+ # - Reserved
+ # - UNUSED,
+ # - Content and Traffic
+ # - PAGE_REQUEST_URI,
+ # - PAGE_HOSTNAME,
+ # - PAGE_TITLE,
+ # - REFERRAL,
+ # - COST_DATA_URI (Campaign target URL),
+ # - HIT_TYPE,
+ # - INTERNAL_SEARCH_TERM,
+ # - INTERNAL_SEARCH_TYPE,
+ # - SOURCE_PROPERTY_TRACKING_ID,
+ # - Campaign or AdGroup
+ # - CAMPAIGN_SOURCE,
+ # - CAMPAIGN_MEDIUM,
+ # - CAMPAIGN_NAME,
+ # - CAMPAIGN_AD_GROUP,
+ # - CAMPAIGN_TERM,
+ # - CAMPAIGN_CONTENT,
+ # - CAMPAIGN_CODE,
+ # - CAMPAIGN_REFERRAL_PATH,
+ # - E-Commerce
+ # - TRANSACTION_COUNTRY,
+ # - TRANSACTION_REGION,
+ # - TRANSACTION_CITY,
+ # - TRANSACTION_AFFILIATION (Store or order location),
+ # - ITEM_NAME,
+ # - ITEM_CODE,
+ # - ITEM_VARIATION,
+ # - TRANSACTION_ID,
+ # - TRANSACTION_CURRENCY_CODE,
+ # - PRODUCT_ACTION_TYPE,
+ # - Audience/Users
+ # - BROWSER,
+ # - BROWSER_VERSION,
+ # - BROWSER_SIZE,
+ # - PLATFORM,
+ # - PLATFORM_VERSION,
+ # - LANGUAGE,
+ # - SCREEN_RESOLUTION,
+ # - SCREEN_COLORS,
+ # - JAVA_ENABLED,
+ # - FLASH_VERSION,
+ # - GEO_SPEED (Connection speed),
+ # - VISITOR_TYPE,
+ # - GEO_ORGANIZATION (ISP organization),
+ # - GEO_DOMAIN,
+ # - GEO_IP_ADDRESS,
+ # - GEO_IP_VERSION,
+ # - Location
+ # - GEO_COUNTRY,
+ # - GEO_REGION,
+ # - GEO_CITY,
+ # - Event
+ # - EVENT_CATEGORY,
+ # - EVENT_ACTION,
+ # - EVENT_LABEL,
+ # - Other
+ # - CUSTOM_FIELD_1,
+ # - CUSTOM_FIELD_2,
+ # - USER_DEFINED_VALUE,
+ # - Application
+ # - APP_ID,
+ # - APP_INSTALLER_ID,
+ # - APP_NAME,
+ # - APP_VERSION,
+ # - SCREEN,
+ # - IS_APP,
+ # - IS_FATAL_EXCEPTION,
+ # - EXCEPTION_DESCRIPTION,
+ # - Mobile device
+ # - IS_MOBILE,
+ # - IS_TABLET,
+ # - MOBILE_HAS_QWERTY_KEYBOARD,
+ # - MOBILE_HAS_NFC_SUPPORT,
+ # - MOBILE_HAS_CELLULAR_RADIO,
+ # - MOBILE_HAS_WIFI_SUPPORT,
+ # - MOBILE_BRAND_NAME,
+ # - MOBILE_MODEL_NAME,
+ # - MOBILE_MARKETING_NAME,
+ # - MOBILE_POINTING_METHOD,
+ # - Social
+ # - SOCIAL_NETWORK,
+ # - SOCIAL_ACTION,
+ # - SOCIAL_ACTION_TARGET,
+ },
+ "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs.
+ "href": "A String", # Link to the account to which this filter belongs.
+ "type": "analytics#account", # Value is "analytics#account".
+ },
+ "type": "A String", # Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
+ "id": "A String", # Filter ID.
+ "searchAndReplaceDetails": { # Details for the filter of the type SEARCH_AND_REPLACE.
+ "caseSensitive": True or False, # Determines if the filter is case sensitive.
+ "searchString": "A String", # Term to search.
+ "replaceString": "A String", # Term to replace the search term with.
+ "field": "A String", # Field to use in the filter.
+ },
+ "accountId": "A String", # Account ID to which this filter belongs.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/analytics_v3.management.html b/docs/dyn/analytics_v3.management.html
index ff78c9f..c74bd21 100644
--- a/docs/dyn/analytics_v3.management.html
+++ b/docs/dyn/analytics_v3.management.html
@@ -105,11 +105,21 @@
<p class="firstline">Returns the experiments Resource.</p>
<p class="toc_element">
+ <code><a href="analytics_v3.management.filters.html">filters()</a></code>
+</p>
+<p class="firstline">Returns the filters Resource.</p>
+
+<p class="toc_element">
<code><a href="analytics_v3.management.goals.html">goals()</a></code>
</p>
<p class="firstline">Returns the goals Resource.</p>
<p class="toc_element">
+ <code><a href="analytics_v3.management.profileFilterLinks.html">profileFilterLinks()</a></code>
+</p>
+<p class="firstline">Returns the profileFilterLinks Resource.</p>
+
+<p class="toc_element">
<code><a href="analytics_v3.management.profileUserLinks.html">profileUserLinks()</a></code>
</p>
<p class="firstline">Returns the profileUserLinks Resource.</p>
@@ -125,11 +135,21 @@
<p class="firstline">Returns the segments Resource.</p>
<p class="toc_element">
+ <code><a href="analytics_v3.management.unsampledReports.html">unsampledReports()</a></code>
+</p>
+<p class="firstline">Returns the unsampledReports Resource.</p>
+
+<p class="toc_element">
<code><a href="analytics_v3.management.uploads.html">uploads()</a></code>
</p>
<p class="firstline">Returns the uploads Resource.</p>
<p class="toc_element">
+ <code><a href="analytics_v3.management.webPropertyAdWordsLinks.html">webPropertyAdWordsLinks()</a></code>
+</p>
+<p class="firstline">Returns the webPropertyAdWordsLinks Resource.</p>
+
+<p class="toc_element">
<code><a href="analytics_v3.management.webproperties.html">webproperties()</a></code>
</p>
<p class="firstline">Returns the webproperties Resource.</p>
diff --git a/docs/dyn/analytics_v3.management.profileFilterLinks.html b/docs/dyn/analytics_v3.management.profileFilterLinks.html
new file mode 100644
index 0000000..cf87fed
--- /dev/null
+++ b/docs/dyn/analytics_v3.management.profileFilterLinks.html
@@ -0,0 +1,398 @@
+<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.management.html">management</a> . <a href="analytics_v3.management.profileFilterLinks.html">profileFilterLinks</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(accountId, webPropertyId, profileId, linkId)</a></code></p>
+<p class="firstline">Delete a profile filter link.</p>
+<p class="toc_element">
+ <code><a href="#get">get(accountId, webPropertyId, profileId, linkId)</a></code></p>
+<p class="firstline">Returns a single profile filter link.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(accountId, webPropertyId, profileId, body)</a></code></p>
+<p class="firstline">Create a new profile filter link.</p>
+<p class="toc_element">
+ <code><a href="#list">list(accountId, webPropertyId, profileId, max_results=None, start_index=None)</a></code></p>
+<p class="firstline">Lists all profile filter links for a profile.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(accountId, webPropertyId, profileId, linkId, body)</a></code></p>
+<p class="firstline">Update an existing profile filter link. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(accountId, webPropertyId, profileId, linkId, body)</a></code></p>
+<p class="firstline">Update an existing profile filter link.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(accountId, webPropertyId, profileId, linkId)</code>
+ <pre>Delete a profile filter link.
+
+Args:
+ accountId: string, Account ID to which the profile filter link belongs. (required)
+ webPropertyId: string, Web property Id to which the profile filter link belongs. (required)
+ profileId: string, Profile ID to which the filter link belongs. (required)
+ linkId: string, ID of the profile filter link to delete. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(accountId, webPropertyId, profileId, linkId)</code>
+ <pre>Returns a single profile filter link.
+
+Args:
+ accountId: string, Account ID to retrieve profile filter link for. (required)
+ webPropertyId: string, Web property Id to retrieve profile filter link for. (required)
+ profileId: string, Profile ID to retrieve filter link for. (required)
+ linkId: string, ID of the profile filter link. (required)
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics profile filter link.
+ "kind": "analytics#profileFilterLink", # Resource type for Analytics filter.
+ "rank": 42, # The rank of this profile filter link relative to the other filters linked to the same profile.
+ # For readonly (i.e., list and get) operations, the rank always starts at 1.
+ # For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.
+ "filterRef": { # JSON template for a profile filter link. # Filter for this link.
+ "kind": "analytics#filterRef", # Kind value for filter reference.
+ "href": "A String", # Link for this filter.
+ "id": "A String", # Filter ID.
+ "name": "A String", # Name of this filter.
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ "profileRef": { # JSON template for a linked view (profile). # View (Profile) for this link.
+ "kind": "analytics#profileRef", # Analytics view (profile) reference.
+ "name": "A String", # Name of this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "href": "A String", # Link for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ },
+ "id": "A String", # Profile filter link ID.
+ "selfLink": "A String", # Link for this profile filter link.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(accountId, webPropertyId, profileId, body)</code>
+ <pre>Create a new profile filter link.
+
+Args:
+ accountId: string, Account ID to create profile filter link for. (required)
+ webPropertyId: string, Web property Id to create profile filter link for. (required)
+ profileId: string, Profile ID to create filter link for. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for an Analytics profile filter link.
+ "kind": "analytics#profileFilterLink", # Resource type for Analytics filter.
+ "rank": 42, # The rank of this profile filter link relative to the other filters linked to the same profile.
+ # For readonly (i.e., list and get) operations, the rank always starts at 1.
+ # For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.
+ "filterRef": { # JSON template for a profile filter link. # Filter for this link.
+ "kind": "analytics#filterRef", # Kind value for filter reference.
+ "href": "A String", # Link for this filter.
+ "id": "A String", # Filter ID.
+ "name": "A String", # Name of this filter.
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ "profileRef": { # JSON template for a linked view (profile). # View (Profile) for this link.
+ "kind": "analytics#profileRef", # Analytics view (profile) reference.
+ "name": "A String", # Name of this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "href": "A String", # Link for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ },
+ "id": "A String", # Profile filter link ID.
+ "selfLink": "A String", # Link for this profile filter link.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics profile filter link.
+ "kind": "analytics#profileFilterLink", # Resource type for Analytics filter.
+ "rank": 42, # The rank of this profile filter link relative to the other filters linked to the same profile.
+ # For readonly (i.e., list and get) operations, the rank always starts at 1.
+ # For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.
+ "filterRef": { # JSON template for a profile filter link. # Filter for this link.
+ "kind": "analytics#filterRef", # Kind value for filter reference.
+ "href": "A String", # Link for this filter.
+ "id": "A String", # Filter ID.
+ "name": "A String", # Name of this filter.
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ "profileRef": { # JSON template for a linked view (profile). # View (Profile) for this link.
+ "kind": "analytics#profileRef", # Analytics view (profile) reference.
+ "name": "A String", # Name of this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "href": "A String", # Link for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ },
+ "id": "A String", # Profile filter link ID.
+ "selfLink": "A String", # Link for this profile filter link.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(accountId, webPropertyId, profileId, max_results=None, start_index=None)</code>
+ <pre>Lists all profile filter links for a profile.
+
+Args:
+ accountId: string, Account ID to retrieve profile filter links for. (required)
+ webPropertyId: string, Web property Id for profile filter links for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to. (required)
+ profileId: string, Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to. (required)
+ max_results: integer, The maximum number of profile filter links to include in this response.
+ 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:
+
+ { # A profile filter link collection lists profile filter links between profiles and filters. Each resource in the collection corresponds to a profile filter link.
+ "username": "A String", # Email ID of the authenticated user
+ "kind": "analytics#profileFilterLinks", # Collection type.
+ "items": [ # A list of profile filter links.
+ { # JSON template for an Analytics profile filter link.
+ "kind": "analytics#profileFilterLink", # Resource type for Analytics filter.
+ "rank": 42, # The rank of this profile filter link relative to the other filters linked to the same profile.
+ # For readonly (i.e., list and get) operations, the rank always starts at 1.
+ # For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.
+ "filterRef": { # JSON template for a profile filter link. # Filter for this link.
+ "kind": "analytics#filterRef", # Kind value for filter reference.
+ "href": "A String", # Link for this filter.
+ "id": "A String", # Filter ID.
+ "name": "A String", # Name of this filter.
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ "profileRef": { # JSON template for a linked view (profile). # View (Profile) for this link.
+ "kind": "analytics#profileRef", # Analytics view (profile) reference.
+ "name": "A String", # Name of this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "href": "A String", # Link for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ },
+ "id": "A String", # Profile filter link ID.
+ "selfLink": "A String", # Link for this profile filter link.
+ },
+ ],
+ "itemsPerPage": 42, # The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
+ "previousLink": "A String", # Link to previous page for this profile filter link collection.
+ "startIndex": 42, # The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.
+ "nextLink": "A String", # Link to next page for this profile filter link collection.
+ "totalResults": 42, # The total number of results for the query, regardless of the number of results in the response.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(accountId, webPropertyId, profileId, linkId, body)</code>
+ <pre>Update an existing profile filter link. This method supports patch semantics.
+
+Args:
+ accountId: string, Account ID to which profile filter link belongs. (required)
+ webPropertyId: string, Web property Id to which profile filter link belongs (required)
+ profileId: string, Profile ID to which filter link belongs (required)
+ linkId: string, ID of the profile filter link to be updated. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for an Analytics profile filter link.
+ "kind": "analytics#profileFilterLink", # Resource type for Analytics filter.
+ "rank": 42, # The rank of this profile filter link relative to the other filters linked to the same profile.
+ # For readonly (i.e., list and get) operations, the rank always starts at 1.
+ # For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.
+ "filterRef": { # JSON template for a profile filter link. # Filter for this link.
+ "kind": "analytics#filterRef", # Kind value for filter reference.
+ "href": "A String", # Link for this filter.
+ "id": "A String", # Filter ID.
+ "name": "A String", # Name of this filter.
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ "profileRef": { # JSON template for a linked view (profile). # View (Profile) for this link.
+ "kind": "analytics#profileRef", # Analytics view (profile) reference.
+ "name": "A String", # Name of this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "href": "A String", # Link for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ },
+ "id": "A String", # Profile filter link ID.
+ "selfLink": "A String", # Link for this profile filter link.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics profile filter link.
+ "kind": "analytics#profileFilterLink", # Resource type for Analytics filter.
+ "rank": 42, # The rank of this profile filter link relative to the other filters linked to the same profile.
+ # For readonly (i.e., list and get) operations, the rank always starts at 1.
+ # For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.
+ "filterRef": { # JSON template for a profile filter link. # Filter for this link.
+ "kind": "analytics#filterRef", # Kind value for filter reference.
+ "href": "A String", # Link for this filter.
+ "id": "A String", # Filter ID.
+ "name": "A String", # Name of this filter.
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ "profileRef": { # JSON template for a linked view (profile). # View (Profile) for this link.
+ "kind": "analytics#profileRef", # Analytics view (profile) reference.
+ "name": "A String", # Name of this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "href": "A String", # Link for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ },
+ "id": "A String", # Profile filter link ID.
+ "selfLink": "A String", # Link for this profile filter link.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(accountId, webPropertyId, profileId, linkId, body)</code>
+ <pre>Update an existing profile filter link.
+
+Args:
+ accountId: string, Account ID to which profile filter link belongs. (required)
+ webPropertyId: string, Web property Id to which profile filter link belongs (required)
+ profileId: string, Profile ID to which filter link belongs (required)
+ linkId: string, ID of the profile filter link to be updated. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for an Analytics profile filter link.
+ "kind": "analytics#profileFilterLink", # Resource type for Analytics filter.
+ "rank": 42, # The rank of this profile filter link relative to the other filters linked to the same profile.
+ # For readonly (i.e., list and get) operations, the rank always starts at 1.
+ # For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.
+ "filterRef": { # JSON template for a profile filter link. # Filter for this link.
+ "kind": "analytics#filterRef", # Kind value for filter reference.
+ "href": "A String", # Link for this filter.
+ "id": "A String", # Filter ID.
+ "name": "A String", # Name of this filter.
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ "profileRef": { # JSON template for a linked view (profile). # View (Profile) for this link.
+ "kind": "analytics#profileRef", # Analytics view (profile) reference.
+ "name": "A String", # Name of this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "href": "A String", # Link for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ },
+ "id": "A String", # Profile filter link ID.
+ "selfLink": "A String", # Link for this profile filter link.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics profile filter link.
+ "kind": "analytics#profileFilterLink", # Resource type for Analytics filter.
+ "rank": 42, # The rank of this profile filter link relative to the other filters linked to the same profile.
+ # For readonly (i.e., list and get) operations, the rank always starts at 1.
+ # For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.
+ "filterRef": { # JSON template for a profile filter link. # Filter for this link.
+ "kind": "analytics#filterRef", # Kind value for filter reference.
+ "href": "A String", # Link for this filter.
+ "id": "A String", # Filter ID.
+ "name": "A String", # Name of this filter.
+ "accountId": "A String", # Account ID to which this filter belongs.
+ },
+ "profileRef": { # JSON template for a linked view (profile). # View (Profile) for this link.
+ "kind": "analytics#profileRef", # Analytics view (profile) reference.
+ "name": "A String", # Name of this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "href": "A String", # Link for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ },
+ "id": "A String", # Profile filter link ID.
+ "selfLink": "A String", # Link for this profile filter link.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/analytics_v3.management.profileUserLinks.html b/docs/dyn/analytics_v3.management.profileUserLinks.html
index d73e8bc..f65a831 100644
--- a/docs/dyn/analytics_v3.management.profileUserLinks.html
+++ b/docs/dyn/analytics_v3.management.profileUserLinks.html
@@ -209,8 +209,8 @@
Args:
accountId: string, Account ID which the given view (profile) belongs to. (required)
- webPropertyId: string, Web Property ID which the given view (profile) belongs to. (required)
- profileId: string, View (Profile) ID to retrieve the profile-user links for (required)
+ webPropertyId: string, Web Property ID which the given view (profile) belongs to. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to. (required)
+ profileId: string, View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to. (required)
max_results: integer, The maximum number of profile-user links to include in this response.
start_index: integer, An index of the first profile-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
diff --git a/docs/dyn/analytics_v3.management.unsampledReports.html b/docs/dyn/analytics_v3.management.unsampledReports.html
new file mode 100644
index 0000000..e95de98
--- /dev/null
+++ b/docs/dyn/analytics_v3.management.unsampledReports.html
@@ -0,0 +1,251 @@
+<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.management.html">management</a> . <a href="analytics_v3.management.unsampledReports.html">unsampledReports</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(accountId, webPropertyId, profileId, unsampledReportId)</a></code></p>
+<p class="firstline">Returns a single unsampled report.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(accountId, webPropertyId, profileId, body)</a></code></p>
+<p class="firstline">Create a new unsampled report.</p>
+<p class="toc_element">
+ <code><a href="#list">list(accountId, webPropertyId, profileId, max_results=None, start_index=None)</a></code></p>
+<p class="firstline">Lists unsampled reports to which the user has access.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(accountId, webPropertyId, profileId, unsampledReportId)</code>
+ <pre>Returns a single unsampled report.
+
+Args:
+ accountId: string, Account ID to retrieve unsampled report for. (required)
+ webPropertyId: string, Web property ID to retrieve unsampled reports for. (required)
+ profileId: string, View (Profile) ID to retrieve unsampled report for. (required)
+ unsampledReportId: string, ID of the unsampled report to retrieve. (required)
+
+Returns:
+ An object of the form:
+
+ { # JSON template for Analytics unsampled report resource.
+ "status": "A String", # Status of this unsampled report. Possible values are PENDING, COMPLETED, or FAILED.
+ "kind": "analytics#unsampledReport", # Resource type for an Analytics unsampled report.
+ "cloudStorageDownloadDetails": { # Download details for a file stored in Google Cloud Storage.
+ "bucketId": "A String", # Id of the bucket the file object is stored in.
+ "objectId": "A String", # Id of the file object containing the report data.
+ },
+ "downloadType": "A String", # The type of download you need to use for the report data file.
+ "dimensions": "A String", # The dimensions for the unsampled report.
+ "created": "A String", # Time this unsampled report was created.
+ "segment": "A String", # The segment for the unsampled report.
+ "start-date": "A String", # The start date for the unsampled report.
+ "updated": "A String", # Time this unsampled report was last modified.
+ "driveDownloadDetails": { # Download details for a file stored in Google Drive.
+ "documentId": "A String", # Id of the document/file containing the report data.
+ },
+ "metrics": "A String", # The metrics for the unsampled report.
+ "title": "A String", # Title of the unsampled report.
+ "filters": "A String", # The filters for the unsampled report.
+ "webPropertyId": "A String", # Web property ID to which this unsampled report belongs. The web property ID is of the form UA-XXXXX-YY.
+ "profileId": "A String", # View (Profile) ID to which this unsampled report belongs.
+ "end-date": "A String", # The end date for the unsampled report.
+ "id": "A String", # Unsampled report ID.
+ "selfLink": "A String", # Link for this unsampled report.
+ "accountId": "A String", # Account ID to which this unsampled report belongs.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(accountId, webPropertyId, profileId, body)</code>
+ <pre>Create a new unsampled report.
+
+Args:
+ accountId: string, Account ID to create the unsampled report for. (required)
+ webPropertyId: string, Web property ID to create the unsampled report for. (required)
+ profileId: string, View (Profile) ID to create the unsampled report for. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for Analytics unsampled report resource.
+ "status": "A String", # Status of this unsampled report. Possible values are PENDING, COMPLETED, or FAILED.
+ "kind": "analytics#unsampledReport", # Resource type for an Analytics unsampled report.
+ "cloudStorageDownloadDetails": { # Download details for a file stored in Google Cloud Storage.
+ "bucketId": "A String", # Id of the bucket the file object is stored in.
+ "objectId": "A String", # Id of the file object containing the report data.
+ },
+ "downloadType": "A String", # The type of download you need to use for the report data file.
+ "dimensions": "A String", # The dimensions for the unsampled report.
+ "created": "A String", # Time this unsampled report was created.
+ "segment": "A String", # The segment for the unsampled report.
+ "start-date": "A String", # The start date for the unsampled report.
+ "updated": "A String", # Time this unsampled report was last modified.
+ "driveDownloadDetails": { # Download details for a file stored in Google Drive.
+ "documentId": "A String", # Id of the document/file containing the report data.
+ },
+ "metrics": "A String", # The metrics for the unsampled report.
+ "title": "A String", # Title of the unsampled report.
+ "filters": "A String", # The filters for the unsampled report.
+ "webPropertyId": "A String", # Web property ID to which this unsampled report belongs. The web property ID is of the form UA-XXXXX-YY.
+ "profileId": "A String", # View (Profile) ID to which this unsampled report belongs.
+ "end-date": "A String", # The end date for the unsampled report.
+ "id": "A String", # Unsampled report ID.
+ "selfLink": "A String", # Link for this unsampled report.
+ "accountId": "A String", # Account ID to which this unsampled report belongs.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for Analytics unsampled report resource.
+ "status": "A String", # Status of this unsampled report. Possible values are PENDING, COMPLETED, or FAILED.
+ "kind": "analytics#unsampledReport", # Resource type for an Analytics unsampled report.
+ "cloudStorageDownloadDetails": { # Download details for a file stored in Google Cloud Storage.
+ "bucketId": "A String", # Id of the bucket the file object is stored in.
+ "objectId": "A String", # Id of the file object containing the report data.
+ },
+ "downloadType": "A String", # The type of download you need to use for the report data file.
+ "dimensions": "A String", # The dimensions for the unsampled report.
+ "created": "A String", # Time this unsampled report was created.
+ "segment": "A String", # The segment for the unsampled report.
+ "start-date": "A String", # The start date for the unsampled report.
+ "updated": "A String", # Time this unsampled report was last modified.
+ "driveDownloadDetails": { # Download details for a file stored in Google Drive.
+ "documentId": "A String", # Id of the document/file containing the report data.
+ },
+ "metrics": "A String", # The metrics for the unsampled report.
+ "title": "A String", # Title of the unsampled report.
+ "filters": "A String", # The filters for the unsampled report.
+ "webPropertyId": "A String", # Web property ID to which this unsampled report belongs. The web property ID is of the form UA-XXXXX-YY.
+ "profileId": "A String", # View (Profile) ID to which this unsampled report belongs.
+ "end-date": "A String", # The end date for the unsampled report.
+ "id": "A String", # Unsampled report ID.
+ "selfLink": "A String", # Link for this unsampled report.
+ "accountId": "A String", # Account ID to which this unsampled report belongs.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(accountId, webPropertyId, profileId, max_results=None, start_index=None)</code>
+ <pre>Lists unsampled reports to which the user has access.
+
+Args:
+ accountId: string, Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not supported. (required)
+ webPropertyId: string, Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is not supported. (required)
+ profileId: string, View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all is not supported. (required)
+ max_results: integer, The maximum number of unsampled reports to include in this response.
+ start_index: integer, An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
+
+Returns:
+ An object of the form:
+
+ { # An unsampled report collection lists Analytics unsampled reports to which the user has access. Each view (profile) can have a set of unsampled reports. Each resource in the unsampled report collection corresponds to a single Analytics unsampled report.
+ "username": "A String", # Email ID of the authenticated user
+ "kind": "analytics#unsampledReports", # Collection type.
+ "items": [ # A list of unsampled reports.
+ { # JSON template for Analytics unsampled report resource.
+ "status": "A String", # Status of this unsampled report. Possible values are PENDING, COMPLETED, or FAILED.
+ "kind": "analytics#unsampledReport", # Resource type for an Analytics unsampled report.
+ "cloudStorageDownloadDetails": { # Download details for a file stored in Google Cloud Storage.
+ "bucketId": "A String", # Id of the bucket the file object is stored in.
+ "objectId": "A String", # Id of the file object containing the report data.
+ },
+ "downloadType": "A String", # The type of download you need to use for the report data file.
+ "dimensions": "A String", # The dimensions for the unsampled report.
+ "created": "A String", # Time this unsampled report was created.
+ "segment": "A String", # The segment for the unsampled report.
+ "start-date": "A String", # The start date for the unsampled report.
+ "updated": "A String", # Time this unsampled report was last modified.
+ "driveDownloadDetails": { # Download details for a file stored in Google Drive.
+ "documentId": "A String", # Id of the document/file containing the report data.
+ },
+ "metrics": "A String", # The metrics for the unsampled report.
+ "title": "A String", # Title of the unsampled report.
+ "filters": "A String", # The filters for the unsampled report.
+ "webPropertyId": "A String", # Web property ID to which this unsampled report belongs. The web property ID is of the form UA-XXXXX-YY.
+ "profileId": "A String", # View (Profile) ID to which this unsampled report belongs.
+ "end-date": "A String", # The end date for the unsampled report.
+ "id": "A String", # Unsampled report ID.
+ "selfLink": "A String", # Link for this unsampled report.
+ "accountId": "A String", # Account ID to which this unsampled report belongs.
+ },
+ ],
+ "itemsPerPage": 42, # The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
+ "previousLink": "A String", # Link to previous page for this unsampled report collection.
+ "startIndex": 42, # The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.
+ "nextLink": "A String", # Link to next page for this unsampled report collection.
+ "totalResults": 42, # The total number of results for the query, regardless of the number of resources in the result.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/analytics_v3.management.uploads.html b/docs/dyn/analytics_v3.management.uploads.html
index 1b63ecc..7f6c68f 100644
--- a/docs/dyn/analytics_v3.management.uploads.html
+++ b/docs/dyn/analytics_v3.management.uploads.html
@@ -84,6 +84,9 @@
<code><a href="#list">list(accountId, webPropertyId, customDataSourceId, max_results=None, start_index=None)</a></code></p>
<p class="firstline">List uploads to which the user has access.</p>
<p class="toc_element">
+ <code><a href="#migrateDataImport">migrateDataImport(accountId, webPropertyId, customDataSourceId)</a></code></p>
+<p class="firstline">Migrate custom data source and data imports to latest version.</p>
+<p class="toc_element">
<code><a href="#uploadData">uploadData(accountId, webPropertyId, customDataSourceId, media_body=None)</a></code></p>
<p class="firstline">Upload data for a custom data source.</p>
<h3>Method Details</h3>
@@ -169,6 +172,17 @@
</div>
<div class="method">
+ <code class="details" id="migrateDataImport">migrateDataImport(accountId, webPropertyId, customDataSourceId)</code>
+ <pre>Migrate custom data source and data imports to latest version.
+
+Args:
+ accountId: string, Account Id for migration. (required)
+ webPropertyId: string, Web property Id for migration. (required)
+ customDataSourceId: string, Custom data source Id for migration. (required)
+</pre>
+</div>
+
+<div class="method">
<code class="details" id="uploadData">uploadData(accountId, webPropertyId, customDataSourceId, media_body=None)</code>
<pre>Upload data for a custom data source.
diff --git a/docs/dyn/analytics_v3.management.webPropertyAdWordsLinks.html b/docs/dyn/analytics_v3.management.webPropertyAdWordsLinks.html
new file mode 100644
index 0000000..2546812
--- /dev/null
+++ b/docs/dyn/analytics_v3.management.webPropertyAdWordsLinks.html
@@ -0,0 +1,407 @@
+<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.management.html">management</a> . <a href="analytics_v3.management.webPropertyAdWordsLinks.html">webPropertyAdWordsLinks</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(accountId, webPropertyId, webPropertyAdWordsLinkId)</a></code></p>
+<p class="firstline">Deletes a web property-AdWords link.</p>
+<p class="toc_element">
+ <code><a href="#get">get(accountId, webPropertyId, webPropertyAdWordsLinkId)</a></code></p>
+<p class="firstline">Returns a web property-AdWords link to which the user has access.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(accountId, webPropertyId, body)</a></code></p>
+<p class="firstline">Creates a webProperty-AdWords link.</p>
+<p class="toc_element">
+ <code><a href="#list">list(accountId, webPropertyId, max_results=None, start_index=None)</a></code></p>
+<p class="firstline">Lists webProperty-AdWords links for a given web property.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(accountId, webPropertyId, webPropertyAdWordsLinkId, body)</a></code></p>
+<p class="firstline">Updates an existing webProperty-AdWords link. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(accountId, webPropertyId, webPropertyAdWordsLinkId, body)</a></code></p>
+<p class="firstline">Updates an existing webProperty-AdWords link.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(accountId, webPropertyId, webPropertyAdWordsLinkId)</code>
+ <pre>Deletes a web property-AdWords link.
+
+Args:
+ accountId: string, ID of the account which the given web property belongs to. (required)
+ webPropertyId: string, Web property ID to delete the AdWords link for. (required)
+ webPropertyAdWordsLinkId: string, Web property AdWords link ID. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(accountId, webPropertyId, webPropertyAdWordsLinkId)</code>
+ <pre>Returns a web property-AdWords link to which the user has access.
+
+Args:
+ accountId: string, ID of the account which the given web property belongs to. (required)
+ webPropertyId: string, Web property ID to retrieve the AdWords link for. (required)
+ webPropertyAdWordsLinkId: string, Web property-AdWords link ID. (required)
+
+Returns:
+ An object of the form:
+
+ { # JSON template for Analytics Entity AdWords Link.
+ "kind": "analytics#entityAdWordsLink", # Resource type for entity AdWords link.
+ "name": "A String", # Name of the link. This field is required when creating an AdWords link.
+ "adWordsAccounts": [ # A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.
+ { # JSON template for an AdWords account.
+ "kind": "analytics#adWordsAccount", # Resource type for AdWords account.
+ "customerId": "A String", # Customer ID. This field is required when creating an AdWords link.
+ "autoTaggingEnabled": True or False, # True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.
+ },
+ ],
+ "entity": { # Web property being linked.
+ "webPropertyRef": { # JSON template for a web property reference.
+ "kind": "analytics#webPropertyRef", # Analytics web property reference.
+ "name": "A String", # Name of this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "href": "A String", # Link for this web property.
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ },
+ "profileIds": [ # IDs of linked Views (Profiles) represented as strings.
+ "A String",
+ ],
+ "id": "A String", # Entity AdWords link ID
+ "selfLink": "A String", # URL link for this Google Analytics - Google AdWords link.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(accountId, webPropertyId, body)</code>
+ <pre>Creates a webProperty-AdWords link.
+
+Args:
+ accountId: string, ID of the Google Analytics account to create the link for. (required)
+ webPropertyId: string, Web property ID to create the link for. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for Analytics Entity AdWords Link.
+ "kind": "analytics#entityAdWordsLink", # Resource type for entity AdWords link.
+ "name": "A String", # Name of the link. This field is required when creating an AdWords link.
+ "adWordsAccounts": [ # A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.
+ { # JSON template for an AdWords account.
+ "kind": "analytics#adWordsAccount", # Resource type for AdWords account.
+ "customerId": "A String", # Customer ID. This field is required when creating an AdWords link.
+ "autoTaggingEnabled": True or False, # True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.
+ },
+ ],
+ "entity": { # Web property being linked.
+ "webPropertyRef": { # JSON template for a web property reference.
+ "kind": "analytics#webPropertyRef", # Analytics web property reference.
+ "name": "A String", # Name of this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "href": "A String", # Link for this web property.
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ },
+ "profileIds": [ # IDs of linked Views (Profiles) represented as strings.
+ "A String",
+ ],
+ "id": "A String", # Entity AdWords link ID
+ "selfLink": "A String", # URL link for this Google Analytics - Google AdWords link.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for Analytics Entity AdWords Link.
+ "kind": "analytics#entityAdWordsLink", # Resource type for entity AdWords link.
+ "name": "A String", # Name of the link. This field is required when creating an AdWords link.
+ "adWordsAccounts": [ # A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.
+ { # JSON template for an AdWords account.
+ "kind": "analytics#adWordsAccount", # Resource type for AdWords account.
+ "customerId": "A String", # Customer ID. This field is required when creating an AdWords link.
+ "autoTaggingEnabled": True or False, # True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.
+ },
+ ],
+ "entity": { # Web property being linked.
+ "webPropertyRef": { # JSON template for a web property reference.
+ "kind": "analytics#webPropertyRef", # Analytics web property reference.
+ "name": "A String", # Name of this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "href": "A String", # Link for this web property.
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ },
+ "profileIds": [ # IDs of linked Views (Profiles) represented as strings.
+ "A String",
+ ],
+ "id": "A String", # Entity AdWords link ID
+ "selfLink": "A String", # URL link for this Google Analytics - Google AdWords link.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(accountId, webPropertyId, max_results=None, start_index=None)</code>
+ <pre>Lists webProperty-AdWords links for a given web property.
+
+Args:
+ accountId: string, ID of the account which the given web property belongs to. (required)
+ webPropertyId: string, Web property ID to retrieve the AdWords links for. (required)
+ max_results: integer, The maximum number of webProperty-AdWords links to include in this response.
+ start_index: integer, An index of the first webProperty-AdWords link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
+
+Returns:
+ An object of the form:
+
+ { # An entity AdWords link collection provides a list of GA-AdWords links Each resource in this collection corresponds to a single link.
+ "kind": "analytics#entityAdWordsLinks", # Collection type.
+ "items": [ # A list of entity AdWords links.
+ { # JSON template for Analytics Entity AdWords Link.
+ "kind": "analytics#entityAdWordsLink", # Resource type for entity AdWords link.
+ "name": "A String", # Name of the link. This field is required when creating an AdWords link.
+ "adWordsAccounts": [ # A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.
+ { # JSON template for an AdWords account.
+ "kind": "analytics#adWordsAccount", # Resource type for AdWords account.
+ "customerId": "A String", # Customer ID. This field is required when creating an AdWords link.
+ "autoTaggingEnabled": True or False, # True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.
+ },
+ ],
+ "entity": { # Web property being linked.
+ "webPropertyRef": { # JSON template for a web property reference.
+ "kind": "analytics#webPropertyRef", # Analytics web property reference.
+ "name": "A String", # Name of this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "href": "A String", # Link for this web property.
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ },
+ "profileIds": [ # IDs of linked Views (Profiles) represented as strings.
+ "A String",
+ ],
+ "id": "A String", # Entity AdWords link ID
+ "selfLink": "A String", # URL link for this Google Analytics - Google AdWords link.
+ },
+ ],
+ "itemsPerPage": 42, # The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
+ "previousLink": "A String", # Previous link for this AdWords link collection.
+ "startIndex": 42, # The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.
+ "nextLink": "A String", # Next link for this AdWords link collection.
+ "totalResults": 42, # The total number of results for the query, regardless of the number of results in the response.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(accountId, webPropertyId, webPropertyAdWordsLinkId, body)</code>
+ <pre>Updates an existing webProperty-AdWords link. This method supports patch semantics.
+
+Args:
+ accountId: string, ID of the account which the given web property belongs to. (required)
+ webPropertyId: string, Web property ID to retrieve the AdWords link for. (required)
+ webPropertyAdWordsLinkId: string, Web property-AdWords link ID. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for Analytics Entity AdWords Link.
+ "kind": "analytics#entityAdWordsLink", # Resource type for entity AdWords link.
+ "name": "A String", # Name of the link. This field is required when creating an AdWords link.
+ "adWordsAccounts": [ # A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.
+ { # JSON template for an AdWords account.
+ "kind": "analytics#adWordsAccount", # Resource type for AdWords account.
+ "customerId": "A String", # Customer ID. This field is required when creating an AdWords link.
+ "autoTaggingEnabled": True or False, # True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.
+ },
+ ],
+ "entity": { # Web property being linked.
+ "webPropertyRef": { # JSON template for a web property reference.
+ "kind": "analytics#webPropertyRef", # Analytics web property reference.
+ "name": "A String", # Name of this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "href": "A String", # Link for this web property.
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ },
+ "profileIds": [ # IDs of linked Views (Profiles) represented as strings.
+ "A String",
+ ],
+ "id": "A String", # Entity AdWords link ID
+ "selfLink": "A String", # URL link for this Google Analytics - Google AdWords link.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for Analytics Entity AdWords Link.
+ "kind": "analytics#entityAdWordsLink", # Resource type for entity AdWords link.
+ "name": "A String", # Name of the link. This field is required when creating an AdWords link.
+ "adWordsAccounts": [ # A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.
+ { # JSON template for an AdWords account.
+ "kind": "analytics#adWordsAccount", # Resource type for AdWords account.
+ "customerId": "A String", # Customer ID. This field is required when creating an AdWords link.
+ "autoTaggingEnabled": True or False, # True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.
+ },
+ ],
+ "entity": { # Web property being linked.
+ "webPropertyRef": { # JSON template for a web property reference.
+ "kind": "analytics#webPropertyRef", # Analytics web property reference.
+ "name": "A String", # Name of this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "href": "A String", # Link for this web property.
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ },
+ "profileIds": [ # IDs of linked Views (Profiles) represented as strings.
+ "A String",
+ ],
+ "id": "A String", # Entity AdWords link ID
+ "selfLink": "A String", # URL link for this Google Analytics - Google AdWords link.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(accountId, webPropertyId, webPropertyAdWordsLinkId, body)</code>
+ <pre>Updates an existing webProperty-AdWords link.
+
+Args:
+ accountId: string, ID of the account which the given web property belongs to. (required)
+ webPropertyId: string, Web property ID to retrieve the AdWords link for. (required)
+ webPropertyAdWordsLinkId: string, Web property-AdWords link ID. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for Analytics Entity AdWords Link.
+ "kind": "analytics#entityAdWordsLink", # Resource type for entity AdWords link.
+ "name": "A String", # Name of the link. This field is required when creating an AdWords link.
+ "adWordsAccounts": [ # A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.
+ { # JSON template for an AdWords account.
+ "kind": "analytics#adWordsAccount", # Resource type for AdWords account.
+ "customerId": "A String", # Customer ID. This field is required when creating an AdWords link.
+ "autoTaggingEnabled": True or False, # True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.
+ },
+ ],
+ "entity": { # Web property being linked.
+ "webPropertyRef": { # JSON template for a web property reference.
+ "kind": "analytics#webPropertyRef", # Analytics web property reference.
+ "name": "A String", # Name of this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "href": "A String", # Link for this web property.
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ },
+ "profileIds": [ # IDs of linked Views (Profiles) represented as strings.
+ "A String",
+ ],
+ "id": "A String", # Entity AdWords link ID
+ "selfLink": "A String", # URL link for this Google Analytics - Google AdWords link.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for Analytics Entity AdWords Link.
+ "kind": "analytics#entityAdWordsLink", # Resource type for entity AdWords link.
+ "name": "A String", # Name of the link. This field is required when creating an AdWords link.
+ "adWordsAccounts": [ # A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.
+ { # JSON template for an AdWords account.
+ "kind": "analytics#adWordsAccount", # Resource type for AdWords account.
+ "customerId": "A String", # Customer ID. This field is required when creating an AdWords link.
+ "autoTaggingEnabled": True or False, # True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.
+ },
+ ],
+ "entity": { # Web property being linked.
+ "webPropertyRef": { # JSON template for a web property reference.
+ "kind": "analytics#webPropertyRef", # Analytics web property reference.
+ "name": "A String", # Name of this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "href": "A String", # Link for this web property.
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ },
+ "profileIds": [ # IDs of linked Views (Profiles) represented as strings.
+ "A String",
+ ],
+ "id": "A String", # Entity AdWords link ID
+ "selfLink": "A String", # URL link for this Google Analytics - Google AdWords link.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/analytics_v3.management.webpropertyUserLinks.html b/docs/dyn/analytics_v3.management.webpropertyUserLinks.html
index 986762c..22e4e8b 100644
--- a/docs/dyn/analytics_v3.management.webpropertyUserLinks.html
+++ b/docs/dyn/analytics_v3.management.webpropertyUserLinks.html
@@ -207,7 +207,7 @@
Args:
accountId: string, Account ID which the given web property belongs to. (required)
- webPropertyId: string, Web Property ID for the webProperty-user links to retrieve. (required)
+ webPropertyId: string, Web Property ID for the webProperty-user links to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to. (required)
max_results: integer, The maximum number of webProperty-user Links to include in this response.
start_index: integer, An index of the first webProperty-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
diff --git a/docs/dyn/analytics_v3.provisioning.html b/docs/dyn/analytics_v3.provisioning.html
new file mode 100644
index 0000000..826fe15
--- /dev/null
+++ b/docs/dyn/analytics_v3.provisioning.html
@@ -0,0 +1,268 @@
+<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.provisioning.html">provisioning</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#createAccountTicket">createAccountTicket(body)</a></code></p>
+<p class="firstline">Creates an account ticket.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="createAccountTicket">createAccountTicket(body)</code>
+ <pre>Creates an account ticket.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.
+ "profile": { # JSON template for an Analytics view (profile). # View (Profile) for the account.
+ "currency": "A String", # The currency type associated with this view (profile). The supported values are:
+ # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR
+ "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
+ "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile).
+ "type": "A String", # View (Profile) type. Supported types: WEB or APP.
+ "updated": "A String", # Time this view (profile) was last modified.
+ "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile).
+ "href": "A String", # Link to the list of goals for this view (profile).
+ "type": "analytics#goals", # Value is "analytics#goals".
+ },
+ "permissions": { # Permissions the user has for this view (profile).
+ "effective": [ # All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent web property.
+ "A String",
+ ],
+ },
+ "defaultPage": "A String", # Default page for this view (profile).
+ "kind": "analytics#profile", # Resource type for Analytics view (profile).
+ "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
+ "name": "A String", # Name of this view (profile).
+ "created": "A String", # Time this view (profile) was created.
+ "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile).
+ "websiteUrl": "A String", # Website URL for this view (profile).
+ "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
+ "href": "A String", # Link to the web property to which this view (profile) belongs.
+ "type": "analytics#webproperty", # Value is "analytics#webproperty".
+ },
+ "selfLink": "A String", # Link for this view (profile).
+ },
+ "account": { # JSON template for Analytics account entry. # Account for this ticket.
+ "kind": "analytics#account", # Resource type for Analytics account.
+ "name": "A String", # Account name.
+ "created": "A String", # Time the account was created.
+ "updated": "A String", # Time the account was last modified.
+ "childLink": { # Child link for an account entry. Points to the list of web properties for this account.
+ "href": "A String", # Link to the list of web properties for this account.
+ "type": "analytics#webproperties", # Type of the child link. Its value is "analytics#webproperties".
+ },
+ "id": "A String", # Account ID.
+ "selfLink": "A String", # Link for this account.
+ "permissions": { # Permissions the user has for this account.
+ "effective": [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
+ "A String",
+ ],
+ },
+ },
+ "webproperty": { # JSON template for an Analytics web property. # Web property for the account.
+ "websiteUrl": "A String", # Website url for this 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.
+ "defaultProfileId": "A String", # Default view (profile) ID.
+ "level": "A String", # Level for this web property. Possible values are STANDARD or PREMIUM.
+ "updated": "A String", # Time this web property was last modified.
+ "profileCount": 42, # View (Profile) count for this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "childLink": { # Child link for this web property. Points to the list of views (profiles) for this web property.
+ "href": "A String", # Link to the list of views (profiles) for this web property.
+ "type": "analytics#profiles", # Type of the parent link. Its value is "analytics#profiles".
+ },
+ "industryVertical": "A String", # The industry vertical/category selected for this web property.
+ "parentLink": { # Parent link for this web property. Points to the account to which this web property belongs.
+ "href": "A String", # Link to the account for this web property.
+ "type": "analytics#account", # Type of the parent link. Its value is "analytics#account".
+ },
+ "permissions": { # Permissions the user has for this web property.
+ "effective": [ # All the permissions that the user has for this web property. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent account.
+ "A String",
+ ],
+ },
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "selfLink": "A String", # Link for this web property.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ "kind": "analytics#accountTicket", # Resource type for account ticket.
+ "redirectUri": "A String", # Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.
+ "id": "A String", # Account ticket ID used to access the account ticket.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.
+ "profile": { # JSON template for an Analytics view (profile). # View (Profile) for the account.
+ "currency": "A String", # The currency type associated with this view (profile). The supported values are:
+ # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR
+ "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
+ "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
+ "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database.
+ "id": "A String", # View (Profile) ID.
+ "accountId": "A String", # Account ID to which this view (profile) belongs.
+ "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
+ "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile).
+ "type": "A String", # View (Profile) type. Supported types: WEB or APP.
+ "updated": "A String", # Time this view (profile) was last modified.
+ "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile).
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs.
+ "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile).
+ "href": "A String", # Link to the list of goals for this view (profile).
+ "type": "analytics#goals", # Value is "analytics#goals".
+ },
+ "permissions": { # Permissions the user has for this view (profile).
+ "effective": [ # All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent web property.
+ "A String",
+ ],
+ },
+ "defaultPage": "A String", # Default page for this view (profile).
+ "kind": "analytics#profile", # Resource type for Analytics view (profile).
+ "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
+ "name": "A String", # Name of this view (profile).
+ "created": "A String", # Time this view (profile) was created.
+ "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile).
+ "websiteUrl": "A String", # Website URL for this view (profile).
+ "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
+ "href": "A String", # Link to the web property to which this view (profile) belongs.
+ "type": "analytics#webproperty", # Value is "analytics#webproperty".
+ },
+ "selfLink": "A String", # Link for this view (profile).
+ },
+ "account": { # JSON template for Analytics account entry. # Account for this ticket.
+ "kind": "analytics#account", # Resource type for Analytics account.
+ "name": "A String", # Account name.
+ "created": "A String", # Time the account was created.
+ "updated": "A String", # Time the account was last modified.
+ "childLink": { # Child link for an account entry. Points to the list of web properties for this account.
+ "href": "A String", # Link to the list of web properties for this account.
+ "type": "analytics#webproperties", # Type of the child link. Its value is "analytics#webproperties".
+ },
+ "id": "A String", # Account ID.
+ "selfLink": "A String", # Link for this account.
+ "permissions": { # Permissions the user has for this account.
+ "effective": [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
+ "A String",
+ ],
+ },
+ },
+ "webproperty": { # JSON template for an Analytics web property. # Web property for the account.
+ "websiteUrl": "A String", # Website url for this 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.
+ "defaultProfileId": "A String", # Default view (profile) ID.
+ "level": "A String", # Level for this web property. Possible values are STANDARD or PREMIUM.
+ "updated": "A String", # Time this web property was last modified.
+ "profileCount": 42, # View (Profile) count for this web property.
+ "internalWebPropertyId": "A String", # Internal ID for this web property.
+ "childLink": { # Child link for this web property. Points to the list of views (profiles) for this web property.
+ "href": "A String", # Link to the list of views (profiles) for this web property.
+ "type": "analytics#profiles", # Type of the parent link. Its value is "analytics#profiles".
+ },
+ "industryVertical": "A String", # The industry vertical/category selected for this web property.
+ "parentLink": { # Parent link for this web property. Points to the account to which this web property belongs.
+ "href": "A String", # Link to the account for this web property.
+ "type": "analytics#account", # Type of the parent link. Its value is "analytics#account".
+ },
+ "permissions": { # Permissions the user has for this web property.
+ "effective": [ # All the permissions that the user has for this web property. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent account.
+ "A String",
+ ],
+ },
+ "id": "A String", # Web property ID of the form UA-XXXXX-YY.
+ "selfLink": "A String", # Link for this web property.
+ "accountId": "A String", # Account ID to which this web property belongs.
+ },
+ "kind": "analytics#accountTicket", # Resource type for account ticket.
+ "redirectUri": "A String", # Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.
+ "id": "A String", # Account ticket ID used to access the account ticket.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.apklistings.html b/docs/dyn/androidpublisher_v2.edits.apklistings.html
new file mode 100644
index 0000000..8ecf7dd
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.apklistings.html
@@ -0,0 +1,215 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.apklistings.html">apklistings</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(packageName, editId, apkVersionCode, language)</a></code></p>
+<p class="firstline">Deletes the APK-specific localized listing for a specified APK and language code.</p>
+<p class="toc_element">
+ <code><a href="#deleteall">deleteall(packageName, editId, apkVersionCode)</a></code></p>
+<p class="firstline">Deletes all the APK-specific localized listings for a specified APK.</p>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, editId, apkVersionCode, language)</a></code></p>
+<p class="firstline">Fetches the APK-specific localized listing for a specified APK and language code.</p>
+<p class="toc_element">
+ <code><a href="#list">list(packageName, editId, apkVersionCode)</a></code></p>
+<p class="firstline">Lists all the APK-specific localized listings for a specified APK.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(packageName, editId, apkVersionCode, language, body)</a></code></p>
+<p class="firstline">Updates or creates the APK-specific localized listing for a specified APK and language code. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(packageName, editId, apkVersionCode, language, body)</a></code></p>
+<p class="firstline">Updates or creates the APK-specific localized listing for a specified APK and language code.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(packageName, editId, apkVersionCode, language)</code>
+ <pre>Deletes the APK-specific localized listing for a specified APK and language code.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The APK version code whose APK-specific listings should be read or modified. (required)
+ language: string, The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass "de-AT". (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="deleteall">deleteall(packageName, editId, apkVersionCode)</code>
+ <pre>Deletes all the APK-specific localized listings for a specified APK.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The APK version code whose APK-specific listings should be read or modified. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(packageName, editId, apkVersionCode, language)</code>
+ <pre>Fetches the APK-specific localized listing for a specified APK and language code.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The APK version code whose APK-specific listings should be read or modified. (required)
+ language: string, The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass "de-AT". (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "recentChanges": "A String", # Describe what's new in your APK.
+ "language": "A String", # The language code, in BCP 47 format (eg "en-US").
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(packageName, editId, apkVersionCode)</code>
+ <pre>Lists all the APK-specific localized listings for a specified APK.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The APK version code whose APK-specific listings should be read or modified. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "androidpublisher#apkListingsListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#apkListingsListResponse".
+ "listings": [
+ {
+ "recentChanges": "A String", # Describe what's new in your APK.
+ "language": "A String", # The language code, in BCP 47 format (eg "en-US").
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(packageName, editId, apkVersionCode, language, body)</code>
+ <pre>Updates or creates the APK-specific localized listing for a specified APK and language code. This method supports patch semantics.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The APK version code whose APK-specific listings should be read or modified. (required)
+ language: string, The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass "de-AT". (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "recentChanges": "A String", # Describe what's new in your APK.
+ "language": "A String", # The language code, in BCP 47 format (eg "en-US").
+}
+
+
+Returns:
+ An object of the form:
+
+ {
+ "recentChanges": "A String", # Describe what's new in your APK.
+ "language": "A String", # The language code, in BCP 47 format (eg "en-US").
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(packageName, editId, apkVersionCode, language, body)</code>
+ <pre>Updates or creates the APK-specific localized listing for a specified APK and language code.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The APK version code whose APK-specific listings should be read or modified. (required)
+ language: string, The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass "de-AT". (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "recentChanges": "A String", # Describe what's new in your APK.
+ "language": "A String", # The language code, in BCP 47 format (eg "en-US").
+}
+
+
+Returns:
+ An object of the form:
+
+ {
+ "recentChanges": "A String", # Describe what's new in your APK.
+ "language": "A String", # The language code, in BCP 47 format (eg "en-US").
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.apks.html b/docs/dyn/androidpublisher_v2.edits.apks.html
new file mode 100644
index 0000000..54bd683
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.apks.html
@@ -0,0 +1,128 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.apks.html">apks</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#list">list(packageName, editId)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#upload">upload(packageName, editId, media_body=None)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="list">list(packageName, editId)</code>
+ <pre>A description of how to use this function
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "apks": [
+ {
+ "versionCode": 42, # The version code of the APK, as specified in the APK's manifest file.
+ "binary": { # Represents the binary payload of an APK. # Information about the binary payload of this APK.
+ "sha1": "A String", # A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command.
+ },
+ },
+ ],
+ "kind": "androidpublisher#apksListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#apksListResponse".
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="upload">upload(packageName, editId, media_body=None)</code>
+ <pre>A description of how to use this function
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ {
+ "versionCode": 42, # The version code of the APK, as specified in the APK's manifest file.
+ "binary": { # Represents the binary payload of an APK. # Information about the binary payload of this APK.
+ "sha1": "A String", # A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command.
+ },
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.details.html b/docs/dyn/androidpublisher_v2.edits.details.html
new file mode 100644
index 0000000..066a107
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.details.html
@@ -0,0 +1,164 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.details.html">details</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, editId)</a></code></p>
+<p class="firstline">Fetches app details for this edit. This includes the default language and developer support contact information.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(packageName, editId, body)</a></code></p>
+<p class="firstline">Updates app details for this edit. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(packageName, editId, body)</a></code></p>
+<p class="firstline">Updates app details for this edit.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(packageName, editId)</code>
+ <pre>Fetches app details for this edit. This includes the default language and developer support contact information.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "contactEmail": "A String", # The user-visible support email for this app.
+ "contactPhone": "A String", # The user-visible support telephone number for this app.
+ "contactWebsite": "A String", # The user-visible website for this app.
+ "defaultLanguage": "A String", # Default language code, in BCP 47 format (eg "en-US").
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(packageName, editId, body)</code>
+ <pre>Updates app details for this edit. This method supports patch semantics.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "contactEmail": "A String", # The user-visible support email for this app.
+ "contactPhone": "A String", # The user-visible support telephone number for this app.
+ "contactWebsite": "A String", # The user-visible website for this app.
+ "defaultLanguage": "A String", # Default language code, in BCP 47 format (eg "en-US").
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "contactEmail": "A String", # The user-visible support email for this app.
+ "contactPhone": "A String", # The user-visible support telephone number for this app.
+ "contactWebsite": "A String", # The user-visible website for this app.
+ "defaultLanguage": "A String", # Default language code, in BCP 47 format (eg "en-US").
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(packageName, editId, body)</code>
+ <pre>Updates app details for this edit.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "contactEmail": "A String", # The user-visible support email for this app.
+ "contactPhone": "A String", # The user-visible support telephone number for this app.
+ "contactWebsite": "A String", # The user-visible website for this app.
+ "defaultLanguage": "A String", # Default language code, in BCP 47 format (eg "en-US").
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "contactEmail": "A String", # The user-visible support email for this app.
+ "contactPhone": "A String", # The user-visible support telephone number for this app.
+ "contactWebsite": "A String", # The user-visible website for this app.
+ "defaultLanguage": "A String", # Default language code, in BCP 47 format (eg "en-US").
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.expansionfiles.html b/docs/dyn/androidpublisher_v2.edits.expansionfiles.html
new file mode 100644
index 0000000..a31ddc9
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.expansionfiles.html
@@ -0,0 +1,197 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.expansionfiles.html">expansionfiles</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, editId, apkVersionCode, expansionFileType)</a></code></p>
+<p class="firstline">Fetches the Expansion File configuration for the APK specified.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(packageName, editId, apkVersionCode, expansionFileType, body)</a></code></p>
+<p class="firstline">Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(packageName, editId, apkVersionCode, expansionFileType, body)</a></code></p>
+<p class="firstline">Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method.</p>
+<p class="toc_element">
+ <code><a href="#upload">upload(packageName, editId, apkVersionCode, expansionFileType, media_body=None)</a></code></p>
+<p class="firstline">Uploads and attaches a new Expansion File to the APK specified.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(packageName, editId, apkVersionCode, expansionFileType)</code>
+ <pre>Fetches the Expansion File configuration for the APK specified.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The version code of the APK whose Expansion File configuration is being read or modified. (required)
+ expansionFileType: string, A parameter (required)
+ Allowed values
+ main -
+ patch -
+
+Returns:
+ An object of the form:
+
+ {
+ "referencesVersion": 42, # If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.
+ "fileSize": "A String", # If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(packageName, editId, apkVersionCode, expansionFileType, body)</code>
+ <pre>Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This method supports patch semantics.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The version code of the APK whose Expansion File configuration is being read or modified. (required)
+ expansionFileType: string, A parameter (required)
+ Allowed values
+ main -
+ patch -
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "referencesVersion": 42, # If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.
+ "fileSize": "A String", # If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "referencesVersion": 42, # If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.
+ "fileSize": "A String", # If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(packageName, editId, apkVersionCode, expansionFileType, body)</code>
+ <pre>Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The version code of the APK whose Expansion File configuration is being read or modified. (required)
+ expansionFileType: string, A parameter (required)
+ Allowed values
+ main -
+ patch -
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "referencesVersion": 42, # If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.
+ "fileSize": "A String", # If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "referencesVersion": 42, # If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.
+ "fileSize": "A String", # If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="upload">upload(packageName, editId, apkVersionCode, expansionFileType, media_body=None)</code>
+ <pre>Uploads and attaches a new Expansion File to the APK specified.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ apkVersionCode: integer, The version code of the APK whose Expansion File configuration is being read or modified. (required)
+ expansionFileType: string, A parameter (required)
+ Allowed values
+ main -
+ patch -
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ {
+ "expansionFile": {
+ "referencesVersion": 42, # If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.
+ "fileSize": "A String", # If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.
+ },
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.html b/docs/dyn/androidpublisher_v2.edits.html
new file mode 100644
index 0000000..b99b297
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.html
@@ -0,0 +1,198 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.apklistings.html">apklistings()</a></code>
+</p>
+<p class="firstline">Returns the apklistings Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.apks.html">apks()</a></code>
+</p>
+<p class="firstline">Returns the apks Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.details.html">details()</a></code>
+</p>
+<p class="firstline">Returns the details Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.expansionfiles.html">expansionfiles()</a></code>
+</p>
+<p class="firstline">Returns the expansionfiles Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.images.html">images()</a></code>
+</p>
+<p class="firstline">Returns the images Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.listings.html">listings()</a></code>
+</p>
+<p class="firstline">Returns the listings Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.testers.html">testers()</a></code>
+</p>
+<p class="firstline">Returns the testers Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.tracks.html">tracks()</a></code>
+</p>
+<p class="firstline">Returns the tracks Resource.</p>
+
+<p class="toc_element">
+ <code><a href="#commit">commit(packageName, editId)</a></code></p>
+<p class="firstline">Commits/applies the changes made in this edit back to the app.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(packageName, editId)</a></code></p>
+<p class="firstline">Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to preemptively abandon an edit.</p>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, editId)</a></code></p>
+<p class="firstline">Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired).</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(packageName, body)</a></code></p>
+<p class="firstline">Creates a new edit for an app, populated with the app's current state.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="commit">commit(packageName, editId)</code>
+ <pre>Commits/applies the changes made in this edit back to the app.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+
+Returns:
+ An object of the form:
+
+ { # Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.
+ "expiryTimeSeconds": "A String", # The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch).
+ "id": "A String", # The ID of the edit that can be used in subsequent API calls.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(packageName, editId)</code>
+ <pre>Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to preemptively abandon an edit.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(packageName, editId)</code>
+ <pre>Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired).
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+
+Returns:
+ An object of the form:
+
+ { # Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.
+ "expiryTimeSeconds": "A String", # The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch).
+ "id": "A String", # The ID of the edit that can be used in subsequent API calls.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(packageName, body)</code>
+ <pre>Creates a new edit for an app, populated with the app's current state.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.
+ "expiryTimeSeconds": "A String", # The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch).
+ "id": "A String", # The ID of the edit that can be used in subsequent API calls.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.
+ "expiryTimeSeconds": "A String", # The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch).
+ "id": "A String", # The ID of the edit that can be used in subsequent API calls.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.images.html b/docs/dyn/androidpublisher_v2.edits.images.html
new file mode 100644
index 0000000..057bea8
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.images.html
@@ -0,0 +1,202 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.images.html">images</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(packageName, editId, language, imageType, imageId)</a></code></p>
+<p class="firstline">Deletes the image (specified by id) from the edit.</p>
+<p class="toc_element">
+ <code><a href="#deleteall">deleteall(packageName, editId, language, imageType)</a></code></p>
+<p class="firstline">Deletes all images for the specified language and image type.</p>
+<p class="toc_element">
+ <code><a href="#list">list(packageName, editId, language, imageType)</a></code></p>
+<p class="firstline">Lists all images for the specified language and image type.</p>
+<p class="toc_element">
+ <code><a href="#upload">upload(packageName, editId, language, imageType, media_body=None)</a></code></p>
+<p class="firstline">Uploads a new image and adds it to the list of images for the specified language and image type.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(packageName, editId, language, imageType, imageId)</code>
+ <pre>Deletes the image (specified by id) from the edit.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ language: string, The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT". (required)
+ imageType: string, A parameter (required)
+ Allowed values
+ featureGraphic -
+ icon -
+ phoneScreenshots -
+ promoGraphic -
+ sevenInchScreenshots -
+ tenInchScreenshots -
+ imageId: string, Unique identifier an image within the set of images attached to this edit. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="deleteall">deleteall(packageName, editId, language, imageType)</code>
+ <pre>Deletes all images for the specified language and image type.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ language: string, The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT". (required)
+ imageType: string, A parameter (required)
+ Allowed values
+ featureGraphic -
+ icon -
+ phoneScreenshots -
+ promoGraphic -
+ sevenInchScreenshots -
+ tenInchScreenshots -
+
+Returns:
+ An object of the form:
+
+ {
+ "deleted": [
+ {
+ "url": "A String", # A URL that will serve a preview of the image.
+ "sha1": "A String", # A sha1 hash of the image that was uploaded.
+ "id": "A String", # A unique id representing this image.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(packageName, editId, language, imageType)</code>
+ <pre>Lists all images for the specified language and image type.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ language: string, The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT". (required)
+ imageType: string, A parameter (required)
+ Allowed values
+ featureGraphic -
+ icon -
+ phoneScreenshots -
+ promoGraphic -
+ sevenInchScreenshots -
+ tenInchScreenshots -
+
+Returns:
+ An object of the form:
+
+ {
+ "images": [
+ {
+ "url": "A String", # A URL that will serve a preview of the image.
+ "sha1": "A String", # A sha1 hash of the image that was uploaded.
+ "id": "A String", # A unique id representing this image.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="upload">upload(packageName, editId, language, imageType, media_body=None)</code>
+ <pre>Uploads a new image and adds it to the list of images for the specified language and image type.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ language: string, The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT". (required)
+ imageType: string, A parameter (required)
+ Allowed values
+ featureGraphic -
+ icon -
+ phoneScreenshots -
+ promoGraphic -
+ sevenInchScreenshots -
+ tenInchScreenshots -
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ {
+ "image": {
+ "url": "A String", # A URL that will serve a preview of the image.
+ "sha1": "A String", # A sha1 hash of the image that was uploaded.
+ "id": "A String", # A unique id representing this image.
+ },
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.listings.html b/docs/dyn/androidpublisher_v2.edits.listings.html
new file mode 100644
index 0000000..5ef4cfa
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.listings.html
@@ -0,0 +1,227 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.listings.html">listings</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(packageName, editId, language)</a></code></p>
+<p class="firstline">Deletes the specified localized store listing from an edit.</p>
+<p class="toc_element">
+ <code><a href="#deleteall">deleteall(packageName, editId)</a></code></p>
+<p class="firstline">Deletes all localized listings from an edit.</p>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, editId, language)</a></code></p>
+<p class="firstline">Fetches information about a localized store listing.</p>
+<p class="toc_element">
+ <code><a href="#list">list(packageName, editId)</a></code></p>
+<p class="firstline">Returns all of the localized store listings attached to this edit.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(packageName, editId, language, body)</a></code></p>
+<p class="firstline">Creates or updates a localized store listing. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(packageName, editId, language, body)</a></code></p>
+<p class="firstline">Creates or updates a localized store listing.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(packageName, editId, language)</code>
+ <pre>Deletes the specified localized store listing from an edit.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ language: string, The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="deleteall">deleteall(packageName, editId)</code>
+ <pre>Deletes all localized listings from an edit.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(packageName, editId, language)</code>
+ <pre>Fetches information about a localized store listing.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ language: string, The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "shortDescription": "A String", # Short description of the app (previously known as promo text); this may be up to 80 characters in length.
+ "video": "A String", # URL of a promotional YouTube video for the app.
+ "fullDescription": "A String", # Full description of the app; this may be up to 4000 characters in length.
+ "language": "A String", # Language localization code (for example, "de-AT" for Austrian German).
+ "title": "A String", # App's localized title.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(packageName, editId)</code>
+ <pre>Returns all of the localized store listings attached to this edit.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "androidpublisher#listingsListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#listingsListResponse".
+ "listings": [
+ {
+ "shortDescription": "A String", # Short description of the app (previously known as promo text); this may be up to 80 characters in length.
+ "video": "A String", # URL of a promotional YouTube video for the app.
+ "fullDescription": "A String", # Full description of the app; this may be up to 4000 characters in length.
+ "language": "A String", # Language localization code (for example, "de-AT" for Austrian German).
+ "title": "A String", # App's localized title.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(packageName, editId, language, body)</code>
+ <pre>Creates or updates a localized store listing. This method supports patch semantics.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ language: string, The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "shortDescription": "A String", # Short description of the app (previously known as promo text); this may be up to 80 characters in length.
+ "video": "A String", # URL of a promotional YouTube video for the app.
+ "fullDescription": "A String", # Full description of the app; this may be up to 4000 characters in length.
+ "language": "A String", # Language localization code (for example, "de-AT" for Austrian German).
+ "title": "A String", # App's localized title.
+}
+
+
+Returns:
+ An object of the form:
+
+ {
+ "shortDescription": "A String", # Short description of the app (previously known as promo text); this may be up to 80 characters in length.
+ "video": "A String", # URL of a promotional YouTube video for the app.
+ "fullDescription": "A String", # Full description of the app; this may be up to 4000 characters in length.
+ "language": "A String", # Language localization code (for example, "de-AT" for Austrian German).
+ "title": "A String", # App's localized title.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(packageName, editId, language, body)</code>
+ <pre>Creates or updates a localized store listing.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ language: string, The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "shortDescription": "A String", # Short description of the app (previously known as promo text); this may be up to 80 characters in length.
+ "video": "A String", # URL of a promotional YouTube video for the app.
+ "fullDescription": "A String", # Full description of the app; this may be up to 4000 characters in length.
+ "language": "A String", # Language localization code (for example, "de-AT" for Austrian German).
+ "title": "A String", # App's localized title.
+}
+
+
+Returns:
+ An object of the form:
+
+ {
+ "shortDescription": "A String", # Short description of the app (previously known as promo text); this may be up to 80 characters in length.
+ "video": "A String", # URL of a promotional YouTube video for the app.
+ "fullDescription": "A String", # Full description of the app; this may be up to 4000 characters in length.
+ "language": "A String", # Language localization code (for example, "de-AT" for Austrian German).
+ "title": "A String", # App's localized title.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.testers.html b/docs/dyn/androidpublisher_v2.edits.testers.html
new file mode 100644
index 0000000..f49d3b3
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.testers.html
@@ -0,0 +1,192 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.testers.html">testers</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, editId, track)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(packageName, editId, track, body)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#update">update(packageName, editId, track, body)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(packageName, editId, track)</code>
+ <pre>A description of how to use this function
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ track: string, A parameter (required)
+ Allowed values
+ alpha -
+ beta -
+ production -
+ rollout -
+
+Returns:
+ An object of the form:
+
+ {
+ "googleGroups": [
+ "A String",
+ ],
+ "googlePlusCommunities": [
+ "A String",
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(packageName, editId, track, body)</code>
+ <pre>A description of how to use this function
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ track: string, A parameter (required)
+ Allowed values
+ alpha -
+ beta -
+ production -
+ rollout -
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "googleGroups": [
+ "A String",
+ ],
+ "googlePlusCommunities": [
+ "A String",
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "googleGroups": [
+ "A String",
+ ],
+ "googlePlusCommunities": [
+ "A String",
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(packageName, editId, track, body)</code>
+ <pre>A description of how to use this function
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ track: string, A parameter (required)
+ Allowed values
+ alpha -
+ beta -
+ production -
+ rollout -
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "googleGroups": [
+ "A String",
+ ],
+ "googlePlusCommunities": [
+ "A String",
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "googleGroups": [
+ "A String",
+ ],
+ "googlePlusCommunities": [
+ "A String",
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.edits.tracks.html b/docs/dyn/androidpublisher_v2.edits.tracks.html
new file mode 100644
index 0000000..2ca5de2
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.edits.tracks.html
@@ -0,0 +1,215 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.tracks.html">tracks</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, editId, track)</a></code></p>
+<p class="firstline">Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track.</p>
+<p class="toc_element">
+ <code><a href="#list">list(packageName, editId)</a></code></p>
+<p class="firstline">Lists all the track configurations for this edit.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(packageName, editId, track, body)</a></code></p>
+<p class="firstline">Updates the track configuration for the specified track type. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(packageName, editId, track, body)</a></code></p>
+<p class="firstline">Updates the track configuration for the specified track type.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(packageName, editId, track)</code>
+ <pre>Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ track: string, The track type to read or modify. (required)
+ Allowed values
+ alpha -
+ beta -
+ production -
+ rollout -
+
+Returns:
+ An object of the form:
+
+ {
+ "track": "A String",
+ "userFraction": 3.14,
+ "versionCodes": [
+ 42,
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(packageName, editId)</code>
+ <pre>Lists all the track configurations for this edit.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "androidpublisher#tracksListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#tracksListResponse".
+ "tracks": [
+ {
+ "track": "A String",
+ "userFraction": 3.14,
+ "versionCodes": [
+ 42,
+ ],
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(packageName, editId, track, body)</code>
+ <pre>Updates the track configuration for the specified track type. This method supports patch semantics.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ track: string, The track type to read or modify. (required)
+ Allowed values
+ alpha -
+ beta -
+ production -
+ rollout -
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "track": "A String",
+ "userFraction": 3.14,
+ "versionCodes": [
+ 42,
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "track": "A String",
+ "userFraction": 3.14,
+ "versionCodes": [
+ 42,
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(packageName, editId, track, body)</code>
+ <pre>Updates the track configuration for the specified track type.
+
+Args:
+ packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required)
+ editId: string, Unique identifier for this edit. (required)
+ track: string, The track type to read or modify. (required)
+ Allowed values
+ alpha -
+ beta -
+ production -
+ rollout -
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "track": "A String",
+ "userFraction": 3.14,
+ "versionCodes": [
+ 42,
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "track": "A String",
+ "userFraction": 3.14,
+ "versionCodes": [
+ 42,
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.html b/docs/dyn/androidpublisher_v2.html
new file mode 100644
index 0000000..6920586
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.html
@@ -0,0 +1,92 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.edits.html">edits()</a></code>
+</p>
+<p class="firstline">Returns the edits Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.inappproducts.html">inappproducts()</a></code>
+</p>
+<p class="firstline">Returns the inappproducts Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.purchases.html">purchases()</a></code>
+</p>
+<p class="firstline">Returns the purchases Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.inappproducts.html b/docs/dyn/androidpublisher_v2.inappproducts.html
new file mode 100644
index 0000000..174f006
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.inappproducts.html
@@ -0,0 +1,543 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.inappproducts.html">inappproducts</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#batch">batch(body)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(packageName, sku)</a></code></p>
+<p class="firstline">Delete an in-app product for an app.</p>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, sku)</a></code></p>
+<p class="firstline">Returns information about the in-app product specified.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(packageName, body, autoConvertMissingPrices=None)</a></code></p>
+<p class="firstline">Creates a new in-app product for an app.</p>
+<p class="toc_element">
+ <code><a href="#list">list(packageName, token=None, maxResults=None, startIndex=None)</a></code></p>
+<p class="firstline">List all the in-app products for an Android app, both subscriptions and managed in-app products..</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(packageName, sku, body, autoConvertMissingPrices=None)</a></code></p>
+<p class="firstline">Updates the details of an in-app product. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(packageName, sku, body, autoConvertMissingPrices=None)</a></code></p>
+<p class="firstline">Updates the details of an in-app product.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="batch">batch(body)</code>
+ <pre>A description of how to use this function
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entrys": [
+ {
+ "batchId": 42,
+ "inappproductsinsertrequest": {
+ "inappproduct": {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ },
+ "methodName": "A String",
+ "inappproductsupdaterequest": {
+ "inappproduct": {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ },
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "entrys": [
+ {
+ "batchId": 42,
+ "inappproductsupdateresponse": {
+ "inappproduct": {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ },
+ "inappproductsinsertresponse": {
+ "inappproduct": {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ },
+ },
+ ],
+ "kind": "androidpublisher#inappproductsBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#inappproductsBatchResponse".
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(packageName, sku)</code>
+ <pre>Delete an in-app product for an app.
+
+Args:
+ packageName: string, Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". (required)
+ sku: string, Unique identifier for the in-app product. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(packageName, sku)</code>
+ <pre>Returns information about the in-app product specified.
+
+Args:
+ packageName: string, A parameter (required)
+ sku: string, Unique identifier for the in-app product. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(packageName, body, autoConvertMissingPrices=None)</code>
+ <pre>Creates a new in-app product for an app.
+
+Args:
+ packageName: string, Unique identifier for the Android app; for example, "com.spiffygame". (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ }
+
+ autoConvertMissingPrices: boolean, If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
+
+Returns:
+ An object of the form:
+
+ {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(packageName, token=None, maxResults=None, startIndex=None)</code>
+ <pre>List all the in-app products for an Android app, both subscriptions and managed in-app products..
+
+Args:
+ packageName: string, Unique identifier for the Android app with in-app products; for example, "com.spiffygame". (required)
+ token: string, A parameter
+ maxResults: integer, A parameter
+ startIndex: integer, A parameter
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "androidpublisher#inappproductsListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#inappproductsListResponse".
+ "tokenPagination": {
+ "nextPageToken": "A String",
+ "previousPageToken": "A String",
+ },
+ "pageInfo": {
+ "totalResults": 42,
+ "startIndex": 42,
+ "resultPerPage": 42,
+ },
+ "inappproduct": [
+ {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(packageName, sku, body, autoConvertMissingPrices=None)</code>
+ <pre>Updates the details of an in-app product. This method supports patch semantics.
+
+Args:
+ packageName: string, Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". (required)
+ sku: string, Unique identifier for the in-app product. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ }
+
+ autoConvertMissingPrices: boolean, If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
+
+Returns:
+ An object of the form:
+
+ {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(packageName, sku, body, autoConvertMissingPrices=None)</code>
+ <pre>Updates the details of an in-app product.
+
+Args:
+ packageName: string, Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". (required)
+ sku: string, Unique identifier for the in-app product. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ }
+
+ autoConvertMissingPrices: boolean, If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
+
+Returns:
+ An object of the form:
+
+ {
+ "sku": "A String", # The stock-keeping-unit (SKU) of the product, unique within an app.
+ "status": "A String",
+ "subscriptionPeriod": "A String", # The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
+ "packageName": "A String", # The package name of the parent app.
+ "listings": { # List of localized title and description data.
+ "a_key": { # The language of the localized data, as defined by BCP 47. i.e.: "en-US", "en-GB".
+ "description": "A String",
+ "title": "A String",
+ },
+ },
+ "trialPeriod": "A String", # Trial duration (if any) of the subscription, defined as ISO 8601. i.e. "P10D" means an initial period of 10 days during which ownership is granted prior to any payment. Acceptable values are between "P7D" and "P999D".
+ "purchaseType": "A String", # Purchase type enum value. Unmodifiable after creation.
+ "defaultLanguage": "A String", # The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
+ "prices": { # Prices per buyer region. None of these prices should be zero. In-app products can never be free.
+ "a_key": { # Region code, as defined by ISO 3166-2.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ },
+ "defaultPrice": { # Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
+ "currency": "A String", # 3 letter Currency code, as defined by ISO 4217.
+ "priceMicros": "A String", # The price in millionths of the currency base unit represented as a string.
+ },
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.purchases.html b/docs/dyn/androidpublisher_v2.purchases.html
new file mode 100644
index 0000000..3d452f6
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.purchases.html
@@ -0,0 +1,87 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.purchases.html">purchases</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.purchases.products.html">products()</a></code>
+</p>
+<p class="firstline">Returns the products Resource.</p>
+
+<p class="toc_element">
+ <code><a href="androidpublisher_v2.purchases.subscriptions.html">subscriptions()</a></code>
+</p>
+<p class="firstline">Returns the subscriptions Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.purchases.products.html b/docs/dyn/androidpublisher_v2.purchases.products.html
new file mode 100644
index 0000000..214dc47
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.purchases.products.html
@@ -0,0 +1,106 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.purchases.html">purchases</a> . <a href="androidpublisher_v2.purchases.products.html">products</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, productId, token)</a></code></p>
+<p class="firstline">Checks the purchase and consumption status of an inapp item.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(packageName, productId, token)</code>
+ <pre>Checks the purchase and consumption status of an inapp item.
+
+Args:
+ packageName: string, The package name of the application the inapp product was sold in (for example, 'com.some.thing'). (required)
+ productId: string, The inapp product SKU (for example, 'com.some.thing.inapp1'). (required)
+ token: string, The token provided to the user's device when the inapp product was purchased. (required)
+
+Returns:
+ An object of the form:
+
+ { # A ProductPurchase resource indicates the status of a user's inapp product purchase.
+ "consumptionState": 42, # The consumption state of the inapp product. Possible values are:
+ # - Yet to be consumed
+ # - Consumed
+ "developerPayload": "A String", # A developer-specified string that contains supplemental information about an order.
+ "kind": "androidpublisher#productPurchase", # This kind represents an inappPurchase object in the androidpublisher service.
+ "purchaseTimeMillis": "A String", # The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
+ "purchaseState": 42, # The purchase state of the order. Possible values are:
+ # - Purchased
+ # - Cancelled
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/androidpublisher_v2.purchases.subscriptions.html b/docs/dyn/androidpublisher_v2.purchases.subscriptions.html
new file mode 100644
index 0000000..80700cb
--- /dev/null
+++ b/docs/dyn/androidpublisher_v2.purchases.subscriptions.html
@@ -0,0 +1,115 @@
+<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="androidpublisher_v2.html">Google Play Android Developer API</a> . <a href="androidpublisher_v2.purchases.html">purchases</a> . <a href="androidpublisher_v2.purchases.subscriptions.html">subscriptions</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#cancel">cancel(packageName, subscriptionId, token)</a></code></p>
+<p class="firstline">Cancels a user's subscription purchase. The subscription remains valid until its expiration time.</p>
+<p class="toc_element">
+ <code><a href="#get">get(packageName, subscriptionId, token)</a></code></p>
+<p class="firstline">Checks whether a user's subscription purchase is valid and returns its expiry time.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="cancel">cancel(packageName, subscriptionId, token)</code>
+ <pre>Cancels a user's subscription purchase. The subscription remains valid until its expiration time.
+
+Args:
+ packageName: string, The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). (required)
+ subscriptionId: string, The purchased subscription ID (for example, 'monthly001'). (required)
+ token: string, The token provided to the user's device when the subscription was purchased. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(packageName, subscriptionId, token)</code>
+ <pre>Checks whether a user's subscription purchase is valid and returns its expiry time.
+
+Args:
+ packageName: string, The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). (required)
+ subscriptionId: string, The purchased subscription ID (for example, 'monthly001'). (required)
+ token: string, The token provided to the user's device when the subscription was purchased. (required)
+
+Returns:
+ An object of the form:
+
+ { # A SubscriptionPurchase resource indicates the status of a user's subscription purchase.
+ "expiryTimeMillis": "A String", # Time at which the subscription will expire, in milliseconds since Epoch.
+ "kind": "androidpublisher#subscriptionPurchase", # This kind represents a subscriptionPurchase object in the androidpublisher service.
+ "autoRenewing": True or False, # Whether the subscription will automatically be renewed when it reaches its current expiry time.
+ "startTimeMillis": "A String", # Time at which the subscription was granted, in milliseconds since Epoch.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/appsactivity_v1.activities.html b/docs/dyn/appsactivity_v1.activities.html
new file mode 100644
index 0000000..e3f3f54
--- /dev/null
+++ b/docs/dyn/appsactivity_v1.activities.html
@@ -0,0 +1,275 @@
+<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="appsactivity_v1.html">Google Apps Activity API</a> . <a href="appsactivity_v1.activities.html">activities</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#list">list(pageSize=None, source=None, groupingStrategy=None, userId=None, drive_ancestorId=None, pageToken=None, drive_fileId=None)</a></code></p>
+<p class="firstline">Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="list">list(pageSize=None, source=None, groupingStrategy=None, userId=None, drive_ancestorId=None, pageToken=None, drive_fileId=None)</code>
+ <pre>Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter.
+
+Args:
+ pageSize: integer, The maximum number of events to return on a page. The response includes a continuation token if there are more events.
+ source: string, The Google service from which to return activities. Possible values of source are:
+- drive.google.com
+ groupingStrategy: string, Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object.
+ Allowed values
+ driveUi -
+ none -
+ userId: string, Indicates the user to return activity for. Use the special value me to indicate the currently authenticated user.
+ drive_ancestorId: string, Identifies the Drive folder containing the items for which to return activities.
+ pageToken: string, A token to retrieve a specific page of results.
+ drive_fileId: string, Identifies the Drive item to return activities for.
+
+Returns:
+ An object of the form:
+
+ { # The response from the list request. Contains a list of activities and a token to retrieve the next page of results.
+ "nextPageToken": "A String", # Token for the next page of results.
+ "activities": [ # List of activities.
+ { # An Activity resource is a combined view of multiple events. An activity has a list of individual events and a combined view of the common fields among all events.
+ "combinedEvent": { # Represents the changes associated with an action taken by a user. # The fields common to all of the singleEvents that make up the Activity.
+ "rename": { # Contains information about a renametype event. # Extra information for rename type events, such as the old and new names.
+ "newTitle": "A String", # The new title.
+ "oldTitle": "A String", # The old title.
+ },
+ "target": { # Information about the object modified by the event. # Information specific to the Target object modified by the event.
+ "mimeType": "A String", # The MIME type of the target.
+ "id": "A String", # The ID of the target. For example, in Google Drive, this is the file or folder ID.
+ "name": "A String", # The name of the target. For example, in Google Drive, this is the title of the file.
+ },
+ "additionalEventTypes": [ # Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, renaming it, and sharing it may be part of a single file-creation event.
+ "A String",
+ ],
+ "move": { # Contains information about changes in an object's parents as a result of a move type event. # Extra information for move type events, such as changes in an object's parents.
+ "removedParents": [ # The removed parent(s).
+ { # Contains information about a parent object. For example, a folder in Drive is a parent for all files within it.
+ "id": "A String", # The parent's ID.
+ "isRoot": True or False, # Whether this is the root folder.
+ "title": "A String", # The parent's title.
+ },
+ ],
+ "addedParents": [ # The added parent(s).
+ { # Contains information about a parent object. For example, a folder in Drive is a parent for all files within it.
+ "id": "A String", # The parent's ID.
+ "isRoot": True or False, # Whether this is the root folder.
+ "title": "A String", # The parent's title.
+ },
+ ],
+ },
+ "permissionChanges": [ # Extra information for permissionChange type events, such as the user or group the new permission applies to.
+ { # Contains information about a Drive object's permissions that changed as a result of a permissionChange type event.
+ "removedPermissions": [ # Lists all Permission objects removed.
+ { # Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.
+ "withLink": True or False, # Whether the permission requires a link to the file.
+ "permissionId": "A String", # The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource.
+ "name": "A String", # The name of the user or group the permission applies to.
+ "role": "A String", # Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.
+ "user": { # A representation of a user. # The user's information if the type is USER.
+ "photo": { # Photo information for a user. # The profile photo of the user.
+ "url": "A String", # The URL of the photo.
+ },
+ "name": "A String", # The displayable name of the user.
+ },
+ "type": "A String", # Indicates how widely permissions are granted.
+ },
+ ],
+ "addedPermissions": [ # Lists all Permission objects added.
+ { # Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.
+ "withLink": True or False, # Whether the permission requires a link to the file.
+ "permissionId": "A String", # The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource.
+ "name": "A String", # The name of the user or group the permission applies to.
+ "role": "A String", # Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.
+ "user": { # A representation of a user. # The user's information if the type is USER.
+ "photo": { # Photo information for a user. # The profile photo of the user.
+ "url": "A String", # The URL of the photo.
+ },
+ "name": "A String", # The displayable name of the user.
+ },
+ "type": "A String", # Indicates how widely permissions are granted.
+ },
+ ],
+ },
+ ],
+ "user": { # A representation of a user. # Represents the user responsible for the event.
+ "photo": { # Photo information for a user. # The profile photo of the user.
+ "url": "A String", # The URL of the photo.
+ },
+ "name": "A String", # The displayable name of the user.
+ },
+ "eventTimeMillis": "A String", # The time at which the event occurred formatted as Unix time in milliseconds.
+ "primaryEventType": "A String", # The main type of event that occurred.
+ "fromUserDeletion": True or False, # Whether this event is caused by a user being deleted.
+ },
+ "singleEvents": [ # A list of all the Events that make up the Activity.
+ { # Represents the changes associated with an action taken by a user.
+ "rename": { # Contains information about a renametype event. # Extra information for rename type events, such as the old and new names.
+ "newTitle": "A String", # The new title.
+ "oldTitle": "A String", # The old title.
+ },
+ "target": { # Information about the object modified by the event. # Information specific to the Target object modified by the event.
+ "mimeType": "A String", # The MIME type of the target.
+ "id": "A String", # The ID of the target. For example, in Google Drive, this is the file or folder ID.
+ "name": "A String", # The name of the target. For example, in Google Drive, this is the title of the file.
+ },
+ "additionalEventTypes": [ # Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, renaming it, and sharing it may be part of a single file-creation event.
+ "A String",
+ ],
+ "move": { # Contains information about changes in an object's parents as a result of a move type event. # Extra information for move type events, such as changes in an object's parents.
+ "removedParents": [ # The removed parent(s).
+ { # Contains information about a parent object. For example, a folder in Drive is a parent for all files within it.
+ "id": "A String", # The parent's ID.
+ "isRoot": True or False, # Whether this is the root folder.
+ "title": "A String", # The parent's title.
+ },
+ ],
+ "addedParents": [ # The added parent(s).
+ { # Contains information about a parent object. For example, a folder in Drive is a parent for all files within it.
+ "id": "A String", # The parent's ID.
+ "isRoot": True or False, # Whether this is the root folder.
+ "title": "A String", # The parent's title.
+ },
+ ],
+ },
+ "permissionChanges": [ # Extra information for permissionChange type events, such as the user or group the new permission applies to.
+ { # Contains information about a Drive object's permissions that changed as a result of a permissionChange type event.
+ "removedPermissions": [ # Lists all Permission objects removed.
+ { # Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.
+ "withLink": True or False, # Whether the permission requires a link to the file.
+ "permissionId": "A String", # The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource.
+ "name": "A String", # The name of the user or group the permission applies to.
+ "role": "A String", # Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.
+ "user": { # A representation of a user. # The user's information if the type is USER.
+ "photo": { # Photo information for a user. # The profile photo of the user.
+ "url": "A String", # The URL of the photo.
+ },
+ "name": "A String", # The displayable name of the user.
+ },
+ "type": "A String", # Indicates how widely permissions are granted.
+ },
+ ],
+ "addedPermissions": [ # Lists all Permission objects added.
+ { # Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.
+ "withLink": True or False, # Whether the permission requires a link to the file.
+ "permissionId": "A String", # The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource.
+ "name": "A String", # The name of the user or group the permission applies to.
+ "role": "A String", # Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.
+ "user": { # A representation of a user. # The user's information if the type is USER.
+ "photo": { # Photo information for a user. # The profile photo of the user.
+ "url": "A String", # The URL of the photo.
+ },
+ "name": "A String", # The displayable name of the user.
+ },
+ "type": "A String", # Indicates how widely permissions are granted.
+ },
+ ],
+ },
+ ],
+ "user": { # A representation of a user. # Represents the user responsible for the event.
+ "photo": { # Photo information for a user. # The profile photo of the user.
+ "url": "A String", # The URL of the photo.
+ },
+ "name": "A String", # The displayable name of the user.
+ },
+ "eventTimeMillis": "A String", # The time at which the event occurred formatted as Unix time in milliseconds.
+ "primaryEventType": "A String", # The main type of event that occurred.
+ "fromUserDeletion": True or False, # Whether this event is caused by a user being deleted.
+ },
+ ],
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/appsactivity_v1.html b/docs/dyn/appsactivity_v1.html
new file mode 100644
index 0000000..1c1bd8f
--- /dev/null
+++ b/docs/dyn/appsactivity_v1.html
@@ -0,0 +1,82 @@
+<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="appsactivity_v1.html">Google Apps Activity API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="appsactivity_v1.activities.html">activities()</a></code>
+</p>
+<p class="firstline">Returns the activities Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/autoscaler_v1beta2.autoscalers.html b/docs/dyn/autoscaler_v1beta2.autoscalers.html
new file mode 100644
index 0000000..216880d
--- /dev/null
+++ b/docs/dyn/autoscaler_v1beta2.autoscalers.html
@@ -0,0 +1,512 @@
+<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="autoscaler_v1beta2.html">Google Compute Engine Autoscaler API</a> . <a href="autoscaler_v1beta2.autoscalers.html">autoscalers</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(project, zone, autoscaler)</a></code></p>
+<p class="firstline">Deletes the specified Autoscaler resource.</p>
+<p class="toc_element">
+ <code><a href="#get">get(project, zone, autoscaler)</a></code></p>
+<p class="firstline">Gets the specified Autoscaler resource.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(project, zone, body)</a></code></p>
+<p class="firstline">Adds new Autoscaler resource.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, zone, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Lists all Autoscaler resources in this zone.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(project, zone, autoscaler, body)</a></code></p>
+<p class="firstline">Update the entire content of the Autoscaler resource. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(project, zone, autoscaler, body)</a></code></p>
+<p class="firstline">Update the entire content of the Autoscaler resource.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(project, zone, autoscaler)</code>
+ <pre>Deletes the specified Autoscaler resource.
+
+Args:
+ project: string, Project ID of Autoscaler resource. (required)
+ zone: string, Zone name of Autoscaler resource. (required)
+ autoscaler: string, Name of the Autoscaler resource. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "targetId": "A String",
+ "clientOperationId": "A String",
+ "creationTimestamp": "A String",
+ "id": "A String",
+ "zone": "A String",
+ "operationType": "A String",
+ "httpErrorMessage": "A String",
+ "progress": 42,
+ "httpErrorStatusCode": 42,
+ "statusMessage": "A String",
+ "status": "A String",
+ "insertTime": "A String",
+ "warnings": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "data": [
+ {
+ "value": "A String",
+ "key": "A String",
+ },
+ ],
+ },
+ ],
+ "user": "A String",
+ "startTime": "A String",
+ "kind": "autoscaler#operation", # Type of the resource.
+ "name": "A String",
+ "region": "A String",
+ "error": {
+ "errors": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "location": "A String",
+ },
+ ],
+ },
+ "endTime": "A String",
+ "selfLink": "A String",
+ "targetLink": "A String",
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(project, zone, autoscaler)</code>
+ <pre>Gets the specified Autoscaler resource.
+
+Args:
+ project: string, Project ID of Autoscaler resource. (required)
+ zone: string, Zone name of Autoscaler resource. (required)
+ autoscaler: string, Name of the Autoscaler resource. (required)
+
+Returns:
+ An object of the form:
+
+ { # Cloud Autoscaler resource.
+ "description": "A String", # An optional textual description of the resource provided by the client.
+ "autoscalingPolicy": { # Cloud Autoscaler policy. # Configuration parameters for autoscaling algorithm.
+ "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to.
+ "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+ "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+ "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+ },
+ "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+ { # Custom utilization metric policy.
+ "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+ "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+ },
+ ],
+ "cpuUtilization": { # CPU utilization policy. # Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+ "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+ },
+ "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to.
+ },
+ "target": "A String", # URL to the entity which will be autoscaled. Currently the only supported value is ReplicaPool?s URL. Note: it is illegal to specify multiple Autoscalers for the same target.
+ "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+ "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+ "selfLink": "A String", # [Output Only] A self-link to the Autoscaler configuration resource.
+ "name": "A String", # Name of the Autoscaler resource. Must be unique per project and zone.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(project, zone, body)</code>
+ <pre>Adds new Autoscaler resource.
+
+Args:
+ project: string, Project ID of Autoscaler resource. (required)
+ zone: string, Zone name of Autoscaler resource. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Cloud Autoscaler resource.
+ "description": "A String", # An optional textual description of the resource provided by the client.
+ "autoscalingPolicy": { # Cloud Autoscaler policy. # Configuration parameters for autoscaling algorithm.
+ "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to.
+ "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+ "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+ "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+ },
+ "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+ { # Custom utilization metric policy.
+ "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+ "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+ },
+ ],
+ "cpuUtilization": { # CPU utilization policy. # Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+ "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+ },
+ "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to.
+ },
+ "target": "A String", # URL to the entity which will be autoscaled. Currently the only supported value is ReplicaPool?s URL. Note: it is illegal to specify multiple Autoscalers for the same target.
+ "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+ "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+ "selfLink": "A String", # [Output Only] A self-link to the Autoscaler configuration resource.
+ "name": "A String", # Name of the Autoscaler resource. Must be unique per project and zone.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "targetId": "A String",
+ "clientOperationId": "A String",
+ "creationTimestamp": "A String",
+ "id": "A String",
+ "zone": "A String",
+ "operationType": "A String",
+ "httpErrorMessage": "A String",
+ "progress": 42,
+ "httpErrorStatusCode": 42,
+ "statusMessage": "A String",
+ "status": "A String",
+ "insertTime": "A String",
+ "warnings": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "data": [
+ {
+ "value": "A String",
+ "key": "A String",
+ },
+ ],
+ },
+ ],
+ "user": "A String",
+ "startTime": "A String",
+ "kind": "autoscaler#operation", # Type of the resource.
+ "name": "A String",
+ "region": "A String",
+ "error": {
+ "errors": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "location": "A String",
+ },
+ ],
+ },
+ "endTime": "A String",
+ "selfLink": "A String",
+ "targetLink": "A String",
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, zone, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Lists all Autoscaler resources in this zone.
+
+Args:
+ project: string, Project ID of Autoscaler resource. (required)
+ zone: string, Zone name of Autoscaler resource. (required)
+ maxResults: integer, A parameter
+ pageToken: string, A parameter
+ filter: string, A parameter
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String", # [Output only] A token used to continue a truncated list request.
+ "items": [ # Autoscaler resources.
+ { # Cloud Autoscaler resource.
+ "description": "A String", # An optional textual description of the resource provided by the client.
+ "autoscalingPolicy": { # Cloud Autoscaler policy. # Configuration parameters for autoscaling algorithm.
+ "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to.
+ "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+ "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+ "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+ },
+ "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+ { # Custom utilization metric policy.
+ "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+ "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+ },
+ ],
+ "cpuUtilization": { # CPU utilization policy. # Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+ "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+ },
+ "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to.
+ },
+ "target": "A String", # URL to the entity which will be autoscaled. Currently the only supported value is ReplicaPool?s URL. Note: it is illegal to specify multiple Autoscalers for the same target.
+ "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+ "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+ "selfLink": "A String", # [Output Only] A self-link to the Autoscaler configuration resource.
+ "name": "A String", # Name of the Autoscaler resource. Must be unique per project and zone.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(project, zone, autoscaler, body)</code>
+ <pre>Update the entire content of the Autoscaler resource. This method supports patch semantics.
+
+Args:
+ project: string, Project ID of Autoscaler resource. (required)
+ zone: string, Zone name of Autoscaler resource. (required)
+ autoscaler: string, Name of the Autoscaler resource. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Cloud Autoscaler resource.
+ "description": "A String", # An optional textual description of the resource provided by the client.
+ "autoscalingPolicy": { # Cloud Autoscaler policy. # Configuration parameters for autoscaling algorithm.
+ "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to.
+ "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+ "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+ "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+ },
+ "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+ { # Custom utilization metric policy.
+ "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+ "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+ },
+ ],
+ "cpuUtilization": { # CPU utilization policy. # Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+ "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+ },
+ "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to.
+ },
+ "target": "A String", # URL to the entity which will be autoscaled. Currently the only supported value is ReplicaPool?s URL. Note: it is illegal to specify multiple Autoscalers for the same target.
+ "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+ "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+ "selfLink": "A String", # [Output Only] A self-link to the Autoscaler configuration resource.
+ "name": "A String", # Name of the Autoscaler resource. Must be unique per project and zone.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "targetId": "A String",
+ "clientOperationId": "A String",
+ "creationTimestamp": "A String",
+ "id": "A String",
+ "zone": "A String",
+ "operationType": "A String",
+ "httpErrorMessage": "A String",
+ "progress": 42,
+ "httpErrorStatusCode": 42,
+ "statusMessage": "A String",
+ "status": "A String",
+ "insertTime": "A String",
+ "warnings": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "data": [
+ {
+ "value": "A String",
+ "key": "A String",
+ },
+ ],
+ },
+ ],
+ "user": "A String",
+ "startTime": "A String",
+ "kind": "autoscaler#operation", # Type of the resource.
+ "name": "A String",
+ "region": "A String",
+ "error": {
+ "errors": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "location": "A String",
+ },
+ ],
+ },
+ "endTime": "A String",
+ "selfLink": "A String",
+ "targetLink": "A String",
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(project, zone, autoscaler, body)</code>
+ <pre>Update the entire content of the Autoscaler resource.
+
+Args:
+ project: string, Project ID of Autoscaler resource. (required)
+ zone: string, Zone name of Autoscaler resource. (required)
+ autoscaler: string, Name of the Autoscaler resource. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Cloud Autoscaler resource.
+ "description": "A String", # An optional textual description of the resource provided by the client.
+ "autoscalingPolicy": { # Cloud Autoscaler policy. # Configuration parameters for autoscaling algorithm.
+ "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to.
+ "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+ "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+ "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+ },
+ "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+ { # Custom utilization metric policy.
+ "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+ "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+ },
+ ],
+ "cpuUtilization": { # CPU utilization policy. # Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+ "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+ },
+ "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to.
+ },
+ "target": "A String", # URL to the entity which will be autoscaled. Currently the only supported value is ReplicaPool?s URL. Note: it is illegal to specify multiple Autoscalers for the same target.
+ "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+ "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+ "selfLink": "A String", # [Output Only] A self-link to the Autoscaler configuration resource.
+ "name": "A String", # Name of the Autoscaler resource. Must be unique per project and zone.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "targetId": "A String",
+ "clientOperationId": "A String",
+ "creationTimestamp": "A String",
+ "id": "A String",
+ "zone": "A String",
+ "operationType": "A String",
+ "httpErrorMessage": "A String",
+ "progress": 42,
+ "httpErrorStatusCode": 42,
+ "statusMessage": "A String",
+ "status": "A String",
+ "insertTime": "A String",
+ "warnings": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "data": [
+ {
+ "value": "A String",
+ "key": "A String",
+ },
+ ],
+ },
+ ],
+ "user": "A String",
+ "startTime": "A String",
+ "kind": "autoscaler#operation", # Type of the resource.
+ "name": "A String",
+ "region": "A String",
+ "error": {
+ "errors": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "location": "A String",
+ },
+ ],
+ },
+ "endTime": "A String",
+ "selfLink": "A String",
+ "targetLink": "A String",
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/autoscaler_v1beta2.html b/docs/dyn/autoscaler_v1beta2.html
new file mode 100644
index 0000000..9e739b3
--- /dev/null
+++ b/docs/dyn/autoscaler_v1beta2.html
@@ -0,0 +1,87 @@
+<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="autoscaler_v1beta2.html">Google Compute Engine Autoscaler API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="autoscaler_v1beta2.autoscalers.html">autoscalers()</a></code>
+</p>
+<p class="firstline">Returns the autoscalers Resource.</p>
+
+<p class="toc_element">
+ <code><a href="autoscaler_v1beta2.zoneOperations.html">zoneOperations()</a></code>
+</p>
+<p class="firstline">Returns the zoneOperations Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/autoscaler_v1beta2.zoneOperations.html b/docs/dyn/autoscaler_v1beta2.zoneOperations.html
new file mode 100644
index 0000000..892cc3b
--- /dev/null
+++ b/docs/dyn/autoscaler_v1beta2.zoneOperations.html
@@ -0,0 +1,239 @@
+<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="autoscaler_v1beta2.html">Google Compute Engine Autoscaler API</a> . <a href="autoscaler_v1beta2.zoneOperations.html">zoneOperations</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(project, zone, operation)</a></code></p>
+<p class="firstline">Deletes the specified zone-specific operation resource.</p>
+<p class="toc_element">
+ <code><a href="#get">get(project, zone, operation)</a></code></p>
+<p class="firstline">Retrieves the specified zone-specific operation resource.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, zone, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Retrieves the list of operation resources contained within the specified zone.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(project, zone, operation)</code>
+ <pre>Deletes the specified zone-specific operation resource.
+
+Args:
+ project: string, A parameter (required)
+ zone: string, A parameter (required)
+ operation: string, A parameter (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(project, zone, operation)</code>
+ <pre>Retrieves the specified zone-specific operation resource.
+
+Args:
+ project: string, A parameter (required)
+ zone: string, A parameter (required)
+ operation: string, A parameter (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "targetId": "A String",
+ "clientOperationId": "A String",
+ "creationTimestamp": "A String",
+ "id": "A String",
+ "zone": "A String",
+ "operationType": "A String",
+ "httpErrorMessage": "A String",
+ "progress": 42,
+ "httpErrorStatusCode": 42,
+ "statusMessage": "A String",
+ "status": "A String",
+ "insertTime": "A String",
+ "warnings": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "data": [
+ {
+ "value": "A String",
+ "key": "A String",
+ },
+ ],
+ },
+ ],
+ "user": "A String",
+ "startTime": "A String",
+ "kind": "autoscaler#operation", # Type of the resource.
+ "name": "A String",
+ "region": "A String",
+ "error": {
+ "errors": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "location": "A String",
+ },
+ ],
+ },
+ "endTime": "A String",
+ "selfLink": "A String",
+ "targetLink": "A String",
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, zone, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Retrieves the list of operation resources contained within the specified zone.
+
+Args:
+ project: string, A parameter (required)
+ zone: string, A parameter (required)
+ maxResults: integer, A parameter
+ pageToken: string, A parameter
+ filter: string, A parameter
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "items": [
+ {
+ "targetId": "A String",
+ "clientOperationId": "A String",
+ "creationTimestamp": "A String",
+ "id": "A String",
+ "zone": "A String",
+ "operationType": "A String",
+ "httpErrorMessage": "A String",
+ "progress": 42,
+ "httpErrorStatusCode": 42,
+ "statusMessage": "A String",
+ "status": "A String",
+ "insertTime": "A String",
+ "warnings": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "data": [
+ {
+ "value": "A String",
+ "key": "A String",
+ },
+ ],
+ },
+ ],
+ "user": "A String",
+ "startTime": "A String",
+ "kind": "autoscaler#operation", # Type of the resource.
+ "name": "A String",
+ "region": "A String",
+ "error": {
+ "errors": [
+ {
+ "message": "A String",
+ "code": "A String",
+ "location": "A String",
+ },
+ ],
+ },
+ "endTime": "A String",
+ "selfLink": "A String",
+ "targetLink": "A String",
+ },
+ ],
+ "kind": "autoscaler#operationList", # Type of resource.
+ "id": "A String",
+ "selfLink": "A String",
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/bigquery_v2.jobs.html b/docs/dyn/bigquery_v2.jobs.html
index c6109f4..562a7e0 100644
--- a/docs/dyn/bigquery_v2.jobs.html
+++ b/docs/dyn/bigquery_v2.jobs.html
@@ -195,6 +195,7 @@
],
},
"query": { # [Pick one] Configures a query job.
+ "flattenResults": True or False, # [Experimental] Flattens all nested and repeated fields in the query results. The default value is true. allowLargeResults must be true if this is set to false.
"useQueryCache": True or False, # [Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified.
"defaultDataset": { # [Optional] Specifies the default dataset to use for unqualified table names in the query.
"projectId": "A String", # [Optional] The ID of the container project.
@@ -207,20 +208,27 @@
},
"priority": "A String", # [Optional] Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.
"writeDisposition": "A String", # [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
- "allowLargeResults": True or False, # If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destination_table to be set.
+ "allowLargeResults": True or False, # If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set.
"createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
"query": "A String", # [Required] BigQuery SQL query to execute.
"preserveNulls": True or False, # [Deprecated] This property is deprecated.
},
"copy": { # [Pick one] Copies a table.
"createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
+ "sourceTables": [ # [Pick one] Source tables to copy.
+ {
+ "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.
+ },
+ ],
"writeDisposition": "A String", # [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
"destinationTable": { # [Required] The destination table
"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.
},
- "sourceTable": { # [Required] Source table to copy.
+ "sourceTable": { # [Pick one] Source table to copy.
"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.
@@ -228,8 +236,9 @@
},
"extract": { # [Pick one] Configures an extract job.
"destinationUri": "A String", # [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.
+ "compression": "A String", # [Optional] The compression type to use for exported files. Possible values include GZIP and NONE. The default value is NONE.
"fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the exported data. Default is ','
- "destinationFormat": "A String", # [Experimental] Optional and defaults to CSV. Format with which files should be exported. To export to CSV, specify "CSV". Tables with nested or repeated fields cannot be exported as CSV. To export to newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON".
+ "destinationFormat": "A String", # [Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with nested or repeated fields cannot be exported as CSV.
"printHeader": True or False, # [Optional] Whether to print out a header row in the results. Default is true.
"destinationUris": [ # [Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
"A String",
@@ -397,6 +406,7 @@
],
},
"query": { # [Pick one] Configures a query job.
+ "flattenResults": True or False, # [Experimental] Flattens all nested and repeated fields in the query results. The default value is true. allowLargeResults must be true if this is set to false.
"useQueryCache": True or False, # [Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified.
"defaultDataset": { # [Optional] Specifies the default dataset to use for unqualified table names in the query.
"projectId": "A String", # [Optional] The ID of the container project.
@@ -409,20 +419,27 @@
},
"priority": "A String", # [Optional] Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.
"writeDisposition": "A String", # [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
- "allowLargeResults": True or False, # If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destination_table to be set.
+ "allowLargeResults": True or False, # If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set.
"createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
"query": "A String", # [Required] BigQuery SQL query to execute.
"preserveNulls": True or False, # [Deprecated] This property is deprecated.
},
"copy": { # [Pick one] Copies a table.
"createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
+ "sourceTables": [ # [Pick one] Source tables to copy.
+ {
+ "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.
+ },
+ ],
"writeDisposition": "A String", # [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
"destinationTable": { # [Required] The destination table
"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.
},
- "sourceTable": { # [Required] Source table to copy.
+ "sourceTable": { # [Pick one] Source table to copy.
"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.
@@ -430,8 +447,9 @@
},
"extract": { # [Pick one] Configures an extract job.
"destinationUri": "A String", # [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.
+ "compression": "A String", # [Optional] The compression type to use for exported files. Possible values include GZIP and NONE. The default value is NONE.
"fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the exported data. Default is ','
- "destinationFormat": "A String", # [Experimental] Optional and defaults to CSV. Format with which files should be exported. To export to CSV, specify "CSV". Tables with nested or repeated fields cannot be exported as CSV. To export to newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON".
+ "destinationFormat": "A String", # [Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with nested or repeated fields cannot be exported as CSV.
"printHeader": True or False, # [Optional] Whether to print out a header row in the results. Default is true.
"destinationUris": [ # [Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
"A String",
@@ -543,6 +561,7 @@
],
},
"query": { # [Pick one] Configures a query job.
+ "flattenResults": True or False, # [Experimental] Flattens all nested and repeated fields in the query results. The default value is true. allowLargeResults must be true if this is set to false.
"useQueryCache": True or False, # [Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified.
"defaultDataset": { # [Optional] Specifies the default dataset to use for unqualified table names in the query.
"projectId": "A String", # [Optional] The ID of the container project.
@@ -555,20 +574,27 @@
},
"priority": "A String", # [Optional] Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.
"writeDisposition": "A String", # [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
- "allowLargeResults": True or False, # If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destination_table to be set.
+ "allowLargeResults": True or False, # If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set.
"createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
"query": "A String", # [Required] BigQuery SQL query to execute.
"preserveNulls": True or False, # [Deprecated] This property is deprecated.
},
"copy": { # [Pick one] Copies a table.
"createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
+ "sourceTables": [ # [Pick one] Source tables to copy.
+ {
+ "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.
+ },
+ ],
"writeDisposition": "A String", # [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
"destinationTable": { # [Required] The destination table
"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.
},
- "sourceTable": { # [Required] Source table to copy.
+ "sourceTable": { # [Pick one] Source table to copy.
"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.
@@ -576,8 +602,9 @@
},
"extract": { # [Pick one] Configures an extract job.
"destinationUri": "A String", # [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.
+ "compression": "A String", # [Optional] The compression type to use for exported files. Possible values include GZIP and NONE. The default value is NONE.
"fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the exported data. Default is ','
- "destinationFormat": "A String", # [Experimental] Optional and defaults to CSV. Format with which files should be exported. To export to CSV, specify "CSV". Tables with nested or repeated fields cannot be exported as CSV. To export to newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON".
+ "destinationFormat": "A String", # [Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with nested or repeated fields cannot be exported as CSV.
"printHeader": True or False, # [Optional] Whether to print out a header row in the results. Default is true.
"destinationUris": [ # [Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
"A String",
@@ -714,6 +741,7 @@
],
},
"query": { # [Pick one] Configures a query job.
+ "flattenResults": True or False, # [Experimental] Flattens all nested and repeated fields in the query results. The default value is true. allowLargeResults must be true if this is set to false.
"useQueryCache": True or False, # [Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified.
"defaultDataset": { # [Optional] Specifies the default dataset to use for unqualified table names in the query.
"projectId": "A String", # [Optional] The ID of the container project.
@@ -726,20 +754,27 @@
},
"priority": "A String", # [Optional] Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.
"writeDisposition": "A String", # [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
- "allowLargeResults": True or False, # If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destination_table to be set.
+ "allowLargeResults": True or False, # If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set.
"createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
"query": "A String", # [Required] BigQuery SQL query to execute.
"preserveNulls": True or False, # [Deprecated] This property is deprecated.
},
"copy": { # [Pick one] Copies a table.
"createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
+ "sourceTables": [ # [Pick one] Source tables to copy.
+ {
+ "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.
+ },
+ ],
"writeDisposition": "A String", # [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
"destinationTable": { # [Required] The destination table
"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.
},
- "sourceTable": { # [Required] Source table to copy.
+ "sourceTable": { # [Pick one] Source table to copy.
"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.
@@ -747,8 +782,9 @@
},
"extract": { # [Pick one] Configures an extract job.
"destinationUri": "A String", # [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.
+ "compression": "A String", # [Optional] The compression type to use for exported files. Possible values include GZIP and NONE. The default value is NONE.
"fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the exported data. Default is ','
- "destinationFormat": "A String", # [Experimental] Optional and defaults to CSV. Format with which files should be exported. To export to CSV, specify "CSV". Tables with nested or repeated fields cannot be exported as CSV. To export to newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON".
+ "destinationFormat": "A String", # [Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with nested or repeated fields cannot be exported as CSV.
"printHeader": True or False, # [Optional] Whether to print out a header row in the results. Default is true.
"destinationUris": [ # [Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
"A String",
diff --git a/docs/dyn/bigquery_v2.tabledata.html b/docs/dyn/bigquery_v2.tabledata.html
index cb1f2da..2b5978b 100644
--- a/docs/dyn/bigquery_v2.tabledata.html
+++ b/docs/dyn/bigquery_v2.tabledata.html
@@ -76,14 +76,14 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#insertAll">insertAll(projectId, datasetId, tableId, body)</a></code></p>
-<p class="firstline">Inserts the supplied rows into the table.</p>
+<p class="firstline">Streams data into BigQuery one record at a time without needing to run a load job.</p>
<p class="toc_element">
<code><a href="#list">list(projectId, datasetId, tableId, pageToken=None, maxResults=None, startIndex=None)</a></code></p>
<p class="firstline">Retrieves table data from a specified set of rows.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="insertAll">insertAll(projectId, datasetId, tableId, body)</code>
- <pre>Inserts the supplied rows into the table.
+ <pre>Streams data into BigQuery one record at a time without needing to run a load job.
Args:
projectId: string, Project ID of the destination table. (required)
diff --git a/docs/dyn/blogger_v3.blogUserInfos.html b/docs/dyn/blogger_v3.blogUserInfos.html
index 155f184..faaa0c3 100644
--- a/docs/dyn/blogger_v3.blogUserInfos.html
+++ b/docs/dyn/blogger_v3.blogUserInfos.html
@@ -92,6 +92,7 @@
{
"blog": { # The Blog resource.
+ "status": "A String", # The status of the blog.
"kind": "blogger#blog", # The kind of this entry. Always blogger#blog
"description": "A String", # The description of this blog. This is displayed underneath the title.
"locale": { # The locale this Blog is set to.
@@ -147,6 +148,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -156,6 +158,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
diff --git a/docs/dyn/blogger_v3.blogs.html b/docs/dyn/blogger_v3.blogs.html
index f53f6c1..4bd8ab5 100644
--- a/docs/dyn/blogger_v3.blogs.html
+++ b/docs/dyn/blogger_v3.blogs.html
@@ -76,31 +76,32 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#get">get(blogId, maxPosts=None, view=None)</a></code></p>
-<p class="firstline">Gets one blog by id.</p>
+<p class="firstline">Gets one blog by ID.</p>
<p class="toc_element">
<code><a href="#getByUrl">getByUrl(url, view=None)</a></code></p>
<p class="firstline">Retrieve a Blog by URL.</p>
<p class="toc_element">
- <code><a href="#listByUser">listByUser(userId, fetchUserInfo=None, role=None, view=None)</a></code></p>
+ <code><a href="#listByUser">listByUser(userId, status=None, fetchUserInfo=None, role=None, view=None)</a></code></p>
<p class="firstline">Retrieves a list of blogs, possibly filtered.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="get">get(blogId, maxPosts=None, view=None)</code>
- <pre>Gets one blog by id.
+ <pre>Gets one blog by ID.
Args:
blogId: string, The ID of the blog to get. (required)
maxPosts: integer, Maximum number of posts to pull back with the blog.
- view: string, Access level with which to view the blogs. Note that some fields require elevated access.
+ view: string, Access level with which to view the blog. Note that some fields require elevated access.
Allowed values
- ADMIN - Admin level detail
- AUTHOR - Author level detail
- READER - Reader level detail
+ ADMIN - Admin level detail.
+ AUTHOR - Author level detail.
+ READER - Reader level detail.
Returns:
An object of the form:
{
+ "status": "A String", # The status of the blog.
"kind": "blogger#blog", # The kind of this entry. Always blogger#blog
"description": "A String", # The description of this blog. This is displayed underneath the title.
"locale": { # The locale this Blog is set to.
@@ -156,6 +157,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -165,6 +167,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -204,16 +207,17 @@
Args:
url: string, The URL of the blog to retrieve. (required)
- view: string, Access level with which to view the blogs. Note that some fields require elevated access.
+ view: string, Access level with which to view the blog. Note that some fields require elevated access.
Allowed values
- ADMIN - Admin level detail
- AUTHOR - Author level detail
- READER - Reader level detail
+ ADMIN - Admin level detail.
+ AUTHOR - Author level detail.
+ READER - Reader level detail.
Returns:
An object of the form:
{
+ "status": "A String", # The status of the blog.
"kind": "blogger#blog", # The kind of this entry. Always blogger#blog
"description": "A String", # The description of this blog. This is displayed underneath the title.
"locale": { # The locale this Blog is set to.
@@ -269,6 +273,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -278,6 +283,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -312,22 +318,26 @@
</div>
<div class="method">
- <code class="details" id="listByUser">listByUser(userId, fetchUserInfo=None, role=None, view=None)</code>
+ <code class="details" id="listByUser">listByUser(userId, status=None, fetchUserInfo=None, role=None, view=None)</code>
<pre>Retrieves a list of blogs, possibly filtered.
Args:
userId: string, ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. (required)
+ status: string, Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is required to view deleted blogs. (repeated)
+ Allowed values
+ DELETED - Blog has been deleted by an administrator.
+ LIVE - Blog is currently live.
fetchUserInfo: boolean, Whether the response is a list of blogs with per-user information instead of just blogs.
role: string, User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles. (repeated)
Allowed values
- ADMIN - Admin role - User has Admin level access.
- AUTHOR - Author role - User has Author level access.
- READER - Reader role - User has Reader level access.
+ ADMIN - Admin role - Blogs where the user has Admin level access.
+ AUTHOR - Author role - Blogs where the user has Author level access.
+ READER - Reader role - Blogs where the user has Reader level access (to a private blog).
view: string, Access level with which to view the blogs. Note that some fields require elevated access.
Allowed values
- ADMIN - Admin level detail
- AUTHOR - Author level detail
- READER - Reader level detail
+ ADMIN - Admin level detail.
+ AUTHOR - Author level detail.
+ READER - Reader level detail.
Returns:
An object of the form:
@@ -335,6 +345,7 @@
{
"items": [ # The list of Blogs this user has Authorship or Admin rights over.
{
+ "status": "A String", # The status of the blog.
"kind": "blogger#blog", # The kind of this entry. Always blogger#blog
"description": "A String", # The description of this blog. This is displayed underneath the title.
"locale": { # The locale this Blog is set to.
@@ -390,6 +401,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -399,6 +411,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -435,6 +448,7 @@
"blogUserInfos": [ # Admin level list of blog per-user information
{
"blog": { # The Blog resource.
+ "status": "A String", # The status of the blog.
"kind": "blogger#blog", # The kind of this entry. Always blogger#blog
"description": "A String", # The description of this blog. This is displayed underneath the title.
"locale": { # The locale this Blog is set to.
@@ -490,6 +504,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -499,6 +514,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
diff --git a/docs/dyn/blogger_v3.comments.html b/docs/dyn/blogger_v3.comments.html
index 3d9608f..ddb3237 100644
--- a/docs/dyn/blogger_v3.comments.html
+++ b/docs/dyn/blogger_v3.comments.html
@@ -79,10 +79,10 @@
<p class="firstline">Marks a comment as not spam.</p>
<p class="toc_element">
<code><a href="#delete">delete(blogId, postId, commentId)</a></code></p>
-<p class="firstline">Delete a comment by id.</p>
+<p class="firstline">Delete a comment by ID.</p>
<p class="toc_element">
<code><a href="#get">get(blogId, postId, commentId, view=None)</a></code></p>
-<p class="firstline">Gets one comment by id.</p>
+<p class="firstline">Gets one comment by ID.</p>
<p class="toc_element">
<code><a href="#list">list(blogId, postId, status=None, startDate=None, fetchBodies=None, endDate=None, pageToken=None, maxResults=None, view=None)</a></code></p>
<p class="firstline">Retrieves the comments for a post, possibly filtered.</p>
@@ -107,7 +107,7 @@
<pre>Marks a comment as not spam.
Args:
- blogId: string, The Id of the Blog. (required)
+ blogId: string, The ID of the Blog. (required)
postId: string, The ID of the Post. (required)
commentId: string, The ID of the comment to mark as not spam. (required)
@@ -144,10 +144,10 @@
<div class="method">
<code class="details" id="delete">delete(blogId, postId, commentId)</code>
- <pre>Delete a comment by id.
+ <pre>Delete a comment by ID.
Args:
- blogId: string, The Id of the Blog. (required)
+ blogId: string, The ID of the Blog. (required)
postId: string, The ID of the Post. (required)
commentId: string, The ID of the comment to delete. (required)
</pre>
@@ -155,7 +155,7 @@
<div class="method">
<code class="details" id="get">get(blogId, postId, commentId, view=None)</code>
- <pre>Gets one comment by id.
+ <pre>Gets one comment by ID.
Args:
blogId: string, ID of the blog to containing the comment. (required)
@@ -343,7 +343,7 @@
<pre>Marks a comment as spam.
Args:
- blogId: string, The Id of the Blog. (required)
+ blogId: string, The ID of the Blog. (required)
postId: string, The ID of the Post. (required)
commentId: string, The ID of the comment to mark as spam. (required)
@@ -383,7 +383,7 @@
<pre>Removes the content of a comment.
Args:
- blogId: string, The Id of the Blog. (required)
+ blogId: string, The ID of the Blog. (required)
postId: string, The ID of the Post. (required)
commentId: string, The ID of the comment to delete content from. (required)
diff --git a/docs/dyn/blogger_v3.pages.html b/docs/dyn/blogger_v3.pages.html
index b14ffdc..53c1832 100644
--- a/docs/dyn/blogger_v3.pages.html
+++ b/docs/dyn/blogger_v3.pages.html
@@ -76,36 +76,42 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#delete">delete(blogId, pageId)</a></code></p>
-<p class="firstline">Delete a page by id.</p>
+<p class="firstline">Delete a page by ID.</p>
<p class="toc_element">
<code><a href="#get">get(blogId, pageId, view=None)</a></code></p>
-<p class="firstline">Gets one blog page by id.</p>
+<p class="firstline">Gets one blog page by ID.</p>
<p class="toc_element">
- <code><a href="#insert">insert(blogId, body)</a></code></p>
+ <code><a href="#insert">insert(blogId, body, isDraft=None)</a></code></p>
<p class="firstline">Add a page.</p>
<p class="toc_element">
<code><a href="#list">list(blogId, status=None, fetchBodies=None, view=None)</a></code></p>
<p class="firstline">Retrieves the pages for a blog, optionally including non-LIVE statuses.</p>
<p class="toc_element">
- <code><a href="#patch">patch(blogId, pageId, body)</a></code></p>
+ <code><a href="#patch">patch(blogId, pageId, body, revert=None, publish=None)</a></code></p>
<p class="firstline">Update a page. This method supports patch semantics.</p>
<p class="toc_element">
- <code><a href="#update">update(blogId, pageId, body)</a></code></p>
+ <code><a href="#publish">publish(blogId, pageId)</a></code></p>
+<p class="firstline">Publishes a draft page.</p>
+<p class="toc_element">
+ <code><a href="#revert">revert(blogId, pageId)</a></code></p>
+<p class="firstline">Revert a published or scheduled page to draft state.</p>
+<p class="toc_element">
+ <code><a href="#update">update(blogId, pageId, body, revert=None, publish=None)</a></code></p>
<p class="firstline">Update a page.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="delete">delete(blogId, pageId)</code>
- <pre>Delete a page by id.
+ <pre>Delete a page by ID.
Args:
- blogId: string, The Id of the Blog. (required)
+ blogId: string, The ID of the Blog. (required)
pageId: string, The ID of the Page. (required)
</pre>
</div>
<div class="method">
<code class="details" id="get">get(blogId, pageId, view=None)</code>
- <pre>Gets one blog page by id.
+ <pre>Gets one blog page by ID.
Args:
blogId: string, ID of the blog containing the page. (required)
@@ -137,6 +143,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
@@ -144,7 +151,7 @@
</div>
<div class="method">
- <code class="details" id="insert">insert(blogId, body)</code>
+ <code class="details" id="insert">insert(blogId, body, isDraft=None)</code>
<pre>Add a page.
Args:
@@ -170,11 +177,13 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
}
+ isDraft: boolean, Whether to create the page as a draft (default: false).
Returns:
An object of the form:
@@ -197,6 +206,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
@@ -243,6 +253,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
@@ -253,7 +264,7 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(blogId, pageId, body)</code>
+ <code class="details" id="patch">patch(blogId, pageId, body, revert=None, publish=None)</code>
<pre>Update a page. This method supports patch semantics.
Args:
@@ -280,11 +291,14 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
}
+ revert: boolean, Whether a revert action should be performed when the page is updated (default: false).
+ publish: boolean, Whether a publish action should be performed when the page is updated (default: false).
Returns:
An object of the form:
@@ -307,6 +321,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
@@ -314,7 +329,79 @@
</div>
<div class="method">
- <code class="details" id="update">update(blogId, pageId, body)</code>
+ <code class="details" id="publish">publish(blogId, pageId)</code>
+ <pre>Publishes a draft page.
+
+Args:
+ blogId: string, The ID of the blog. (required)
+ pageId: string, The ID of the page. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT).
+ "content": "A String", # The body content of this Page, in HTML.
+ "kind": "blogger#page", # The kind of this entity. Always blogger#page
+ "author": { # The author of this Page.
+ "url": "A String", # The URL of the Page creator's Profile page.
+ "image": { # The page author's avatar.
+ "url": "A String", # The page author's avatar URL.
+ },
+ "displayName": "A String", # The display name.
+ "id": "A String", # The identifier of the Page creator.
+ },
+ "url": "A String", # The URL that this Page is displayed at.
+ "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface.
+ "updated": "A String", # RFC 3339 date-time when this Page was last updated.
+ "blog": { # Data about the blog containing this Page.
+ "id": "A String", # The identifier of the blog containing this page.
+ },
+ "etag": "A String", # Etag of the resource.
+ "published": "A String", # RFC 3339 date-time when this Page was published.
+ "id": "A String", # The identifier for this resource.
+ "selfLink": "A String", # The API REST URL to fetch this resource from.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="revert">revert(blogId, pageId)</code>
+ <pre>Revert a published or scheduled page to draft state.
+
+Args:
+ blogId: string, The ID of the blog. (required)
+ pageId: string, The ID of the page. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT).
+ "content": "A String", # The body content of this Page, in HTML.
+ "kind": "blogger#page", # The kind of this entity. Always blogger#page
+ "author": { # The author of this Page.
+ "url": "A String", # The URL of the Page creator's Profile page.
+ "image": { # The page author's avatar.
+ "url": "A String", # The page author's avatar URL.
+ },
+ "displayName": "A String", # The display name.
+ "id": "A String", # The identifier of the Page creator.
+ },
+ "url": "A String", # The URL that this Page is displayed at.
+ "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface.
+ "updated": "A String", # RFC 3339 date-time when this Page was last updated.
+ "blog": { # Data about the blog containing this Page.
+ "id": "A String", # The identifier of the blog containing this page.
+ },
+ "etag": "A String", # Etag of the resource.
+ "published": "A String", # RFC 3339 date-time when this Page was published.
+ "id": "A String", # The identifier for this resource.
+ "selfLink": "A String", # The API REST URL to fetch this resource from.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(blogId, pageId, body, revert=None, publish=None)</code>
<pre>Update a page.
Args:
@@ -341,11 +428,14 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
}
+ revert: boolean, Whether a revert action should be performed when the page is updated (default: false).
+ publish: boolean, Whether a publish action should be performed when the page is updated (default: false).
Returns:
An object of the form:
@@ -368,6 +458,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
diff --git a/docs/dyn/blogger_v3.postUserInfos.html b/docs/dyn/blogger_v3.postUserInfos.html
index 7b1d986..f04e821 100644
--- a/docs/dyn/blogger_v3.postUserInfos.html
+++ b/docs/dyn/blogger_v3.postUserInfos.html
@@ -76,7 +76,7 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#get">get(userId, blogId, postId, maxComments=None)</a></code></p>
-<p class="firstline">Gets one post and user info pair, by post id and user id. The post user info contains per-user information about the post, such as access rights, specific to the user.</p>
+<p class="firstline">Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user.</p>
<p class="toc_element">
<code><a href="#list">list(userId, blogId, orderBy=None, startDate=None, endDate=None, labels=None, pageToken=None, status=None, maxResults=None, fetchBodies=None, view=None)</a></code></p>
<p class="firstline">Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.</p>
@@ -86,7 +86,7 @@
<h3>Method Details</h3>
<div class="method">
<code class="details" id="get">get(userId, blogId, postId, maxComments=None)</code>
- <pre>Gets one post and user info pair, by post id and user id. The post user info contains per-user information about the post, such as access rights, specific to the user.
+ <pre>Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user.
Args:
userId: string, ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. (required)
@@ -144,6 +144,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -153,6 +154,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -260,6 +262,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -269,6 +272,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
diff --git a/docs/dyn/blogger_v3.posts.html b/docs/dyn/blogger_v3.posts.html
index d4ffe1c..33fed03 100644
--- a/docs/dyn/blogger_v3.posts.html
+++ b/docs/dyn/blogger_v3.posts.html
@@ -76,10 +76,10 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#delete">delete(blogId, postId)</a></code></p>
-<p class="firstline">Delete a post by id.</p>
+<p class="firstline">Delete a post by ID.</p>
<p class="toc_element">
<code><a href="#get">get(blogId, postId, maxComments=None, fetchImages=None, fetchBody=None, view=None)</a></code></p>
-<p class="firstline">Get a post by id.</p>
+<p class="firstline">Get a post by ID.</p>
<p class="toc_element">
<code><a href="#getByPath">getByPath(blogId, path, maxComments=None, view=None)</a></code></p>
<p class="firstline">Retrieve a Post by Path.</p>
@@ -97,7 +97,7 @@
<p class="firstline">Update a post. This method supports patch semantics.</p>
<p class="toc_element">
<code><a href="#publish">publish(blogId, postId, publishDate=None)</a></code></p>
-<p class="firstline">Publish a draft post.</p>
+<p class="firstline">Publishes a draft post, optionally at the specific time of the given publishDate parameter.</p>
<p class="toc_element">
<code><a href="#revert">revert(blogId, postId)</a></code></p>
<p class="firstline">Revert a published or scheduled post to draft state.</p>
@@ -110,17 +110,17 @@
<h3>Method Details</h3>
<div class="method">
<code class="details" id="delete">delete(blogId, postId)</code>
- <pre>Delete a post by id.
+ <pre>Delete a post by ID.
Args:
- blogId: string, The Id of the Blog. (required)
+ blogId: string, The ID of the Blog. (required)
postId: string, The ID of the Post. (required)
</pre>
</div>
<div class="method">
<code class="details" id="get">get(blogId, postId, maxComments=None, fetchImages=None, fetchBody=None, view=None)</code>
- <pre>Get a post by id.
+ <pre>Get a post by ID.
Args:
blogId: string, ID of the blog to fetch the post from. (required)
@@ -182,6 +182,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -191,6 +192,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -271,6 +273,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -280,6 +283,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -352,6 +356,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -361,6 +366,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -430,6 +436,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -439,6 +446,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -536,6 +544,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -545,6 +554,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -635,6 +645,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -644,6 +655,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -715,6 +727,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -724,6 +737,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -744,12 +758,12 @@
<div class="method">
<code class="details" id="publish">publish(blogId, postId, publishDate=None)</code>
- <pre>Publish a draft post.
+ <pre>Publishes a draft post, optionally at the specific time of the given publishDate parameter.
Args:
blogId: string, The ID of the Blog. (required)
postId: string, The ID of the Post. (required)
- publishDate: string, The date and time to schedule the publishing of the Blog.
+ publishDate: string, Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is given, the post is either published at the a previously saved schedule date (if present), or the current time. If a future date is given, the post will be scheduled to be published.
Returns:
An object of the form:
@@ -799,6 +813,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -808,6 +823,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -882,6 +898,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -891,6 +908,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -973,6 +991,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -982,6 +1001,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -1058,6 +1078,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -1067,6 +1088,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
@@ -1138,6 +1160,7 @@
],
"selfLink": "A String", # The URL of the comments on this post.
},
+ "readerComments": "A String", # Comment control and display setting for readers of this post.
"labels": [ # The list of labels this Post was tagged with.
"A String",
],
@@ -1147,6 +1170,7 @@
"id": "A String", # The identifier of the Blog that contains this Post.
},
"url": "A String", # The URL where this Post is displayed.
+ "etag": "A String", # Etag of the resource.
"location": { # The location for geotagged posts.
"lat": 3.14, # Location's latitude.
"lng": 3.14, # Location's longitude.
diff --git a/docs/dyn/blogger_v3.users.html b/docs/dyn/blogger_v3.users.html
index 87b6f2e..7c4944e 100644
--- a/docs/dyn/blogger_v3.users.html
+++ b/docs/dyn/blogger_v3.users.html
@@ -76,11 +76,11 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#get">get(userId)</a></code></p>
-<p class="firstline">Gets one user by id.</p>
+<p class="firstline">Gets one user by ID.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="get">get(userId)</code>
- <pre>Gets one user by id.
+ <pre>Gets one user by ID.
Args:
userId: string, The ID of the user to get. (required)
diff --git a/docs/dyn/books_v1.bookshelves.volumes.html b/docs/dyn/books_v1.bookshelves.volumes.html
index 1941c1f..f501e84 100644
--- a/docs/dyn/books_v1.bookshelves.volumes.html
+++ b/docs/dyn/books_v1.bookshelves.volumes.html
@@ -173,11 +173,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -186,34 +200,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
diff --git a/docs/dyn/books_v1.html b/docs/dyn/books_v1.html
index 4adb450..6c14c80 100644
--- a/docs/dyn/books_v1.html
+++ b/docs/dyn/books_v1.html
@@ -100,6 +100,11 @@
<p class="firstline">Returns the mylibrary Resource.</p>
<p class="toc_element">
+ <code><a href="books_v1.promooffer.html">promooffer()</a></code>
+</p>
+<p class="firstline">Returns the promooffer Resource.</p>
+
+<p class="toc_element">
<code><a href="books_v1.volumes.html">volumes()</a></code>
</p>
<p class="firstline">Returns the volumes Resource.</p>
diff --git a/docs/dyn/books_v1.myconfig.html b/docs/dyn/books_v1.myconfig.html
index 5b133bf..be107f8 100644
--- a/docs/dyn/books_v1.myconfig.html
+++ b/docs/dyn/books_v1.myconfig.html
@@ -267,11 +267,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -280,34 +294,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
diff --git a/docs/dyn/books_v1.mylibrary.bookshelves.volumes.html b/docs/dyn/books_v1.mylibrary.bookshelves.volumes.html
index 5127177..cd72559 100644
--- a/docs/dyn/books_v1.mylibrary.bookshelves.volumes.html
+++ b/docs/dyn/books_v1.mylibrary.bookshelves.volumes.html
@@ -178,11 +178,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -191,34 +205,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
diff --git a/docs/dyn/books_v1.promooffer.html b/docs/dyn/books_v1.promooffer.html
new file mode 100644
index 0000000..c185b2e
--- /dev/null
+++ b/docs/dyn/books_v1.promooffer.html
@@ -0,0 +1,154 @@
+<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="books_v1.html">Books API</a> . <a href="books_v1.promooffer.html">promooffer</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#accept">accept(product=None, device=None, offerId=None, volumeId=None, androidId=None, model=None, serial=None, manufacturer=None)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#dismiss">dismiss(product=None, device=None, offerId=None, androidId=None, model=None, serial=None, manufacturer=None)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#get">get(product=None, device=None, androidId=None, model=None, serial=None, manufacturer=None)</a></code></p>
+<p class="firstline">Returns a list of promo offers available to the user</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="accept">accept(product=None, device=None, offerId=None, volumeId=None, androidId=None, model=None, serial=None, manufacturer=None)</code>
+ <pre>
+
+Args:
+ product: string, device product
+ device: string, device device
+ offerId: string, A parameter
+ volumeId: string, Volume id to exercise the offer
+ androidId: string, device android_id
+ model: string, device model
+ serial: string, device serial
+ manufacturer: string, device manufacturer
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="dismiss">dismiss(product=None, device=None, offerId=None, androidId=None, model=None, serial=None, manufacturer=None)</code>
+ <pre>
+
+Args:
+ product: string, device product
+ device: string, device device
+ offerId: string, Offer to dimiss
+ androidId: string, device android_id
+ model: string, device model
+ serial: string, device serial
+ manufacturer: string, device manufacturer
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(product=None, device=None, androidId=None, model=None, serial=None, manufacturer=None)</code>
+ <pre>Returns a list of promo offers available to the user
+
+Args:
+ product: string, device product
+ device: string, device device
+ androidId: string, device android_id
+ model: string, device model
+ serial: string, device serial
+ manufacturer: string, device manufacturer
+
+Returns:
+ An object of the form:
+
+ {
+ "items": [ # A list of offers.
+ {
+ "items": [
+ {
+ "description": "A String",
+ "title": "A String",
+ "author": "A String",
+ "coverUrl": "A String",
+ "volumeId": "A String",
+ "canonicalVolumeLink": "A String",
+ },
+ ],
+ "artUrl": "A String",
+ "id": "A String",
+ },
+ ],
+ "kind": "promooffer#offers", # Resource type.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/books_v1.volumes.associated.html b/docs/dyn/books_v1.volumes.associated.html
index b014a81..52bb7f6 100644
--- a/docs/dyn/books_v1.volumes.associated.html
+++ b/docs/dyn/books_v1.volumes.associated.html
@@ -174,11 +174,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -187,34 +201,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
diff --git a/docs/dyn/books_v1.volumes.html b/docs/dyn/books_v1.volumes.html
index b73ef04..383a903 100644
--- a/docs/dyn/books_v1.volumes.html
+++ b/docs/dyn/books_v1.volumes.html
@@ -195,11 +195,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -208,34 +222,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
@@ -423,11 +424,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -436,34 +451,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
diff --git a/docs/dyn/books_v1.volumes.mybooks.html b/docs/dyn/books_v1.volumes.mybooks.html
index f28ca32..4175c0d 100644
--- a/docs/dyn/books_v1.volumes.mybooks.html
+++ b/docs/dyn/books_v1.volumes.mybooks.html
@@ -185,11 +185,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -198,34 +212,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
diff --git a/docs/dyn/books_v1.volumes.recommended.html b/docs/dyn/books_v1.volumes.recommended.html
index 93a9eac..8039c59 100644
--- a/docs/dyn/books_v1.volumes.recommended.html
+++ b/docs/dyn/books_v1.volumes.recommended.html
@@ -172,11 +172,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -185,34 +199,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
diff --git a/docs/dyn/books_v1.volumes.useruploaded.html b/docs/dyn/books_v1.volumes.useruploaded.html
index 4802e59..fd46ea1 100644
--- a/docs/dyn/books_v1.volumes.useruploaded.html
+++ b/docs/dyn/books_v1.volumes.useruploaded.html
@@ -177,11 +177,25 @@
"etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
"selfLink": "A String", # URL to this resource. (In LITE projection.)
"volumeInfo": { # General volume information.
- "publisher": "A String", # Publisher of this volume. (In LITE projection.)
"subtitle": "A String", # Volume subtitle. (In LITE projection.)
- "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
- "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
"pageCount": 42, # Total number of pages as per publisher metadata.
+ "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
+ "dimensions": { # Physical dimensions of this volume.
+ "width": "A String", # Width of this volume (in cm).
+ "thickness": "A String", # Thickness of this volume (in cm).
+ "height": "A String", # Height or length of this volume (in cm).
+ },
+ "previewLink": "A String", # URL to preview this volume on the Google Books site.
+ "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
+ "industryIdentifiers": [ # Industry standard identifiers for this volume.
+ {
+ "identifier": "A String", # Industry specific volume identifier.
+ "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
+ },
+ ],
+ "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
+ "description": "A String", # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
+ "publishedDate": "A String", # Date of publication. (In LITE projection.)
"imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
"medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
"smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
@@ -190,34 +204,21 @@
"small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
"thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
},
- "publishedDate": "A String", # Date of publication. (In LITE projection.)
- "previewLink": "A String", # URL to preview this volume on the Google Books site.
- "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
- "ratingsCount": 42, # The number of review ratings for this volume.
- "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
- "dimensions": { # Physical dimensions of this volume.
- "width": "A String", # Width of this volume (in cm).
- "thickness": "A String", # Thickness of this volume (in cm).
- "height": "A String", # Height or length of this volume (in cm).
- },
- "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
- "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
- "industryIdentifiers": [ # Industry standard identifiers for this volume.
- {
- "identifier": "A String", # Industry specific volume identifier.
- "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
- },
- ],
"authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
"A String",
],
- "title": "A String", # Volume title. (In LITE projection.)
- "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
- "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
"categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
"A String",
],
+ "publisher": "A String", # Publisher of this volume. (In LITE projection.)
+ "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
+ "readingModes": "", # The reading modes available for this volume.
+ "title": "A String", # Volume title. (In LITE projection.)
+ "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
+ "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
"averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
+ "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
+ "ratingsCount": 42, # The number of review ratings for this volume.
},
"recommendedInfo": { # Recommendation related information for this volume.
"explanation": "A String", # A text explaining why this volume is recommended.
diff --git a/docs/dyn/calendar_v3.acl.html b/docs/dyn/calendar_v3.acl.html
index 6ffffe3..2a07be7 100644
--- a/docs/dyn/calendar_v3.acl.html
+++ b/docs/dyn/calendar_v3.acl.html
@@ -201,16 +201,19 @@
Args:
calendarId: string, Calendar identifier. (required)
- syncToken: string, Token obtained from the 'nextSyncToken' field returned as part of the result of a previous call to this method. It makes the result of this call contain only entries that have changed since the last call, including entries that have been removed in the meantime (they will have the 'role' set to 'none'). Optional. The default is to return to all entries.
+ syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
+If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
+Learn more about incremental synchronization.
+Optional. The default is to return all entries.
pageToken: string, Token specifying which result page to return. Optional.
- maxResults: integer, Maximum number of entries returned on one result page. Optional.
- showDeleted: boolean, Whether to include deleted acls in the result. Deleted acls are represented by with 'role' equal to 'none'. Deleted acls will always be included if 'syncToken' is provided. Optional. The default is False.
+ maxResults: integer, Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
+ showDeleted: boolean, Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.
Returns:
An object of the form:
{
- "nextPageToken": "A String", # Token used to access the next page of this result. Omitted if no further results are available.
+ "nextPageToken": "A String", # Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
"items": [ # List of rules on the access control list.
{
"scope": { # The scope of the rule.
@@ -234,7 +237,7 @@
],
"kind": "calendar#acl", # Type of the collection ("calendar#acl").
"etag": "A String", # ETag of the collection.
- "nextSyncToken": "A String", # Token used at a later point in time to retrieve only the entries that have changed since this result was returned.
+ "nextSyncToken": "A String", # Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.
}</pre>
</div>
@@ -386,10 +389,13 @@
"id": "A String", # A UUID or similar unique string that identifies this channel.
}
- syncToken: string, Token obtained from the 'nextSyncToken' field returned as part of the result of a previous call to this method. It makes the result of this call contain only entries that have changed since the last call, including entries that have been removed in the meantime (they will have the 'role' set to 'none'). Optional. The default is to return to all entries.
+ syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
+If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
+Learn more about incremental synchronization.
+Optional. The default is to return all entries.
pageToken: string, Token specifying which result page to return. Optional.
- maxResults: integer, Maximum number of entries returned on one result page. Optional.
- showDeleted: boolean, Whether to include deleted acls in the result. Deleted acls are represented by with 'role' equal to 'none'. Deleted acls will always be included if 'syncToken' is provided. Optional. The default is False.
+ maxResults: integer, Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
+ showDeleted: boolean, Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.
Returns:
An object of the form:
diff --git a/docs/dyn/calendar_v3.calendarList.html b/docs/dyn/calendar_v3.calendarList.html
index 386cf42..756db1e 100644
--- a/docs/dyn/calendar_v3.calendarList.html
+++ b/docs/dyn/calendar_v3.calendarList.html
@@ -120,7 +120,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.
+ "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal 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,7 +132,7 @@
],
"description": "A String", # Description of the calendar. Optional. Read-only.
"deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
- "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the "calendar" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
"selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
"notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
"notifications": [ # The list of notifications set for this calendar.
@@ -152,7 +152,7 @@
"primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
"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.
+ "backgroundColor": "A String", # The main color of the calendar in the hexadecimal 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": false, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -176,7 +176,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.
+ "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal 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.
@@ -188,7 +188,7 @@
],
"description": "A String", # Description of the calendar. Optional. Read-only.
"deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
- "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the "calendar" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
"selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
"notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
"notifications": [ # The list of notifications set for this calendar.
@@ -208,7 +208,7 @@
"primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
"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.
+ "backgroundColor": "A String", # The main color of the calendar in the hexadecimal 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": false, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -228,7 +228,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.
+ "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal 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.
@@ -240,7 +240,7 @@
],
"description": "A String", # Description of the calendar. Optional. Read-only.
"deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
- "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the "calendar" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
"selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
"notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
"notifications": [ # The list of notifications set for this calendar.
@@ -260,7 +260,7 @@
"primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
"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.
+ "backgroundColor": "A String", # The main color of the calendar in the hexadecimal 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": false, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -279,14 +279,18 @@
<pre>Returns entries on the user's calendar list.
Args:
- syncToken: string, Token obtained from the 'nextSyncToken' field returned on the last result page of the previous method's call. It makes the result of this call contain only entries that have changed since the last call. Optional. The default is to return all entries.
+ syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.
+To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken.
+If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
+Learn more about incremental synchronization.
+Optional. The default is to return all entries.
minAccessRole: string, The minimum access role for the user in the returned entires. Optional. The default is no restriction.
Allowed values
freeBusyReader - The user can read free/busy information.
owner - The user can read and modify events and access control lists.
reader - The user can read events that are not private.
writer - The user can read and modify events.
- maxResults: integer, Maximum number of entries returned on one result page. Optional.
+ maxResults: integer, Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
showDeleted: boolean, Whether to include deleted calendar list entries in the result. Optional. The default is False.
showHidden: boolean, Whether to show hidden entries. Optional. The default is False.
pageToken: string, Token specifying which result page to return. Optional.
@@ -295,11 +299,11 @@
An object of the form:
{
- "nextPageToken": "A String", # Token used to access the next page of this result.
+ "nextPageToken": "A String", # Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
"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.
+ "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal 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.
@@ -311,7 +315,7 @@
],
"description": "A String", # Description of the calendar. Optional. Read-only.
"deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
- "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the "calendar" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
"selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
"notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
"notifications": [ # The list of notifications set for this calendar.
@@ -331,7 +335,7 @@
"primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
"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.
+ "backgroundColor": "A String", # The main color of the calendar in the hexadecimal 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": false, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -375,7 +379,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.
+ "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal 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.
@@ -387,7 +391,7 @@
],
"description": "A String", # Description of the calendar. Optional. Read-only.
"deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
- "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the "calendar" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
"selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
"notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
"notifications": [ # The list of notifications set for this calendar.
@@ -407,7 +411,7 @@
"primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
"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.
+ "backgroundColor": "A String", # The main color of the calendar in the hexadecimal 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": false, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -420,14 +424,14 @@
"id": "A String", # Identifier of the calendar.
}
- colorRgbFormat: boolean, Whether to use the 'foregroundColor' and 'backgroundColor' fields to write the calendar colors (RGB). If this feature is used, the index-based 'colorId' field will be set to the best matching option automatically. Optional. The default is False.
+ colorRgbFormat: boolean, Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId 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.
+ "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal 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.
@@ -439,7 +443,7 @@
],
"description": "A String", # Description of the calendar. Optional. Read-only.
"deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
- "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the "calendar" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
"selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
"notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
"notifications": [ # The list of notifications set for this calendar.
@@ -459,7 +463,7 @@
"primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
"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.
+ "backgroundColor": "A String", # The main color of the calendar in the hexadecimal 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": false, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -484,7 +488,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.
+ "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal 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.
@@ -496,7 +500,7 @@
],
"description": "A String", # Description of the calendar. Optional. Read-only.
"deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
- "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the "calendar" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
"selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
"notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
"notifications": [ # The list of notifications set for this calendar.
@@ -516,7 +520,7 @@
"primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
"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.
+ "backgroundColor": "A String", # The main color of the calendar in the hexadecimal 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": false, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -529,14 +533,14 @@
"id": "A String", # Identifier of the calendar.
}
- colorRgbFormat: boolean, Whether to use the 'foregroundColor' and 'backgroundColor' fields to write the calendar colors (RGB). If this feature is used, the index-based 'colorId' field will be set to the best matching option automatically. Optional. The default is False.
+ colorRgbFormat: boolean, Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId 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.
+ "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal 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.
@@ -548,7 +552,7 @@
],
"description": "A String", # Description of the calendar. Optional. Read-only.
"deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
- "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the "calendar" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
"selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
"notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
"notifications": [ # The list of notifications set for this calendar.
@@ -568,7 +572,7 @@
"primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
"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.
+ "backgroundColor": "A String", # The main color of the calendar in the hexadecimal 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": false, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -605,14 +609,18 @@
"id": "A String", # A UUID or similar unique string that identifies this channel.
}
- syncToken: string, Token obtained from the 'nextSyncToken' field returned on the last result page of the previous method's call. It makes the result of this call contain only entries that have changed since the last call. Optional. The default is to return all entries.
+ syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.
+To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken.
+If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
+Learn more about incremental synchronization.
+Optional. The default is to return all entries.
minAccessRole: string, The minimum access role for the user in the returned entires. Optional. The default is no restriction.
Allowed values
freeBusyReader - The user can read free/busy information.
owner - The user can read and modify events and access control lists.
reader - The user can read events that are not private.
writer - The user can read and modify events.
- maxResults: integer, Maximum number of entries returned on one result page. Optional.
+ maxResults: integer, Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
showDeleted: boolean, Whether to include deleted calendar list entries in the result. Optional. The default is False.
showHidden: boolean, Whether to show hidden entries. Optional. The default is False.
pageToken: string, Token specifying which result page to return. Optional.
diff --git a/docs/dyn/calendar_v3.colors.html b/docs/dyn/calendar_v3.colors.html
index ecbf926..6e7ca23 100644
--- a/docs/dyn/calendar_v3.colors.html
+++ b/docs/dyn/calendar_v3.colors.html
@@ -88,14 +88,14 @@
An object of the form:
{
- "calendar": { # Palette of calendar colors, mapping from the color ID to its definition. An 'calendarListEntry' resource refers to one of these color IDs in its 'color' field. Read-only.
+ "calendar": { # Palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only.
"a_key": { # A calendar color defintion.
"foreground": "A String", # The foreground color that can be used to write on top of a background with 'background' color.
"background": "A String", # The background color associated with this color definition.
},
},
"updated": "A String", # Last modification time of the color palette (as a RFC 3339 timestamp). Read-only.
- "event": { # Palette of event colors, mapping from the color ID to its definition. An 'event' resource may refer to one of these color IDs in its 'color' field. Read-only.
+ "event": { # Palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only.
"a_key": { # An event color definition.
"foreground": "A String", # The foreground color that can be used to write on top of a background with 'background' color.
"background": "A String", # The background color associated with this color definition.
diff --git a/docs/dyn/calendar_v3.events.html b/docs/dyn/calendar_v3.events.html
index 0b35ed9..1dffb09 100644
--- a/docs/dyn/calendar_v3.events.html
+++ b/docs/dyn/calendar_v3.events.html
@@ -132,7 +132,7 @@
Args:
calendarId: string, Calendar identifier. (required)
eventId: string, Event identifier. (required)
- alwaysIncludeEmail: boolean, Whether to always include a value in the "email" field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
+ alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
@@ -146,7 +146,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -179,7 +179,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -232,13 +232,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -256,7 +256,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -282,7 +282,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -315,7 +315,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -368,13 +368,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -392,7 +392,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -412,7 +412,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -445,7 +445,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -498,13 +498,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -522,7 +522,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -548,7 +548,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -581,7 +581,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -634,13 +634,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -658,7 +658,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -680,7 +680,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -713,7 +713,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -766,13 +766,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -790,7 +790,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -808,11 +808,11 @@
calendarId: string, Calendar identifier. (required)
eventId: string, Recurring event identifier. (required)
timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.
- showDeleted: boolean, Whether to include deleted events (with 'status' equals 'cancelled') in the result. Cancelled instances of recurring events will still be included if 'singleEvents' is False. Optional. The default is False.
- alwaysIncludeEmail: boolean, Whether to always include a value in the "email" field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
+ showDeleted: boolean, Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events will still be included if singleEvents is False. Optional. The default is False.
+ alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
pageToken: string, Token specifying which result page to return. Optional.
maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
- maxResults: integer, Maximum number of events returned on one result page. Optional.
+ maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.
timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
originalStart: string, The original start time of the instance in the result. Optional.
@@ -821,9 +821,9 @@
An object of the form:
{
- "nextPageToken": "A String", # Token used to access the next page of this result. Omitted if no further results are available.
+ "nextPageToken": "A String", # Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
"kind": "calendar#events", # Type of the collection ("calendar#events").
- "defaultReminders": [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have 'reminders.useDefault' set to 'true').
+ "defaultReminders": [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
"method": "A String", # The method used by this reminder. Possible values are:
@@ -841,7 +841,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -874,7 +874,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -927,13 +927,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -951,7 +951,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -996,21 +996,34 @@
calendarId: string, Calendar identifier. (required)
orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
Allowed values
- startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter "singleEvents" is True)
+ startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
updated - Order by last modification time (ascending).
showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.
privateExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
pageToken: string, Token specifying which result page to return. Optional.
- updatedMin: string, Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.
+ updatedMin: string, Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
- alwaysIncludeEmail: boolean, Whether to always include a value in the "email" field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
- showDeleted: boolean, Whether to include deleted events (with 'status' equals 'cancelled') in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if 'showDeleted' and 'singleEvents' are both False. If 'showDeleted' and 'singleEvents' are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
+ alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
+ showDeleted: boolean, Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
- syncToken: string, Token obtained from the 'nextSyncToken' field returned on the last result page of the previous method's call. It makes the result of this call contain only entries that have changed since the last call. Optional. The default is to return all entries.
- iCalUID: string, Specifies iCalendar UID (iCalUID) of events to be included in the response. Optional.
- maxResults: integer, Maximum number of events returned on one result page. Optional.
+ syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
+There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
+
+These are:
+- iCalUID
+- orderBy
+- privateExtendedProperty
+- q
+- sharedExtendedProperty
+- timeMin
+- timeMax
+- updatedMin If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
+Learn more about incremental synchronization.
+Optional. The default is to return all entries.
+ iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
+ maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.
q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
@@ -1019,9 +1032,9 @@
An object of the form:
{
- "nextPageToken": "A String", # Token used to access the next page of this result. Omitted if no further results are available.
+ "nextPageToken": "A String", # Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
"kind": "calendar#events", # Type of the collection ("calendar#events").
- "defaultReminders": [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have 'reminders.useDefault' set to 'true').
+ "defaultReminders": [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
"method": "A String", # The method used by this reminder. Possible values are:
@@ -1039,7 +1052,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -1072,7 +1085,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -1125,13 +1138,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -1149,7 +1162,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -1206,7 +1219,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -1239,7 +1252,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -1292,13 +1305,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -1316,7 +1329,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -1343,7 +1356,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -1376,7 +1389,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -1429,13 +1442,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -1453,7 +1466,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -1463,7 +1476,7 @@
}
sendNotifications: boolean, Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False.
- alwaysIncludeEmail: boolean, Whether to always include a value in the "email" field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
+ alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Returns:
@@ -1476,7 +1489,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -1509,7 +1522,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -1562,13 +1575,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -1586,7 +1599,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -1615,7 +1628,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -1648,7 +1661,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -1701,13 +1714,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -1725,7 +1738,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -1752,7 +1765,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -1785,7 +1798,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -1838,13 +1851,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -1862,7 +1875,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -1872,7 +1885,7 @@
}
sendNotifications: boolean, Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False.
- alwaysIncludeEmail: boolean, Whether to always include a value in the "email" field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
+ alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Returns:
@@ -1885,7 +1898,7 @@
"email": "A String", # The creator's email address, if available.
"id": "A String", # The creator's Profile ID, if available.
},
- "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an event.
+ "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
"self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
"displayName": "A String", # The organizer's name, if available.
"email": "A String", # The organizer's email address, if available.
@@ -1918,7 +1931,7 @@
"start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only.
"recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.
@@ -1971,13 +1984,13 @@
"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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": 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.
+ "attendeesOmitted": 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": 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.
- "colorId": "A String", # The color of the event. This is an ID referring to an entry in the "event" section of the colors definition (see the "colors" endpoint). Optional.
+ "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
"anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False.
"reminders": { # Information about the event's reminders for the authenticated user.
"overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
@@ -1995,7 +2008,7 @@
"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
"date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event.
"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'.
+ "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.
},
"guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
"transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are:
@@ -2031,21 +2044,34 @@
orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
Allowed values
- startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter "singleEvents" is True)
+ startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
updated - Order by last modification time (ascending).
showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.
privateExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
pageToken: string, Token specifying which result page to return. Optional.
- updatedMin: string, Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.
+ updatedMin: string, Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
- alwaysIncludeEmail: boolean, Whether to always include a value in the "email" field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
- showDeleted: boolean, Whether to include deleted events (with 'status' equals 'cancelled') in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if 'showDeleted' and 'singleEvents' are both False. If 'showDeleted' and 'singleEvents' are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
+ alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
+ showDeleted: boolean, Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
- syncToken: string, Token obtained from the 'nextSyncToken' field returned on the last result page of the previous method's call. It makes the result of this call contain only entries that have changed since the last call. Optional. The default is to return all entries.
- iCalUID: string, Specifies iCalendar UID (iCalUID) of events to be included in the response. Optional.
- maxResults: integer, Maximum number of events returned on one result page. Optional.
+ syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
+There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
+
+These are:
+- iCalUID
+- orderBy
+- privateExtendedProperty
+- q
+- sharedExtendedProperty
+- timeMin
+- timeMax
+- updatedMin If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
+Learn more about incremental synchronization.
+Optional. The default is to return all entries.
+ iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
+ maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.
q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
diff --git a/docs/dyn/calendar_v3.settings.html b/docs/dyn/calendar_v3.settings.html
index aa92bb8..215031d 100644
--- a/docs/dyn/calendar_v3.settings.html
+++ b/docs/dyn/calendar_v3.settings.html
@@ -110,15 +110,18 @@
<pre>Returns all user settings for the authenticated user.
Args:
- syncToken: string, Token obtained from the 'nextSyncToken' field returned on the last result page of the previous method's call. It makes the result of this call contain only entries that have changed since the last call. Optional. The default is to return all entries.
+ syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then.
+If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
+Learn more about incremental synchronization.
+Optional. The default is to return all entries.
pageToken: string, Token specifying which result page to return. Optional.
- maxResults: integer, Maximum number of entries returned on one result page. Optional.
+ maxResults: integer, Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
Returns:
An object of the form:
{
- "nextPageToken": "A String", # Token used to access the next page of this result.
+ "nextPageToken": "A String", # Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
"items": [ # List of user settings.
{
"kind": "calendar#setting", # Type of the resource ("calendar#setting").
@@ -170,9 +173,12 @@
"id": "A String", # A UUID or similar unique string that identifies this channel.
}
- syncToken: string, Token obtained from the 'nextSyncToken' field returned on the last result page of the previous method's call. It makes the result of this call contain only entries that have changed since the last call. Optional. The default is to return all entries.
+ syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then.
+If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
+Learn more about incremental synchronization.
+Optional. The default is to return all entries.
pageToken: string, Token specifying which result page to return. Optional.
- maxResults: integer, Maximum number of entries returned on one result page. Optional.
+ maxResults: integer, Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
Returns:
An object of the form:
diff --git a/docs/dyn/civicinfo_v1.divisions.html b/docs/dyn/civicinfo_v1.divisions.html
new file mode 100644
index 0000000..4c0a424
--- /dev/null
+++ b/docs/dyn/civicinfo_v1.divisions.html
@@ -0,0 +1,106 @@
+<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="civicinfo_v1.html">Google Civic Information API</a> . <a href="civicinfo_v1.divisions.html">divisions</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#search">search(query=None)</a></code></p>
+<p class="firstline">Searches for political divisions by their natural name or OCD ID.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="search">search(query=None)</code>
+ <pre>Searches for political divisions by their natural name or OCD ID.
+
+Args:
+ query: string, The search query. Queries can cover any parts of a OCD ID or a human readable division name. All words given in the query are treated as required patterns. In addition to that, most query operators of the Apache Lucene library are supported. See http://lucene.apache.org/core/2_9_4/queryparsersyntax.html
+
+Returns:
+ An object of the form:
+
+ { # The result of a division search query.
+ "status": "A String", # The result of the request. One of: success, addressUnparseable, noAddressParameter, internalLookupFailure
+ "kind": "civicinfo#divisionSearchResponse", # Identifies what kind of resource this is. Value: the fixed string "civicinfo#divisionSearchResponse".
+ "results": [
+ { # Represents a political geographic division that matches the requested query.
+ "ocdId": "A String", # The unique Open Civic Data identifier for this division.
+ "name": "A String", # The name of the division.
+ "aliases": [ # Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, since Wyoming has only one Congressional district.
+ "A String",
+ ],
+ },
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/civicinfo_v1.elections.html b/docs/dyn/civicinfo_v1.elections.html
new file mode 100644
index 0000000..c24d6ef
--- /dev/null
+++ b/docs/dyn/civicinfo_v1.elections.html
@@ -0,0 +1,294 @@
+<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="civicinfo_v1.html">Google Civic Information API</a> . <a href="civicinfo_v1.elections.html">elections</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#electionQuery">electionQuery()</a></code></p>
+<p class="firstline">List of available elections to query.</p>
+<p class="toc_element">
+ <code><a href="#voterInfoQuery">voterInfoQuery(electionId, body, officialOnly=None)</a></code></p>
+<p class="firstline">Looks up information relevant to a voter based on the voter's registered address.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="electionQuery">electionQuery()</code>
+ <pre>List of available elections to query.
+
+Args:
+
+Returns:
+ An object of the form:
+
+ { # The list of elections available for this version of the API.
+ "kind": "civicinfo#electionsQueryResponse", # Identifies what kind of resource this is. Value: the fixed string "civicinfo#electionsQueryResponse".
+ "elections": [ # A list of available elections
+ { # Information about the election that was queried.
+ "electionDay": "A String", # Day of the election in YYYY-MM-DD format.
+ "id": "A String", # The unique ID of this election.
+ "name": "A String", # A displayable name for the election.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="voterInfoQuery">voterInfoQuery(electionId, body, officialOnly=None)</code>
+ <pre>Looks up information relevant to a voter based on the voter's registered address.
+
+Args:
+ electionId: string, The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A request for information about a voter.
+ "address": "A String", # The registered address of the voter to look up.
+ }
+
+ officialOnly: boolean, If set to true, only data from official state sources will be returned.
+
+Returns:
+ An object of the form:
+
+ { # The result of a voter info lookup query.
+ "status": "A String", # The result of the request. One of: success, noStreetSegmentFound, addressUnparseable, noAddressParameter, multipleStreetSegmentsFound, electionOver, electionUnknown, internalLookupFailure
+ "earlyVoteSites": [ # Locations where the voter is eligible to vote early, prior to election day
+ { # A location where a voter can vote. This may be an early vote site or an election day voting location.
+ "startDate": "A String", # The first date that this early vote site may be used. This field is not populated for polling locations.
+ "pollingHours": "A String", # A description of when this location is open.
+ "endDate": "A String", # The last date that this early vote site may be used. This field is not populated for polling locations.
+ "name": "A String", # The name of the early vote site. This field is not populated for polling locations.
+ "notes": "A String", # Notes about this location (e.g. accessibility ramp or entrance to use)
+ "voterServices": "A String", # The services provided by this early vote site. This field is not populated for polling locations.
+ "sources": [ # A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.
+ { # Contains information about the data source for the element containing it.
+ "official": True or False, # Whether this data comes from an official government source.
+ "name": "A String", # The name of the data source.
+ },
+ ],
+ "address": { # A simple representation of an address. # The address of the location
+ "city": "A String", # The city or town for the address.
+ "zip": "A String", # The US Postal Zip Code of the address.
+ "line3": "A String", # The third line of the address, if needed.
+ "line2": "A String", # The second line the address, if needed.
+ "line1": "A String", # The street name and number of this address.
+ "locationName": "A String", # The name of the location.
+ "state": "A String", # The US two letter state abbreviation of the address.
+ },
+ "id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.
+ },
+ ],
+ "kind": "civicinfo#voterInfoResponse", # Identifies what kind of resource this is. Value: the fixed string "civicinfo#voterInfoResponse".
+ "normalizedInput": { # A simple representation of an address. # The normalized version of the requested address
+ "city": "A String", # The city or town for the address.
+ "zip": "A String", # The US Postal Zip Code of the address.
+ "line3": "A String", # The third line of the address, if needed.
+ "line2": "A String", # The second line the address, if needed.
+ "line1": "A String", # The street name and number of this address.
+ "locationName": "A String", # The name of the location.
+ "state": "A String", # The US two letter state abbreviation of the address.
+ },
+ "state": [ # Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.
+ { # Describes information about a regional election administrative area.
+ "local_jurisdiction": # Object with schema name: AdministrationRegion # The city or county that provides election information for this voter. This object can have the same elements as state.
+ "sources": [ # A list of sources for this area. If multiple sources are listed the data has been aggregated from those sources.
+ { # Contains information about the data source for the element containing it.
+ "official": True or False, # Whether this data comes from an official government source.
+ "name": "A String", # The name of the data source.
+ },
+ ],
+ "electionAdministrationBody": { # Information about an election administrative body (e.g. County Board of Elections). # The election administration body for this area.
+ "absenteeVotingInfoUrl": "A String", # A URL provided by this administrative body for information on absentee voting.
+ "votingLocationFinderUrl": "A String", # A URL provided by this administrative body for looking up where to vote.
+ "name": "A String", # The name of this election administrative body.
+ "electionRegistrationConfirmationUrl": "A String", # A URL provided by this administrative body for confirming that the voter is registered to vote.
+ "correspondenceAddress": { # A simple representation of an address. # The mailing address of this administrative body.
+ "city": "A String", # The city or town for the address.
+ "zip": "A String", # The US Postal Zip Code of the address.
+ "line3": "A String", # The third line of the address, if needed.
+ "line2": "A String", # The second line the address, if needed.
+ "line1": "A String", # The street name and number of this address.
+ "locationName": "A String", # The name of the location.
+ "state": "A String", # The US two letter state abbreviation of the address.
+ },
+ "electionRegistrationUrl": "A String", # A URL provided by this administrative body for looking up how to register to vote.
+ "electionOfficials": [ # The election officials for this election administrative body.
+ { # Information about individual election officials.
+ "title": "A String", # The title of the election official.
+ "emailAddress": "A String", # The email address of the election official.
+ "name": "A String", # The full name of the election official.
+ "officePhoneNumber": "A String", # The office phone number of the election official.
+ "faxNumber": "A String", # The fax number of the election official.
+ },
+ ],
+ "electionInfoUrl": "A String", # A URL provided by this administrative body for looking up general election information.
+ "electionRulesUrl": "A String", # A URL provided by this administrative body describing election rules to the voter.
+ "voter_services": [ # A description of the services this administrative body may provide.
+ "A String",
+ ],
+ "ballotInfoUrl": "A String", # A URL provided by this administrative body to give contest information to the voter.
+ "hoursOfOperation": "A String", # A description of the hours of operation for this administrative body.
+ "physicalAddress": { # A simple representation of an address. # The physical address of this administrative body.
+ "city": "A String", # The city or town for the address.
+ "zip": "A String", # The US Postal Zip Code of the address.
+ "line3": "A String", # The third line of the address, if needed.
+ "line2": "A String", # The second line the address, if needed.
+ "line1": "A String", # The street name and number of this address.
+ "locationName": "A String", # The name of the location.
+ "state": "A String", # The US two letter state abbreviation of the address.
+ },
+ },
+ "name": "A String", # The name of the jurisdiction.
+ "id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.
+ },
+ ],
+ "election": { # Information about the election that was queried. # The election that was queried.
+ "electionDay": "A String", # Day of the election in YYYY-MM-DD format.
+ "id": "A String", # The unique ID of this election.
+ "name": "A String", # A displayable name for the election.
+ },
+ "pollingLocations": [ # Locations where the voter is eligible to vote on election day. For states with mail-in voting only, these locations will be nearby drop box locations. Drop box locations are free to the voter and may be used instead of placing the ballot in the mail.
+ { # A location where a voter can vote. This may be an early vote site or an election day voting location.
+ "startDate": "A String", # The first date that this early vote site may be used. This field is not populated for polling locations.
+ "pollingHours": "A String", # A description of when this location is open.
+ "endDate": "A String", # The last date that this early vote site may be used. This field is not populated for polling locations.
+ "name": "A String", # The name of the early vote site. This field is not populated for polling locations.
+ "notes": "A String", # Notes about this location (e.g. accessibility ramp or entrance to use)
+ "voterServices": "A String", # The services provided by this early vote site. This field is not populated for polling locations.
+ "sources": [ # A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.
+ { # Contains information about the data source for the element containing it.
+ "official": True or False, # Whether this data comes from an official government source.
+ "name": "A String", # The name of the data source.
+ },
+ ],
+ "address": { # A simple representation of an address. # The address of the location
+ "city": "A String", # The city or town for the address.
+ "zip": "A String", # The US Postal Zip Code of the address.
+ "line3": "A String", # The third line of the address, if needed.
+ "line2": "A String", # The second line the address, if needed.
+ "line1": "A String", # The street name and number of this address.
+ "locationName": "A String", # The name of the location.
+ "state": "A String", # The US two letter state abbreviation of the address.
+ },
+ "id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.
+ },
+ ],
+ "contests": [ # Contests that will appear on the voter's ballot
+ { # Information about a contest that appears on a voter's ballot.
+ "numberVotingFor": "A String", # The number of candidates that a voter may vote for in this contest.
+ "office": "A String", # The name of the office for this contest.
+ "district": { # Describes the geographic scope of a contest. # Information about the electoral district that this contest is in.
+ "scope": "A String", # The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special
+ "id": "A String", # An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id "34" and a scope of stateUpper.
+ "name": "A String", # The name of the district.
+ },
+ "level": "A String", # The level of office for this contest. One of: federal, state, county, city, other
+ "type": "A String", # The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'.
+ "ballotPlacement": "A String", # A number specifying the position of this contest on the voter's ballot.
+ "sources": [ # A list of sources for this contest. If multiple sources are listed, the data has been aggregated from those sources.
+ { # Contains information about the data source for the element containing it.
+ "official": True or False, # Whether this data comes from an official government source.
+ "name": "A String", # The name of the data source.
+ },
+ ],
+ "referendumSubtitle": "A String", # A brief description of the referendum. This field is only populated for contests of type 'Referendum'.
+ "primaryParty": "A String", # If this is a partisan election, the name of the party it is for.
+ "candidates": [ # The candidate choices for this contest.
+ { # Information about a candidate running for elected office.
+ "name": "A String", # The candidate's name.
+ "photoUrl": "A String", # A URL for a photo of the candidate.
+ "candidateUrl": "A String", # The URL for the candidate's campaign web site.
+ "channels": [ # A list of known (social) media channels for this candidate.
+ { # A social media or web channel for a candidate.
+ "type": "A String", # The type of channel. The following is a list of types of channels, but is not exhaustive. More channel types may be added at a later time. One of: GooglePlus, YouTube, Facebook, Twitter
+ "id": "A String", # The unique public identifier for the candidate's channel.
+ },
+ ],
+ "phone": "A String", # The voice phone number for the candidate's campaign office.
+ "orderOnBallot": "A String", # The order the candidate appears on the ballot for this contest.
+ "party": "A String", # The full name of the party the candidate is a member of.
+ "email": "A String", # The email address for the candidate's campaign.
+ },
+ ],
+ "numberElected": "A String", # The number of candidates that will be elected to office in this contest.
+ "referendumUrl": "A String", # A link to the referendum. This field is only populated for contests of type 'Referendum'.
+ "electorateSpecifications": "A String", # A description of any additional eligibility requirements for voting in this contest.
+ "referendumTitle": "A String", # The title of the referendum (e.g. 'Proposition 42'). This field is only populated for contests of type 'Referendum'.
+ "id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.
+ "special": "A String", # "Yes" or "No" depending on whether this a contest being held outside the normal election cycle.
+ },
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/civicinfo_v1.html b/docs/dyn/civicinfo_v1.html
new file mode 100644
index 0000000..4476d0e
--- /dev/null
+++ b/docs/dyn/civicinfo_v1.html
@@ -0,0 +1,92 @@
+<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="civicinfo_v1.html">Google Civic Information API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="civicinfo_v1.divisions.html">divisions()</a></code>
+</p>
+<p class="firstline">Returns the divisions Resource.</p>
+
+<p class="toc_element">
+ <code><a href="civicinfo_v1.elections.html">elections()</a></code>
+</p>
+<p class="firstline">Returns the elections Resource.</p>
+
+<p class="toc_element">
+ <code><a href="civicinfo_v1.representatives.html">representatives()</a></code>
+</p>
+<p class="firstline">Returns the representatives Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/civicinfo_v1.representatives.html b/docs/dyn/civicinfo_v1.representatives.html
new file mode 100644
index 0000000..0bd478e
--- /dev/null
+++ b/docs/dyn/civicinfo_v1.representatives.html
@@ -0,0 +1,176 @@
+<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="civicinfo_v1.html">Google Civic Information API</a> . <a href="civicinfo_v1.representatives.html">representatives</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#representativeInfoQuery">representativeInfoQuery(body, recursive=None, ocdId=None, includeOffices=None)</a></code></p>
+<p class="firstline">Looks up political geography and representative information based on an address or Open Civic Data division identifier.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="representativeInfoQuery">representativeInfoQuery(body, recursive=None, ocdId=None, includeOffices=None)</code>
+ <pre>Looks up political geography and representative information based on an address or Open Civic Data division identifier.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A request for political geography and representative information for an address.
+ "address": "A String", # The address to look up. May only be specified if the field ocdId is not given in the URL.
+ }
+
+ recursive: boolean, When ocd_id is supplied, return all divisions which are hierarchically nested within the queried division. For example, if querying ocd-division/country:us/district:dc, this would also return all DC's wards and ANCs.
+ ocdId: string, The division to look up. May only be specified if the address field is not given in the request body.
+ includeOffices: boolean, Whether to return information about offices and officials. If false, only the top-level district information will be returned.
+
+Returns:
+ An object of the form:
+
+ { # The result of a representative info lookup query.
+ "status": "A String", # The result of the request. One of: success, noStreetSegmentFound, addressUnparseable, noAddressParameter, multipleStreetSegmentsFound, electionOver, electionUnknown, internalLookupFailure, RequestedBothAddressAndOcdId
+ "divisions": { # Political geographic divisions that contain the requested address.
+ "a_key": { # Describes a political geography. # The unique Open Civic Data identifier for this division.
+ "scope": "A String", # The geographic scope of the division. If unspecified, the division's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special
+ "officeIds": [ # List of keys in the offices object, one for each office elected from this division. Will only be present if includeOffices was true (or absent) in the request.
+ "A String",
+ ],
+ "alsoKnownAs": [ # Any other valid OCD IDs that refer to the same division. For example, if this division's OCD ID is ocd-division/country:us/district:dc, this will contain ocd-division/country:us/state:dc.
+ "A String",
+ ],
+ "name": "A String", # The name of the division.
+ },
+ },
+ "kind": "civicinfo#representativeInfoResponse", # Identifies what kind of resource this is. Value: the fixed string "civicinfo#representativeInfoResponse".
+ "normalizedInput": { # A simple representation of an address. # The normalized version of the requested address
+ "city": "A String", # The city or town for the address.
+ "zip": "A String", # The US Postal Zip Code of the address.
+ "line3": "A String", # The third line of the address, if needed.
+ "line2": "A String", # The second line the address, if needed.
+ "line1": "A String", # The street name and number of this address.
+ "locationName": "A String", # The name of the location.
+ "state": "A String", # The US two letter state abbreviation of the address.
+ },
+ "officials": { # Officials holding the offices listed above. Will only be present if includeOffices was true in the request.
+ "a_key": { # Information about a official holding an elected office. # A unique identifier for this official, within the context of this request. Identifiers are *not* long-lived: the same official may get different IDs on different requests.
+ "name": "A String", # The official's name.
+ "photoUrl": "A String", # A URL for a photo of the official.
+ "phones": [ # The official's public contact phone numbers.
+ "A String",
+ ],
+ "channels": [ # A list of known (social) media channels for this official.
+ { # A social media or web channel for a candidate.
+ "type": "A String", # The type of channel. The following is a list of types of channels, but is not exhaustive. More channel types may be added at a later time. One of: GooglePlus, YouTube, Facebook, Twitter
+ "id": "A String", # The unique public identifier for the candidate's channel.
+ },
+ ],
+ "urls": [ # The official's public website URLs.
+ "A String",
+ ],
+ "address": [ # Addresses at which to contact the official.
+ { # A simple representation of an address.
+ "city": "A String", # The city or town for the address.
+ "zip": "A String", # The US Postal Zip Code of the address.
+ "line3": "A String", # The third line of the address, if needed.
+ "line2": "A String", # The second line the address, if needed.
+ "line1": "A String", # The street name and number of this address.
+ "locationName": "A String", # The name of the location.
+ "state": "A String", # The US two letter state abbreviation of the address.
+ },
+ ],
+ "party": "A String", # The full name of the party the official belongs to.
+ "emails": [ # The direct email addresses for the official.
+ "A String",
+ ],
+ },
+ },
+ "offices": { # Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.
+ "a_key": { # Information about an Office held by one or more Officials. # A unique identifier for this office, within the context of this request. Identifiers are *not* long-lived: the same office may get different IDs on different requests.
+ "divisionId": "A String", # The OCD ID of the division with which this office is associated.
+ "sources": [ # A list of sources for this office. If multiple sources are listed, the data has been aggregated from those sources.
+ { # Contains information about the data source for the element containing it.
+ "official": True or False, # Whether this data comes from an official government source.
+ "name": "A String", # The name of the data source.
+ },
+ ],
+ "officialIds": [ # List of keys in the officials object of people who presently hold this office.
+ "A String",
+ ],
+ "name": "A String", # The human-readable name of the office.
+ "level": "A String", # The level of this elected office. One of: federal, state, county, city, other
+ },
+ },
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/cloudmonitoring_v2beta1.html b/docs/dyn/cloudmonitoring_v2beta1.html
new file mode 100644
index 0000000..b0b0520
--- /dev/null
+++ b/docs/dyn/cloudmonitoring_v2beta1.html
@@ -0,0 +1,92 @@
+<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="cloudmonitoring_v2beta1.html">Cloud Monitoring API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="cloudmonitoring_v2beta1.metricDescriptors.html">metricDescriptors()</a></code>
+</p>
+<p class="firstline">Returns the metricDescriptors Resource.</p>
+
+<p class="toc_element">
+ <code><a href="cloudmonitoring_v2beta1.timeseries.html">timeseries()</a></code>
+</p>
+<p class="firstline">Returns the timeseries Resource.</p>
+
+<p class="toc_element">
+ <code><a href="cloudmonitoring_v2beta1.timeseriesDescriptors.html">timeseriesDescriptors()</a></code>
+</p>
+<p class="firstline">Returns the timeseriesDescriptors Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/cloudmonitoring_v2beta1.metricDescriptors.html b/docs/dyn/cloudmonitoring_v2beta1.metricDescriptors.html
new file mode 100644
index 0000000..04fc5df
--- /dev/null
+++ b/docs/dyn/cloudmonitoring_v2beta1.metricDescriptors.html
@@ -0,0 +1,134 @@
+<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="cloudmonitoring_v2beta1.html">Cloud Monitoring API</a> . <a href="cloudmonitoring_v2beta1.metricDescriptors.html">metricDescriptors</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#list">list(project, count=None, pageToken=None, query=None)</a></code></p>
+<p class="firstline">List metric descriptors that match the query. If the query is not set, then all of the metric descriptors will be returned. Large responses will be paginated, use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="list">list(project, count=None, pageToken=None, query=None)</code>
+ <pre>List metric descriptors that match the query. If the query is not set, then all of the metric descriptors will be returned. Large responses will be paginated, use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.
+
+Args:
+ project: string, The project id. The value can be the numeric project ID or string-based project name. (required)
+ count: integer, Maximum number of metric descriptors per page. Used for pagination. If not specified, count = 100.
+ pageToken: string, The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageToken to retrieve the next page of results.
+ query: string, The query used to search against existing metrics. Separate keywords with a space; the service joins all keywords with AND, meaning that all keywords must match for a metric to be returned. If this field is omitted, all metrics are returned. If an empty string is passed with this field, no metrics are returned.
+
+Returns:
+ An object of the form:
+
+ { # The response of cloudmonitoring.metricDescriptors.list.
+ "metrics": [ # The returned metric descriptors.
+ { # A metricDescriptor defines the name, label keys, and data type of a particular metric.
+ "project": "A String", # The project ID to which the metric belongs.
+ "labels": [ # Labels defined for this metric.
+ { # A label in a metric is a description of this metric, including the key of this description (what the description is), and the value for this description.
+ "description": "A String", # Label description.
+ "key": "A String", # Label key.
+ },
+ ],
+ "typeDescriptor": { # A type in a metric contains information about how the metric is collected and what its data points look like. # Type description for this metric.
+ "valueType": "A String", # The type of data that is written to a timeseries point for this metric.
+ "metricType": "A String", # The method of collecting data for the metric.
+ },
+ "description": "A String", # Description of this metric.
+ "name": "A String", # The name of this metric.
+ },
+ ],
+ "nextPageToken": "A String", # Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, pass this value to the pageToken query parameter.
+ "kind": "cloudmonitoring#listMetricDescriptorsResponse", # Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listMetricDescriptorsResponse".
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/cloudmonitoring_v2beta1.timeseries.html b/docs/dyn/cloudmonitoring_v2beta1.timeseries.html
new file mode 100644
index 0000000..8b9183e
--- /dev/null
+++ b/docs/dyn/cloudmonitoring_v2beta1.timeseries.html
@@ -0,0 +1,173 @@
+<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="cloudmonitoring_v2beta1.html">Cloud Monitoring API</a> . <a href="cloudmonitoring_v2beta1.timeseries.html">timeseries</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#list">list(project, metric, youngest, count=None, timespan=None, labels=None, pageToken=None, oldest=None)</a></code></p>
+<p class="firstline">List the data points of the time series that match the metric and labels values and that have data points in the interval. Large responses are paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="list">list(project, metric, youngest, count=None, timespan=None, labels=None, pageToken=None, oldest=None)</code>
+ <pre>List the data points of the time series that match the metric and labels values and that have data points in the interval. Large responses are paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.
+
+Args:
+ project: string, The project ID to which this time series belongs. The value can be the numeric project ID or string-based project name. (required)
+ metric: string, Metric names are protocol-free URLs as listed in the Supported Metrics page. For example, compute.googleapis.com/instance/disk/read_ops_count. (required)
+ youngest: string, End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp. (required)
+ count: integer, Maximum number of data points per page, which is used for pagination of results.
+ timespan: string, Length of the time interval to query, which is an alternative way to declare the interval: (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together. Units:
+- s: second
+- m: minute
+- h: hour
+- d: day
+- w: week Examples: 2s, 3m, 4w. Only one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+
+If neither oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, youngest].
+ labels: string, A collection of labels for the matching time series, which are represented as:
+- key==value: key equals the value
+- key=~value: key regex matches the value
+- key!=value: key does not equal the value
+- key!~value: key regex does not match the value For example, to list all of the time series descriptors for the region us-central1, you could specify:
+label=cloud.googleapis.com%2Flocation=~us-central1.* (repeated)
+ pageToken: string, The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageToken to retrieve the next page of results.
+ oldest: string, Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, youngest]
+
+Returns:
+ An object of the form:
+
+ { # The response of cloudmonitoring.timeseries.list
+ "nextPageToken": "A String", # Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, set the pageToken query parameter to this value. All of the points of a time series will be returned before returning any point of the subsequent time series.
+ "youngest": "A String", # The youngest timestamp of the interval of this query as an RFC 3339 string.
+ "kind": "cloudmonitoring#listTimeseriesResponse", # Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listTimeseriesResponse".
+ "oldest": "A String", # The oldest timestamp of the interval of this query as an RFC 3339 string.
+ "timeseries": [ # The returned time series.
+ { # The monitoring data is organized as metrics and stored as data points that are recorded over time. Each data point represents information like the CPU utilization of your virtual machine. A historical record of these data points is called a time series.
+ "timeseriesDesc": { # TimeseriesDescriptor identifies a single time series. # The descriptor of this time series.
+ "project": "A String", # The Developers Console project number to which this time series belongs.
+ "metric": "A String", # The name of the metric.
+ "labels": { # The set of key-value pairs that describe this time series, including target-specific labels and metric-specific labels.
+ "a_key": "A String", # The label's name.
+ },
+ },
+ "points": [ # The data points of this time series. The points are listed in order of their end timestamp, from younger to older.
+ { # Point is a single point in a time series. It consists of a start time, an end time, and a value.
+ "end": "A String", # The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3999 strings.
+ "doubleValue": 3.14, # The value of this data point as a double-precision floating-point number.
+ "start": "A String", # The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3999 strings.
+ "boolValue": True or False, # The value of this data point. Either "true" or "false".
+ "distributionValue": { # Distribution data point value type. When writing distribution points, try to be consistent with the boundaries of your buckets. If you must modify the bucket boundaries, then do so by merging, partitioning, or appending rather than skewing them. # The value of this data point as a distribution. A distribution value can contain a list of buckets and/or an underflowBucket and an overflowBucket. The values of these points can be used to create a histogram.
+ "buckets": [ # The finite buckets.
+ { # The histogram's bucket. Buckets that form the histogram of a distribution value. If the upper bound of a bucket, say U1, does not equal the lower bound of the next bucket, say L2, this means that there is no event in [U1, L2).
+ "count": "A String", # The number of events whose values are in the interval defined by this bucket.
+ "lowerBound": 3.14, # The lower bound of the value interval of this bucket (inclusive).
+ "upperBound": 3.14, # The upper bound of the value interval of this bucket (exclusive).
+ },
+ ],
+ "underflowBucket": { # The underflow bucket is a special bucket that does not have the lowerBound field; it includes all of the events that are less than its upper bound. # The underflow bucket.
+ "count": "A String", # The number of events whose values are in the interval defined by this bucket.
+ "upperBound": 3.14, # The upper bound of the value interval of this bucket (exclusive).
+ },
+ "overflowBucket": { # The overflow bucket is a special bucket that does not have the upperBound field; it includes all of the events that are no less than its lower bound. # The overflow bucket.
+ "count": "A String", # The number of events whose values are in the interval defined by this bucket.
+ "lowerBound": 3.14, # The lower bound of the value interval of this bucket (inclusive).
+ },
+ },
+ "stringValue": "A String", # The value of this data point in string format.
+ "int64Value": "A String", # The value of this data point as a 64-bit integer.
+ },
+ ],
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/cloudmonitoring_v2beta1.timeseriesDescriptors.html b/docs/dyn/cloudmonitoring_v2beta1.timeseriesDescriptors.html
new file mode 100644
index 0000000..311be03
--- /dev/null
+++ b/docs/dyn/cloudmonitoring_v2beta1.timeseriesDescriptors.html
@@ -0,0 +1,144 @@
+<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="cloudmonitoring_v2beta1.html">Cloud Monitoring API</a> . <a href="cloudmonitoring_v2beta1.timeseriesDescriptors.html">timeseriesDescriptors</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#list">list(project, metric, youngest, count=None, timespan=None, labels=None, pageToken=None, oldest=None)</a></code></p>
+<p class="firstline">List the descriptors of the time series that match the metric and labels values and that have data points in the interval. Large responses are paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="list">list(project, metric, youngest, count=None, timespan=None, labels=None, pageToken=None, oldest=None)</code>
+ <pre>List the descriptors of the time series that match the metric and labels values and that have data points in the interval. Large responses are paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.
+
+Args:
+ project: string, The project ID to which this time series belongs. The value can be the numeric project ID or string-based project name. (required)
+ metric: string, Metric names are protocol-free URLs as listed in the Supported Metrics page. For example, compute.googleapis.com/instance/disk/read_ops_count. (required)
+ youngest: string, End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp. (required)
+ count: integer, Maximum number of time series descriptors per page. Used for pagination. If not specified, count = 100.
+ timespan: string, Length of the time interval to query, which is an alternative way to declare the interval: (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together. Units:
+- s: second
+- m: minute
+- h: hour
+- d: day
+- w: week Examples: 2s, 3m, 4w. Only one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+
+If neither oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, youngest].
+ labels: string, A collection of labels for the matching time series, which are represented as:
+- key==value: key equals the value
+- key=~value: key regex matches the value
+- key!=value: key does not equal the value
+- key!~value: key regex does not match the value For example, to list all of the time series descriptors for the region us-central1, you could specify:
+label=cloud.googleapis.com%2Flocation=~us-central1.* (repeated)
+ pageToken: string, The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageToken to retrieve the next page of results.
+ oldest: string, Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, youngest]
+
+Returns:
+ An object of the form:
+
+ { # The response of cloudmonitoring.timeseriesDescriptors.list
+ "nextPageToken": "A String", # Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, set this value to the pageToken query parameter.
+ "youngest": "A String", # The youngest timestamp of the interval of this query, as an RFC 3339 string.
+ "kind": "cloudmonitoring#listTimeseriesDescriptorsResponse", # Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listTimeseriesDescriptorsResponse".
+ "oldest": "A String", # The oldest timestamp of the interval of this query, as an RFC 3339 string.
+ "timeseries": [ # The returned time series descriptors.
+ { # TimeseriesDescriptor identifies a single time series.
+ "project": "A String", # The Developers Console project number to which this time series belongs.
+ "metric": "A String", # The name of the metric.
+ "labels": { # The set of key-value pairs that describe this time series, including target-specific labels and metric-specific labels.
+ "a_key": "A String", # The label's name.
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/compute_v1.addresses.html b/docs/dyn/compute_v1.addresses.html
index 4064fcc..c8b2552 100644
--- a/docs/dyn/compute_v1.addresses.html
+++ b/docs/dyn/compute_v1.addresses.html
@@ -128,7 +128,7 @@
"status": "A String", # The status of the address (output only).
"kind": "compute#address", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
- "region": "A String", # URL of the region where the address resides (output only).
+ "region": "A String", # URL of the region where the regional address resides (output only). This field is not applicable to global addresses.
"address": "A String", # The IP address represented by this resource.
"users": [ # The resources that are using this address resource.
"A String",
@@ -234,7 +234,7 @@
"status": "A String", # The status of the address (output only).
"kind": "compute#address", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
- "region": "A String", # URL of the region where the address resides (output only).
+ "region": "A String", # URL of the region where the regional address resides (output only). This field is not applicable to global addresses.
"address": "A String", # The IP address represented by this resource.
"users": [ # The resources that are using this address resource.
"A String",
@@ -260,7 +260,7 @@
"status": "A String", # The status of the address (output only).
"kind": "compute#address", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
- "region": "A String", # URL of the region where the address resides (output only).
+ "region": "A String", # URL of the region where the regional address resides (output only). This field is not applicable to global addresses.
"address": "A String", # The IP address represented by this resource.
"users": [ # The resources that are using this address resource.
"A String",
@@ -341,7 +341,7 @@
"status": "A String", # The status of the address (output only).
"kind": "compute#address", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
- "region": "A String", # URL of the region where the address resides (output only).
+ "region": "A String", # URL of the region where the regional address resides (output only). This field is not applicable to global addresses.
"address": "A String", # The IP address represented by this resource.
"users": [ # The resources that are using this address resource.
"A String",
diff --git a/docs/dyn/compute_v1.backendServices.html b/docs/dyn/compute_v1.backendServices.html
new file mode 100644
index 0000000..2027de1
--- /dev/null
+++ b/docs/dyn/compute_v1.backendServices.html
@@ -0,0 +1,552 @@
+<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="compute_v1.html">Compute Engine API</a> . <a href="compute_v1.backendServices.html">backendServices</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(project, backendService)</a></code></p>
+<p class="firstline">Deletes the specified BackendService resource.</p>
+<p class="toc_element">
+ <code><a href="#get">get(project, backendService)</a></code></p>
+<p class="firstline">Returns the specified BackendService resource.</p>
+<p class="toc_element">
+ <code><a href="#getHealth">getHealth(project, backendService, body)</a></code></p>
+<p class="firstline">Gets the most recent health check results for this BackendService.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(project, body)</a></code></p>
+<p class="firstline">Creates a BackendService resource in the specified project using the data included in the request.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Retrieves the list of BackendService resources available to the specified project.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(project, backendService, body)</a></code></p>
+<p class="firstline">Update the entire content of the BackendService resource. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(project, backendService, body)</a></code></p>
+<p class="firstline">Update the entire content of the BackendService resource.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(project, backendService)</code>
+ <pre>Deletes the specified BackendService resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ backendService: string, Name of the BackendService resource to delete. (required)
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(project, backendService)</code>
+ <pre>Returns the specified BackendService resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ backendService: string, Name of the BackendService resource to return. (required)
+
+Returns:
+ An object of the form:
+
+ { # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity.
+ "kind": "compute#backendService", # Type of the resource.
+ "protocol": "A String",
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds.
+ "port": 42, # The TCP port to connect on the backend. The default value is 80.
+ "backends": [ # The list of backends that serve this BackendService.
+ { # Message containing information of one individual backend.
+ "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource.
+ "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created.
+ "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1].
+ "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "capacityScaler": 3.14, # The multiplier (a value between 0 and 1e6) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0, 1e6].
+ "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION.
+ },
+ ],
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService.
+ "portName": "A String", # Name of backend port. The same name should appear in the resource views referenced by this service. Required.
+ "healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required.
+ "A String",
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="getHealth">getHealth(project, backendService, body)</code>
+ <pre>Gets the most recent health check results for this BackendService.
+
+Args:
+ project: string, A parameter (required)
+ backendService: string, Name of the BackendService resource to which the queried instance belongs. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "group": "A String", # A URI referencing one of the resource views listed in the backend service.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "compute#backendServiceGroupHealth", # Type of resource.
+ "healthStatus": [
+ {
+ "instance": "A String", # URL of the instance resource.
+ "healthState": "A String", # Health state of the instance.
+ "ipAddress": "A String", # The IP address represented by this resource.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(project, body)</code>
+ <pre>Creates a BackendService resource in the specified project using the data included in the request.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity.
+ "kind": "compute#backendService", # Type of the resource.
+ "protocol": "A String",
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds.
+ "port": 42, # The TCP port to connect on the backend. The default value is 80.
+ "backends": [ # The list of backends that serve this BackendService.
+ { # Message containing information of one individual backend.
+ "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource.
+ "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created.
+ "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1].
+ "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "capacityScaler": 3.14, # The multiplier (a value between 0 and 1e6) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0, 1e6].
+ "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION.
+ },
+ ],
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService.
+ "portName": "A String", # Name of backend port. The same name should appear in the resource views referenced by this service. Required.
+ "healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required.
+ "A String",
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Retrieves the list of BackendService resources available to the specified project.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.
+ pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
+ filter: string, Optional. Filter expression for filtering listed resources.
+
+Returns:
+ An object of the form:
+
+ { # Contains a list of BackendService resources.
+ "nextPageToken": "A String", # A token used to continue a truncated list request (output only).
+ "items": [ # The BackendService resources.
+ { # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity.
+ "kind": "compute#backendService", # Type of the resource.
+ "protocol": "A String",
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds.
+ "port": 42, # The TCP port to connect on the backend. The default value is 80.
+ "backends": [ # The list of backends that serve this BackendService.
+ { # Message containing information of one individual backend.
+ "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource.
+ "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created.
+ "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1].
+ "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "capacityScaler": 3.14, # The multiplier (a value between 0 and 1e6) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0, 1e6].
+ "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION.
+ },
+ ],
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService.
+ "portName": "A String", # Name of backend port. The same name should appear in the resource views referenced by this service. Required.
+ "healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required.
+ "A String",
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ },
+ ],
+ "kind": "compute#backendServiceList", # Type of resource.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for this resource (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(project, backendService, body)</code>
+ <pre>Update the entire content of the BackendService resource. This method supports patch semantics.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ backendService: string, Name of the BackendService resource to update. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity.
+ "kind": "compute#backendService", # Type of the resource.
+ "protocol": "A String",
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds.
+ "port": 42, # The TCP port to connect on the backend. The default value is 80.
+ "backends": [ # The list of backends that serve this BackendService.
+ { # Message containing information of one individual backend.
+ "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource.
+ "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created.
+ "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1].
+ "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "capacityScaler": 3.14, # The multiplier (a value between 0 and 1e6) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0, 1e6].
+ "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION.
+ },
+ ],
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService.
+ "portName": "A String", # Name of backend port. The same name should appear in the resource views referenced by this service. Required.
+ "healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required.
+ "A String",
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(project, backendService, body)</code>
+ <pre>Update the entire content of the BackendService resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ backendService: string, Name of the BackendService resource to update. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity.
+ "kind": "compute#backendService", # Type of the resource.
+ "protocol": "A String",
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds.
+ "port": 42, # The TCP port to connect on the backend. The default value is 80.
+ "backends": [ # The list of backends that serve this BackendService.
+ { # Message containing information of one individual backend.
+ "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource.
+ "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created.
+ "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1].
+ "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "capacityScaler": 3.14, # The multiplier (a value between 0 and 1e6) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0, 1e6].
+ "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
+ "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION.
+ },
+ ],
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService.
+ "portName": "A String", # Name of backend port. The same name should appear in the resource views referenced by this service. Required.
+ "healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required.
+ "A String",
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/compute_v1.diskTypes.html b/docs/dyn/compute_v1.diskTypes.html
new file mode 100644
index 0000000..8fe3c7a
--- /dev/null
+++ b/docs/dyn/compute_v1.diskTypes.html
@@ -0,0 +1,247 @@
+<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="compute_v1.html">Compute Engine API</a> . <a href="compute_v1.diskTypes.html">diskTypes</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#aggregatedList">aggregatedList(project, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Retrieves the list of disk type resources grouped by scope.</p>
+<p class="toc_element">
+ <code><a href="#aggregatedList_next">aggregatedList_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="#get">get(project, zone, diskType)</a></code></p>
+<p class="firstline">Returns the specified disk type resource.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, zone, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Retrieves the list of disk type resources available to the specified project.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="aggregatedList">aggregatedList(project, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Retrieves the list of disk type resources grouped by scope.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.
+ pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
+ filter: string, Optional. Filter expression for filtering listed resources.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String", # A token used to continue a truncated list request (output only).
+ "items": { # A map of scoped disk type lists.
+ "a_key": { # Name of the scope containing this set of disk types.
+ "warning": { # Informational warning which replaces the list of disk types when the list is empty.
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ "diskTypes": [ # List of disk types contained in this scope.
+ { # A disk type resource.
+ "kind": "compute#diskType", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource.
+ "zone": "A String", # Url of the zone where the disk type resides (output only).
+ "validDiskSize": "A String", # An optional textual descroption of the valid disk size, e.g., "10GB-10TB".
+ "deprecated": { # Deprecation status for a public resource. # The deprecation status associated with this disk type.
+ "deleted": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DELETED.
+ "deprecated": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DEPRECATED.
+ "state": "A String", # The deprecation state. Can be "DEPRECATED", "OBSOLETE", or "DELETED". Operations which create a new resource using a "DEPRECATED" resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. New uses of "OBSOLETE" or "DELETED" resources will result in an error.
+ "obsolete": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to OBSOLETE.
+ "replacement": "A String", # A URL of the suggested replacement for the deprecated resource. The deprecated resource and its replacement must be resources of the same kind.
+ },
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource.
+ },
+ ],
+ },
+ },
+ "kind": "compute#diskTypeAggregatedList", # Type of resource.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for this resource (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(project, zone, diskType)</code>
+ <pre>Returns the specified disk type resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ zone: string, Name of the zone scoping this request. (required)
+ diskType: string, Name of the disk type resource to return. (required)
+
+Returns:
+ An object of the form:
+
+ { # A disk type resource.
+ "kind": "compute#diskType", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource.
+ "zone": "A String", # Url of the zone where the disk type resides (output only).
+ "validDiskSize": "A String", # An optional textual descroption of the valid disk size, e.g., "10GB-10TB".
+ "deprecated": { # Deprecation status for a public resource. # The deprecation status associated with this disk type.
+ "deleted": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DELETED.
+ "deprecated": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DEPRECATED.
+ "state": "A String", # The deprecation state. Can be "DEPRECATED", "OBSOLETE", or "DELETED". Operations which create a new resource using a "DEPRECATED" resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. New uses of "OBSOLETE" or "DELETED" resources will result in an error.
+ "obsolete": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to OBSOLETE.
+ "replacement": "A String", # A URL of the suggested replacement for the deprecated resource. The deprecated resource and its replacement must be resources of the same kind.
+ },
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, zone, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Retrieves the list of disk type resources available to the specified project.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ zone: string, Name of the zone scoping this request. (required)
+ maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.
+ pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
+ filter: string, Optional. Filter expression for filtering listed resources.
+
+Returns:
+ An object of the form:
+
+ { # Contains a list of disk type resources.
+ "nextPageToken": "A String", # A token used to continue a truncated list request (output only).
+ "items": [ # The disk type resources.
+ { # A disk type resource.
+ "kind": "compute#diskType", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource.
+ "zone": "A String", # Url of the zone where the disk type resides (output only).
+ "validDiskSize": "A String", # An optional textual descroption of the valid disk size, e.g., "10GB-10TB".
+ "deprecated": { # Deprecation status for a public resource. # The deprecation status associated with this disk type.
+ "deleted": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DELETED.
+ "deprecated": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DEPRECATED.
+ "state": "A String", # The deprecation state. Can be "DEPRECATED", "OBSOLETE", or "DELETED". Operations which create a new resource using a "DEPRECATED" resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. New uses of "OBSOLETE" or "DELETED" resources will result in an error.
+ "obsolete": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to OBSOLETE.
+ "replacement": "A String", # A URL of the suggested replacement for the deprecated resource. The deprecated resource and its replacement must be resources of the same kind.
+ },
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource.
+ },
+ ],
+ "kind": "compute#diskTypeList", # Type of resource.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for this resource (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/compute_v1.disks.html b/docs/dyn/compute_v1.disks.html
index 0e477f8..94b5a0e 100644
--- a/docs/dyn/compute_v1.disks.html
+++ b/docs/dyn/compute_v1.disks.html
@@ -123,13 +123,17 @@
"kind": "compute#disk", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
"sizeGb": "A String", # Size of the persistent disk, specified in GB. This parameter is optional when creating a disk from a disk image or a snapshot, otherwise it is required.
- "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "type": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
+ "options": "A String", # Internal use only.
"sourceImageId": "A String", # The 'id' value of the image used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given image.
- "sourceImage": "A String", # The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.
"sourceSnapshotId": "A String", # The 'id' value of the snapshot used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given disk snapshot.
+ "sourceImage": "A String", # The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"zone": "A String", # URL of the zone where the disk resides (output only).
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
- "options": "A String", # Internal use only.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
"name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
},
@@ -186,6 +190,9 @@
"storageBytesStatus": "A String", # An indicator whether storageBytes is in a stable state, or it is being adjusted as a result of shared storage reallocation.
"sourceDiskId": "A String", # The 'id' value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
"diskSizeGb": "A String", # Size of the persistent disk snapshot, specified in GB (output only).
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
@@ -316,13 +323,17 @@
"kind": "compute#disk", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
"sizeGb": "A String", # Size of the persistent disk, specified in GB. This parameter is optional when creating a disk from a disk image or a snapshot, otherwise it is required.
- "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "type": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
+ "options": "A String", # Internal use only.
"sourceImageId": "A String", # The 'id' value of the image used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given image.
- "sourceImage": "A String", # The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.
"sourceSnapshotId": "A String", # The 'id' value of the snapshot used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given disk snapshot.
+ "sourceImage": "A String", # The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"zone": "A String", # URL of the zone where the disk resides (output only).
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
- "options": "A String", # Internal use only.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
"name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
}</pre>
@@ -344,13 +355,17 @@
"kind": "compute#disk", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
"sizeGb": "A String", # Size of the persistent disk, specified in GB. This parameter is optional when creating a disk from a disk image or a snapshot, otherwise it is required.
- "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "type": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
+ "options": "A String", # Internal use only.
"sourceImageId": "A String", # The 'id' value of the image used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given image.
- "sourceImage": "A String", # The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.
"sourceSnapshotId": "A String", # The 'id' value of the snapshot used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given disk snapshot.
+ "sourceImage": "A String", # The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"zone": "A String", # URL of the zone where the disk resides (output only).
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
- "options": "A String", # Internal use only.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
"name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
}
@@ -428,13 +443,17 @@
"kind": "compute#disk", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
"sizeGb": "A String", # Size of the persistent disk, specified in GB. This parameter is optional when creating a disk from a disk image or a snapshot, otherwise it is required.
- "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "type": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
+ "options": "A String", # Internal use only.
"sourceImageId": "A String", # The 'id' value of the image used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given image.
- "sourceImage": "A String", # The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.
"sourceSnapshotId": "A String", # The 'id' value of the snapshot used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given disk snapshot.
+ "sourceImage": "A String", # The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"zone": "A String", # URL of the zone where the disk resides (output only).
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
- "options": "A String", # Internal use only.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
"name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
},
diff --git a/docs/dyn/compute_v1.forwardingRules.html b/docs/dyn/compute_v1.forwardingRules.html
index 5068664..acabb8e 100644
--- a/docs/dyn/compute_v1.forwardingRules.html
+++ b/docs/dyn/compute_v1.forwardingRules.html
@@ -120,11 +120,11 @@
{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
"kind": "compute#forwardingRule", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
- "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. The address resource must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP will be assigned.
- "region": "A String", # URL of the region where the forwarding rule resides (output only).
- "target": "A String", # The URL of the target resource to receive the matched traffic. It must live in the same region as this forwarding rule.
- "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. @pattern: \d+(?:-\d+)?
- "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'
+ "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned.
+ "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules.
+ "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource.
+ "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
+ "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'.
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
@@ -235,11 +235,11 @@
{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
"kind": "compute#forwardingRule", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
- "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. The address resource must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP will be assigned.
- "region": "A String", # URL of the region where the forwarding rule resides (output only).
- "target": "A String", # The URL of the target resource to receive the matched traffic. It must live in the same region as this forwarding rule.
- "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. @pattern: \d+(?:-\d+)?
- "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'
+ "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned.
+ "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules.
+ "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource.
+ "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
+ "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'.
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
@@ -260,11 +260,11 @@
{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
"kind": "compute#forwardingRule", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
- "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. The address resource must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP will be assigned.
- "region": "A String", # URL of the region where the forwarding rule resides (output only).
- "target": "A String", # The URL of the target resource to receive the matched traffic. It must live in the same region as this forwarding rule.
- "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. @pattern: \d+(?:-\d+)?
- "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'
+ "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned.
+ "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules.
+ "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource.
+ "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
+ "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'.
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
@@ -340,11 +340,11 @@
{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
"kind": "compute#forwardingRule", # Type of the resource.
"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
- "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. The address resource must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP will be assigned.
- "region": "A String", # URL of the region where the forwarding rule resides (output only).
- "target": "A String", # The URL of the target resource to receive the matched traffic. It must live in the same region as this forwarding rule.
- "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. @pattern: \d+(?:-\d+)?
- "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'
+ "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned.
+ "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules.
+ "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource.
+ "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
+ "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'.
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
diff --git a/docs/dyn/compute_v1.globalAddresses.html b/docs/dyn/compute_v1.globalAddresses.html
new file mode 100644
index 0000000..a857d0e
--- /dev/null
+++ b/docs/dyn/compute_v1.globalAddresses.html
@@ -0,0 +1,300 @@
+<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="compute_v1.html">Compute Engine API</a> . <a href="compute_v1.globalAddresses.html">globalAddresses</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(project, address)</a></code></p>
+<p class="firstline">Deletes the specified address resource.</p>
+<p class="toc_element">
+ <code><a href="#get">get(project, address)</a></code></p>
+<p class="firstline">Returns the specified address resource.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(project, body)</a></code></p>
+<p class="firstline">Creates an address resource in the specified project using the data included in the request.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Retrieves the list of global address resources.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(project, address)</code>
+ <pre>Deletes the specified address resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ address: string, Name of the address resource to delete. (required)
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(project, address)</code>
+ <pre>Returns the specified address resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ address: string, Name of the address resource to return. (required)
+
+Returns:
+ An object of the form:
+
+ { # A reserved address resource.
+ "status": "A String", # The status of the address (output only).
+ "kind": "compute#address", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "region": "A String", # URL of the region where the regional address resides (output only). This field is not applicable to global addresses.
+ "address": "A String", # The IP address represented by this resource.
+ "users": [ # The resources that are using this address resource.
+ "A String",
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(project, body)</code>
+ <pre>Creates an address resource in the specified project using the data included in the request.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A reserved address resource.
+ "status": "A String", # The status of the address (output only).
+ "kind": "compute#address", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "region": "A String", # URL of the region where the regional address resides (output only). This field is not applicable to global addresses.
+ "address": "A String", # The IP address represented by this resource.
+ "users": [ # The resources that are using this address resource.
+ "A String",
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Retrieves the list of global address resources.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.
+ pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
+ filter: string, Optional. Filter expression for filtering listed resources.
+
+Returns:
+ An object of the form:
+
+ { # Contains a list of address resources.
+ "nextPageToken": "A String", # A token used to continue a truncated list request (output only).
+ "items": [ # The address resources.
+ { # A reserved address resource.
+ "status": "A String", # The status of the address (output only).
+ "kind": "compute#address", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "region": "A String", # URL of the region where the regional address resides (output only). This field is not applicable to global addresses.
+ "address": "A String", # The IP address represented by this resource.
+ "users": [ # The resources that are using this address resource.
+ "A String",
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ },
+ ],
+ "kind": "compute#addressList", # Type of resource.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/compute_v1.globalForwardingRules.html b/docs/dyn/compute_v1.globalForwardingRules.html
new file mode 100644
index 0000000..55ed6c6
--- /dev/null
+++ b/docs/dyn/compute_v1.globalForwardingRules.html
@@ -0,0 +1,363 @@
+<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="compute_v1.html">Compute Engine API</a> . <a href="compute_v1.globalForwardingRules.html">globalForwardingRules</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(project, forwardingRule)</a></code></p>
+<p class="firstline">Deletes the specified ForwardingRule resource.</p>
+<p class="toc_element">
+ <code><a href="#get">get(project, forwardingRule)</a></code></p>
+<p class="firstline">Returns the specified ForwardingRule resource.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(project, body)</a></code></p>
+<p class="firstline">Creates a ForwardingRule resource in the specified project and region using the data included in the request.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Retrieves the list of ForwardingRule resources available to the specified project.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#setTarget">setTarget(project, forwardingRule, body)</a></code></p>
+<p class="firstline">Changes target url for forwarding rule.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(project, forwardingRule)</code>
+ <pre>Deletes the specified ForwardingRule resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ forwardingRule: string, Name of the ForwardingRule resource to delete. (required)
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(project, forwardingRule)</code>
+ <pre>Returns the specified ForwardingRule resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ forwardingRule: string, Name of the ForwardingRule resource to return. (required)
+
+Returns:
+ An object of the form:
+
+ { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
+ "kind": "compute#forwardingRule", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned.
+ "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules.
+ "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource.
+ "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
+ "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'.
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(project, body)</code>
+ <pre>Creates a ForwardingRule resource in the specified project and region using the data included in the request.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
+ "kind": "compute#forwardingRule", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned.
+ "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules.
+ "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource.
+ "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
+ "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'.
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Retrieves the list of ForwardingRule resources available to the specified project.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.
+ pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
+ filter: string, Optional. Filter expression for filtering listed resources.
+
+Returns:
+ An object of the form:
+
+ { # Contains a list of ForwardingRule resources.
+ "nextPageToken": "A String", # A token used to continue a truncated list request (output only).
+ "items": [ # The ForwardingRule resources.
+ { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
+ "kind": "compute#forwardingRule", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned.
+ "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules.
+ "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource.
+ "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
+ "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'.
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ },
+ ],
+ "kind": "compute#forwardingRuleList", # Type of resource.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for this resource (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="setTarget">setTarget(project, forwardingRule, body)</code>
+ <pre>Changes target url for forwarding rule.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ forwardingRule: string, Name of the ForwardingRule resource in which target is to be set. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "target": "A String",
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/compute_v1.html b/docs/dyn/compute_v1.html
index 6f9386f..56a40b1 100644
--- a/docs/dyn/compute_v1.html
+++ b/docs/dyn/compute_v1.html
@@ -80,6 +80,16 @@
<p class="firstline">Returns the addresses Resource.</p>
<p class="toc_element">
+ <code><a href="compute_v1.backendServices.html">backendServices()</a></code>
+</p>
+<p class="firstline">Returns the backendServices Resource.</p>
+
+<p class="toc_element">
+ <code><a href="compute_v1.diskTypes.html">diskTypes()</a></code>
+</p>
+<p class="firstline">Returns the diskTypes Resource.</p>
+
+<p class="toc_element">
<code><a href="compute_v1.disks.html">disks()</a></code>
</p>
<p class="firstline">Returns the disks Resource.</p>
@@ -95,6 +105,16 @@
<p class="firstline">Returns the forwardingRules Resource.</p>
<p class="toc_element">
+ <code><a href="compute_v1.globalAddresses.html">globalAddresses()</a></code>
+</p>
+<p class="firstline">Returns the globalAddresses Resource.</p>
+
+<p class="toc_element">
+ <code><a href="compute_v1.globalForwardingRules.html">globalForwardingRules()</a></code>
+</p>
+<p class="firstline">Returns the globalForwardingRules Resource.</p>
+
+<p class="toc_element">
<code><a href="compute_v1.globalOperations.html">globalOperations()</a></code>
</p>
<p class="firstline">Returns the globalOperations Resource.</p>
@@ -115,6 +135,11 @@
<p class="firstline">Returns the instances Resource.</p>
<p class="toc_element">
+ <code><a href="compute_v1.licenses.html">licenses()</a></code>
+</p>
+<p class="firstline">Returns the licenses Resource.</p>
+
+<p class="toc_element">
<code><a href="compute_v1.machineTypes.html">machineTypes()</a></code>
</p>
<p class="firstline">Returns the machineTypes Resource.</p>
@@ -150,6 +175,11 @@
<p class="firstline">Returns the snapshots Resource.</p>
<p class="toc_element">
+ <code><a href="compute_v1.targetHttpProxies.html">targetHttpProxies()</a></code>
+</p>
+<p class="firstline">Returns the targetHttpProxies Resource.</p>
+
+<p class="toc_element">
<code><a href="compute_v1.targetInstances.html">targetInstances()</a></code>
</p>
<p class="firstline">Returns the targetInstances Resource.</p>
@@ -160,6 +190,11 @@
<p class="firstline">Returns the targetPools Resource.</p>
<p class="toc_element">
+ <code><a href="compute_v1.urlMaps.html">urlMaps()</a></code>
+</p>
+<p class="firstline">Returns the urlMaps Resource.</p>
+
+<p class="toc_element">
<code><a href="compute_v1.zoneOperations.html">zoneOperations()</a></code>
</p>
<p class="firstline">Returns the zoneOperations Resource.</p>
diff --git a/docs/dyn/compute_v1.images.html b/docs/dyn/compute_v1.images.html
index 31674e3..464bcec 100644
--- a/docs/dyn/compute_v1.images.html
+++ b/docs/dyn/compute_v1.images.html
@@ -232,7 +232,7 @@
"kind": "compute#image", # Type of the resource.
"description": "A String", # Textual description of the resource; provided by the client when the resource is created.
"rawDisk": { # The raw disk image parameters.
- "containerType": "TAR", # The format used to encode and transmit the block device. Should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
+ "containerType": "A String", # The format used to encode and transmit the block device. Should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
"source": "A String", # The full Google Cloud Storage URL where the disk image is stored; provided by the client when the disk image is created.
"sha1Checksum": "A String", # An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the disk image is created.
},
@@ -244,6 +244,12 @@
"replacement": "A String", # A URL of the suggested replacement for the deprecated resource. The deprecated resource and its replacement must be resources of the same kind.
},
"archiveSizeBytes": "A String", # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
+ "sourceDiskId": "A String", # The 'id' value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
+ "diskSizeGb": "A String", # Size of the image when restored onto a disk (in GiB).
+ "sourceDisk": "A String", # The source disk used to create this image. Once the source disk has been deleted from the system, this field will be cleared, and will not be set even if a disk with the same name has been re-created.
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"sourceType": "RAW", # Must be "RAW"; provided by the client when the disk image is created.
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
@@ -266,7 +272,7 @@
"kind": "compute#image", # Type of the resource.
"description": "A String", # Textual description of the resource; provided by the client when the resource is created.
"rawDisk": { # The raw disk image parameters.
- "containerType": "TAR", # The format used to encode and transmit the block device. Should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
+ "containerType": "A String", # The format used to encode and transmit the block device. Should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
"source": "A String", # The full Google Cloud Storage URL where the disk image is stored; provided by the client when the disk image is created.
"sha1Checksum": "A String", # An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the disk image is created.
},
@@ -278,6 +284,12 @@
"replacement": "A String", # A URL of the suggested replacement for the deprecated resource. The deprecated resource and its replacement must be resources of the same kind.
},
"archiveSizeBytes": "A String", # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
+ "sourceDiskId": "A String", # The 'id' value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
+ "diskSizeGb": "A String", # Size of the image when restored onto a disk (in GiB).
+ "sourceDisk": "A String", # The source disk used to create this image. Once the source disk has been deleted from the system, this field will be cleared, and will not be set even if a disk with the same name has been re-created.
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"sourceType": "RAW", # Must be "RAW"; provided by the client when the disk image is created.
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
@@ -355,7 +367,7 @@
"kind": "compute#image", # Type of the resource.
"description": "A String", # Textual description of the resource; provided by the client when the resource is created.
"rawDisk": { # The raw disk image parameters.
- "containerType": "TAR", # The format used to encode and transmit the block device. Should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
+ "containerType": "A String", # The format used to encode and transmit the block device. Should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
"source": "A String", # The full Google Cloud Storage URL where the disk image is stored; provided by the client when the disk image is created.
"sha1Checksum": "A String", # An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the disk image is created.
},
@@ -367,6 +379,12 @@
"replacement": "A String", # A URL of the suggested replacement for the deprecated resource. The deprecated resource and its replacement must be resources of the same kind.
},
"archiveSizeBytes": "A String", # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
+ "sourceDiskId": "A String", # The 'id' value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
+ "diskSizeGb": "A String", # Size of the image when restored onto a disk (in GiB).
+ "sourceDisk": "A String", # The source disk used to create this image. Once the source disk has been deleted from the system, this field will be cleared, and will not be set even if a disk with the same name has been re-created.
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"sourceType": "RAW", # Must be "RAW"; provided by the client when the disk image is created.
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
diff --git a/docs/dyn/compute_v1.instances.html b/docs/dyn/compute_v1.instances.html
index 0d68325..18b068a 100644
--- a/docs/dyn/compute_v1.instances.html
+++ b/docs/dyn/compute_v1.instances.html
@@ -228,16 +228,20 @@
{ # An instance-attached disk resource.
"deviceName": "A String", # Persistent disk only; must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system.
"kind": "compute#attachedDisk", # Type of the resource.
- "initializeParams": { # Initialization parameters for the new disk (Mutually exclusive with 'source', can currently only be specified on the boot disk). # Initialization parameters.
+ "initializeParams": { # Initialization parameters for the new disk (input-only). Can only be specified on the boot disk or local SSDs. Mutually exclusive with 'source'. # Initialization parameters.
"diskSizeGb": "A String", # Size of the disk in base-2 GB.
"diskName": "A String", # Name of the disk (when not provided defaults to the name of the instance).
"sourceImage": "A String", # The source image used to create this disk.
+ "diskType": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
},
"autoDelete": True or False, # Whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
"index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, the server will choose an appropriate value (output only).
"boot": True or False, # Indicates that this is a boot disk. VM will use the first partition of the disk for its root filesystem.
"source": "A String", # Persistent disk only; the URL of the persistent disk resource.
"mode": "A String", # The mode in which to attach this disk, either "READ_WRITE" or "READ_ONLY".
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"type": "A String", # Type of the disk, either "SCRATCH" or "PERSISTENT". Note that persistent disks must be created before you can specify them here.
},
],
@@ -332,16 +336,20 @@
{ # An instance-attached disk resource.
"deviceName": "A String", # Persistent disk only; must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system.
"kind": "compute#attachedDisk", # Type of the resource.
- "initializeParams": { # Initialization parameters for the new disk (Mutually exclusive with 'source', can currently only be specified on the boot disk). # Initialization parameters.
+ "initializeParams": { # Initialization parameters for the new disk (input-only). Can only be specified on the boot disk or local SSDs. Mutually exclusive with 'source'. # Initialization parameters.
"diskSizeGb": "A String", # Size of the disk in base-2 GB.
"diskName": "A String", # Name of the disk (when not provided defaults to the name of the instance).
"sourceImage": "A String", # The source image used to create this disk.
+ "diskType": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
},
"autoDelete": True or False, # Whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
"index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, the server will choose an appropriate value (output only).
"boot": True or False, # Indicates that this is a boot disk. VM will use the first partition of the disk for its root filesystem.
"source": "A String", # Persistent disk only; the URL of the persistent disk resource.
"mode": "A String", # The mode in which to attach this disk, either "READ_WRITE" or "READ_ONLY".
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"type": "A String", # Type of the disk, either "SCRATCH" or "PERSISTENT". Note that persistent disks must be created before you can specify them here.
}
@@ -596,16 +604,20 @@
{ # An instance-attached disk resource.
"deviceName": "A String", # Persistent disk only; must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system.
"kind": "compute#attachedDisk", # Type of the resource.
- "initializeParams": { # Initialization parameters for the new disk (Mutually exclusive with 'source', can currently only be specified on the boot disk). # Initialization parameters.
+ "initializeParams": { # Initialization parameters for the new disk (input-only). Can only be specified on the boot disk or local SSDs. Mutually exclusive with 'source'. # Initialization parameters.
"diskSizeGb": "A String", # Size of the disk in base-2 GB.
"diskName": "A String", # Name of the disk (when not provided defaults to the name of the instance).
"sourceImage": "A String", # The source image used to create this disk.
+ "diskType": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
},
"autoDelete": True or False, # Whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
"index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, the server will choose an appropriate value (output only).
"boot": True or False, # Indicates that this is a boot disk. VM will use the first partition of the disk for its root filesystem.
"source": "A String", # Persistent disk only; the URL of the persistent disk resource.
"mode": "A String", # The mode in which to attach this disk, either "READ_WRITE" or "READ_ONLY".
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"type": "A String", # Type of the disk, either "SCRATCH" or "PERSISTENT". Note that persistent disks must be created before you can specify them here.
},
],
@@ -700,16 +712,20 @@
{ # An instance-attached disk resource.
"deviceName": "A String", # Persistent disk only; must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system.
"kind": "compute#attachedDisk", # Type of the resource.
- "initializeParams": { # Initialization parameters for the new disk (Mutually exclusive with 'source', can currently only be specified on the boot disk). # Initialization parameters.
+ "initializeParams": { # Initialization parameters for the new disk (input-only). Can only be specified on the boot disk or local SSDs. Mutually exclusive with 'source'. # Initialization parameters.
"diskSizeGb": "A String", # Size of the disk in base-2 GB.
"diskName": "A String", # Name of the disk (when not provided defaults to the name of the instance).
"sourceImage": "A String", # The source image used to create this disk.
+ "diskType": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
},
"autoDelete": True or False, # Whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
"index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, the server will choose an appropriate value (output only).
"boot": True or False, # Indicates that this is a boot disk. VM will use the first partition of the disk for its root filesystem.
"source": "A String", # Persistent disk only; the URL of the persistent disk resource.
"mode": "A String", # The mode in which to attach this disk, either "READ_WRITE" or "READ_ONLY".
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"type": "A String", # Type of the disk, either "SCRATCH" or "PERSISTENT". Note that persistent disks must be created before you can specify them here.
},
],
@@ -840,16 +856,20 @@
{ # An instance-attached disk resource.
"deviceName": "A String", # Persistent disk only; must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system.
"kind": "compute#attachedDisk", # Type of the resource.
- "initializeParams": { # Initialization parameters for the new disk (Mutually exclusive with 'source', can currently only be specified on the boot disk). # Initialization parameters.
+ "initializeParams": { # Initialization parameters for the new disk (input-only). Can only be specified on the boot disk or local SSDs. Mutually exclusive with 'source'. # Initialization parameters.
"diskSizeGb": "A String", # Size of the disk in base-2 GB.
"diskName": "A String", # Name of the disk (when not provided defaults to the name of the instance).
"sourceImage": "A String", # The source image used to create this disk.
+ "diskType": "A String", # URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created.
},
"autoDelete": True or False, # Whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
"index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, the server will choose an appropriate value (output only).
"boot": True or False, # Indicates that this is a boot disk. VM will use the first partition of the disk for its root filesystem.
"source": "A String", # Persistent disk only; the URL of the persistent disk resource.
"mode": "A String", # The mode in which to attach this disk, either "READ_WRITE" or "READ_ONLY".
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"type": "A String", # Type of the disk, either "SCRATCH" or "PERSISTENT". Note that persistent disks must be created before you can specify them here.
},
],
diff --git a/docs/dyn/compute_v1.licenses.html b/docs/dyn/compute_v1.licenses.html
new file mode 100644
index 0000000..97fe4a4
--- /dev/null
+++ b/docs/dyn/compute_v1.licenses.html
@@ -0,0 +1,99 @@
+<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="compute_v1.html">Compute Engine API</a> . <a href="compute_v1.licenses.html">licenses</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(project, license)</a></code></p>
+<p class="firstline">Returns the specified license resource.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(project, license)</code>
+ <pre>Returns the specified license resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ license: string, Name of the license resource to return. (required)
+
+Returns:
+ An object of the form:
+
+ { # A license resource.
+ "kind": "compute#license", # Type of resource.
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/compute_v1.projects.html b/docs/dyn/compute_v1.projects.html
index fdfb130..44d7f85 100644
--- a/docs/dyn/compute_v1.projects.html
+++ b/docs/dyn/compute_v1.projects.html
@@ -80,6 +80,9 @@
<p class="toc_element">
<code><a href="#setCommonInstanceMetadata">setCommonInstanceMetadata(project, body)</a></code></p>
<p class="firstline">Sets metadata common to all instances within the specified project using the data included in the request.</p>
+<p class="toc_element">
+ <code><a href="#setUsageExportBucket">setUsageExportBucket(project, body)</a></code></p>
+<p class="firstline">Sets usage export location</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="get">get(project)</code>
@@ -111,6 +114,10 @@
"limit": 3.14, # Quota limit for this metric.
},
],
+ "usageExportLocation": { # The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix. # The location in Cloud Storage and naming method of the daily usage report.
+ "bucketName": "A String", # The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This is simply the bucket name, with no "gs://" or "https://storage.googleapis.com/" in front of it.
+ "reportNamePrefix": "A String", # An optional prefix for the name of the usage report object stored in bucket_name. If not supplied, defaults to "usage_". The report is stored as a CSV file named _gce_.csv. where is the day of the usage according to Pacific Time. The prefix should conform to Cloud Storage object naming conventions.
+ },
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
@@ -187,4 +194,67 @@
}</pre>
</div>
+<div class="method">
+ <code class="details" id="setUsageExportBucket">setUsageExportBucket(project, body)</code>
+ <pre>Sets usage export location
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.
+ "bucketName": "A String", # The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This is simply the bucket name, with no "gs://" or "https://storage.googleapis.com/" in front of it.
+ "reportNamePrefix": "A String", # An optional prefix for the name of the usage report object stored in bucket_name. If not supplied, defaults to "usage_". The report is stored as a CSV file named _gce_.csv. where is the day of the usage according to Pacific Time. The prefix should conform to Cloud Storage object naming conventions.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/compute_v1.snapshots.html b/docs/dyn/compute_v1.snapshots.html
index f82b801..a65110f 100644
--- a/docs/dyn/compute_v1.snapshots.html
+++ b/docs/dyn/compute_v1.snapshots.html
@@ -163,6 +163,9 @@
"storageBytesStatus": "A String", # An indicator whether storageBytes is in a stable state, or it is being adjusted as a result of shared storage reallocation.
"sourceDiskId": "A String", # The 'id' value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
"diskSizeGb": "A String", # Size of the persistent disk snapshot, specified in GB (output only).
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
@@ -195,6 +198,9 @@
"storageBytesStatus": "A String", # An indicator whether storageBytes is in a stable state, or it is being adjusted as a result of shared storage reallocation.
"sourceDiskId": "A String", # The 'id' value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
"diskSizeGb": "A String", # Size of the persistent disk snapshot, specified in GB (output only).
+ "licenses": [ # Public visible licenses.
+ "A String",
+ ],
"creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
"id": "A String", # Unique identifier for the resource; defined by the server (output only).
"selfLink": "A String", # Server defined URL for the resource (output only).
diff --git a/docs/dyn/compute_v1.targetHttpProxies.html b/docs/dyn/compute_v1.targetHttpProxies.html
new file mode 100644
index 0000000..d4ffba1
--- /dev/null
+++ b/docs/dyn/compute_v1.targetHttpProxies.html
@@ -0,0 +1,351 @@
+<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="compute_v1.html">Compute Engine API</a> . <a href="compute_v1.targetHttpProxies.html">targetHttpProxies</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(project, targetHttpProxy)</a></code></p>
+<p class="firstline">Deletes the specified TargetHttpProxy resource.</p>
+<p class="toc_element">
+ <code><a href="#get">get(project, targetHttpProxy)</a></code></p>
+<p class="firstline">Returns the specified TargetHttpProxy resource.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(project, body)</a></code></p>
+<p class="firstline">Creates a TargetHttpProxy resource in the specified project using the data included in the request.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Retrieves the list of TargetHttpProxy resources available to the specified project.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#setUrlMap">setUrlMap(project, targetHttpProxy, body)</a></code></p>
+<p class="firstline">Changes the URL map for TargetHttpProxy.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(project, targetHttpProxy)</code>
+ <pre>Deletes the specified TargetHttpProxy resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ targetHttpProxy: string, Name of the TargetHttpProxy resource to delete. (required)
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(project, targetHttpProxy)</code>
+ <pre>Returns the specified TargetHttpProxy resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ targetHttpProxy: string, Name of the TargetHttpProxy resource to return. (required)
+
+Returns:
+ An object of the form:
+
+ { # A TargetHttpProxy resource. This resource defines an HTTP proxy.
+ "kind": "compute#targetHttpProxy", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService.
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(project, body)</code>
+ <pre>Creates a TargetHttpProxy resource in the specified project using the data included in the request.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A TargetHttpProxy resource. This resource defines an HTTP proxy.
+ "kind": "compute#targetHttpProxy", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService.
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Retrieves the list of TargetHttpProxy resources available to the specified project.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.
+ pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
+ filter: string, Optional. Filter expression for filtering listed resources.
+
+Returns:
+ An object of the form:
+
+ { # Contains a list of TargetHttpProxy resources.
+ "nextPageToken": "A String", # A token used to continue a truncated list request (output only).
+ "items": [ # The TargetHttpProxy resources.
+ { # A TargetHttpProxy resource. This resource defines an HTTP proxy.
+ "kind": "compute#targetHttpProxy", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService.
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ },
+ ],
+ "kind": "compute#targetHttpProxyList", # Type of resource.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for this resource (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="setUrlMap">setUrlMap(project, targetHttpProxy, body)</code>
+ <pre>Changes the URL map for TargetHttpProxy.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ targetHttpProxy: string, Name of the TargetHttpProxy resource whose URL map is to be set. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "urlMap": "A String",
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/compute_v1.urlMaps.html b/docs/dyn/compute_v1.urlMaps.html
new file mode 100644
index 0000000..7c52493
--- /dev/null
+++ b/docs/dyn/compute_v1.urlMaps.html
@@ -0,0 +1,675 @@
+<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="compute_v1.html">Compute Engine API</a> . <a href="compute_v1.urlMaps.html">urlMaps</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(project, urlMap)</a></code></p>
+<p class="firstline">Deletes the specified UrlMap resource.</p>
+<p class="toc_element">
+ <code><a href="#get">get(project, urlMap)</a></code></p>
+<p class="firstline">Returns the specified UrlMap resource.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(project, body)</a></code></p>
+<p class="firstline">Creates a UrlMap resource in the specified project using the data included in the request.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, maxResults=None, pageToken=None, filter=None)</a></code></p>
+<p class="firstline">Retrieves the list of UrlMap resources available to the specified project.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(project, urlMap, body)</a></code></p>
+<p class="firstline">Update the entire content of the UrlMap resource. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(project, urlMap, body)</a></code></p>
+<p class="firstline">Update the entire content of the UrlMap resource.</p>
+<p class="toc_element">
+ <code><a href="#validate">validate(project, urlMap, body)</a></code></p>
+<p class="firstline">Run static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(project, urlMap)</code>
+ <pre>Deletes the specified UrlMap resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ urlMap: string, Name of the UrlMap resource to delete. (required)
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(project, urlMap)</code>
+ <pre>Returns the specified UrlMap resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ urlMap: string, Name of the UrlMap resource to return. (required)
+
+Returns:
+ An object of the form:
+
+ { # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path.
+ "kind": "compute#urlMap", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match.
+ "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass.
+ { # Message for the expected URL mappings.
+ "path": "A String", # Path portion of the URL.
+ "host": "A String", # Host portion of the URL.
+ "description": "A String", # Description of this test case.
+ "service": "A String", # Expected BackendService resource the given URL should be mapped to.
+ },
+ ],
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap.
+ "pathMatchers": [ # The list of named PathMatchers to use against the URL.
+ { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used.
+ "defaultService": "A String", # The URL to the BackendService resource. This will be used if none of the 'pathRules' defined by this PathMatcher is met by the URL's path portion.
+ "pathRules": [ # The list of path rules.
+ { # A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.
+ "paths": [ # The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
+ "A String",
+ ],
+ "service": "A String", # The URL of the BackendService resource if this rule is matched.
+ },
+ ],
+ "description": "A String",
+ "name": "A String", # The name to which this PathMatcher is referred by the HostRule.
+ },
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "hostRules": [ # The list of HostRules to use against the URL.
+ { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
+ "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left.
+ "A String",
+ ],
+ "description": "A String",
+ "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion.
+ },
+ ],
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(project, body)</code>
+ <pre>Creates a UrlMap resource in the specified project using the data included in the request.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path.
+ "kind": "compute#urlMap", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match.
+ "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass.
+ { # Message for the expected URL mappings.
+ "path": "A String", # Path portion of the URL.
+ "host": "A String", # Host portion of the URL.
+ "description": "A String", # Description of this test case.
+ "service": "A String", # Expected BackendService resource the given URL should be mapped to.
+ },
+ ],
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap.
+ "pathMatchers": [ # The list of named PathMatchers to use against the URL.
+ { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used.
+ "defaultService": "A String", # The URL to the BackendService resource. This will be used if none of the 'pathRules' defined by this PathMatcher is met by the URL's path portion.
+ "pathRules": [ # The list of path rules.
+ { # A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.
+ "paths": [ # The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
+ "A String",
+ ],
+ "service": "A String", # The URL of the BackendService resource if this rule is matched.
+ },
+ ],
+ "description": "A String",
+ "name": "A String", # The name to which this PathMatcher is referred by the HostRule.
+ },
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "hostRules": [ # The list of HostRules to use against the URL.
+ { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
+ "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left.
+ "A String",
+ ],
+ "description": "A String",
+ "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion.
+ },
+ ],
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, maxResults=None, pageToken=None, filter=None)</code>
+ <pre>Retrieves the list of UrlMap resources available to the specified project.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.
+ pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
+ filter: string, Optional. Filter expression for filtering listed resources.
+
+Returns:
+ An object of the form:
+
+ { # Contains a list of UrlMap resources.
+ "nextPageToken": "A String", # A token used to continue a truncated list request (output only).
+ "items": [ # The UrlMap resources.
+ { # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path.
+ "kind": "compute#urlMap", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match.
+ "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass.
+ { # Message for the expected URL mappings.
+ "path": "A String", # Path portion of the URL.
+ "host": "A String", # Host portion of the URL.
+ "description": "A String", # Description of this test case.
+ "service": "A String", # Expected BackendService resource the given URL should be mapped to.
+ },
+ ],
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap.
+ "pathMatchers": [ # The list of named PathMatchers to use against the URL.
+ { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used.
+ "defaultService": "A String", # The URL to the BackendService resource. This will be used if none of the 'pathRules' defined by this PathMatcher is met by the URL's path portion.
+ "pathRules": [ # The list of path rules.
+ { # A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.
+ "paths": [ # The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
+ "A String",
+ ],
+ "service": "A String", # The URL of the BackendService resource if this rule is matched.
+ },
+ ],
+ "description": "A String",
+ "name": "A String", # The name to which this PathMatcher is referred by the HostRule.
+ },
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "hostRules": [ # The list of HostRules to use against the URL.
+ { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
+ "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left.
+ "A String",
+ ],
+ "description": "A String",
+ "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion.
+ },
+ ],
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ },
+ ],
+ "kind": "compute#urlMapList", # Type of resource.
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "selfLink": "A String", # Server defined URL for this resource (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(project, urlMap, body)</code>
+ <pre>Update the entire content of the UrlMap resource. This method supports patch semantics.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ urlMap: string, Name of the UrlMap resource to update. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path.
+ "kind": "compute#urlMap", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match.
+ "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass.
+ { # Message for the expected URL mappings.
+ "path": "A String", # Path portion of the URL.
+ "host": "A String", # Host portion of the URL.
+ "description": "A String", # Description of this test case.
+ "service": "A String", # Expected BackendService resource the given URL should be mapped to.
+ },
+ ],
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap.
+ "pathMatchers": [ # The list of named PathMatchers to use against the URL.
+ { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used.
+ "defaultService": "A String", # The URL to the BackendService resource. This will be used if none of the 'pathRules' defined by this PathMatcher is met by the URL's path portion.
+ "pathRules": [ # The list of path rules.
+ { # A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.
+ "paths": [ # The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
+ "A String",
+ ],
+ "service": "A String", # The URL of the BackendService resource if this rule is matched.
+ },
+ ],
+ "description": "A String",
+ "name": "A String", # The name to which this PathMatcher is referred by the HostRule.
+ },
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "hostRules": [ # The list of HostRules to use against the URL.
+ { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
+ "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left.
+ "A String",
+ ],
+ "description": "A String",
+ "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion.
+ },
+ ],
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(project, urlMap, body)</code>
+ <pre>Update the entire content of the UrlMap resource.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ urlMap: string, Name of the UrlMap resource to update. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path.
+ "kind": "compute#urlMap", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match.
+ "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass.
+ { # Message for the expected URL mappings.
+ "path": "A String", # Path portion of the URL.
+ "host": "A String", # Host portion of the URL.
+ "description": "A String", # Description of this test case.
+ "service": "A String", # Expected BackendService resource the given URL should be mapped to.
+ },
+ ],
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap.
+ "pathMatchers": [ # The list of named PathMatchers to use against the URL.
+ { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used.
+ "defaultService": "A String", # The URL to the BackendService resource. This will be used if none of the 'pathRules' defined by this PathMatcher is met by the URL's path portion.
+ "pathRules": [ # The list of path rules.
+ { # A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.
+ "paths": [ # The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
+ "A String",
+ ],
+ "service": "A String", # The URL of the BackendService resource if this rule is matched.
+ },
+ ],
+ "description": "A String",
+ "name": "A String", # The name to which this PathMatcher is referred by the HostRule.
+ },
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "hostRules": [ # The list of HostRules to use against the URL.
+ { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
+ "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left.
+ "A String",
+ ],
+ "description": "A String",
+ "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion.
+ },
+ ],
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An operation resource, used to manage asynchronous API requests.
+ "targetId": "A String", # Unique target id which identifies a particular incarnation of the target (output only).
+ "clientOperationId": "A String", # An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only).
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "zone": "A String", # URL of the zone where the operation resides (output only).
+ "operationType": "A String", # Type of the operation. Examples include "insert", "update", and "delete" (output only).
+ "httpErrorMessage": "A String", # If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only).
+ "progress": 42, # An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).
+ "httpErrorStatusCode": 42, # If operation fails, the HTTP error status code returned, e.g. 404. (output only).
+ "statusMessage": "A String", # An optional textual description of the current status of the operation (output only).
+ "status": "A String", # Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE" (output only).
+ "insertTime": "A String", # The time that this operation was requested. This is in RFC 3339 format (output only).
+ "warnings": [ # If warning messages generated during processing of this operation, this field will be populated (output only).
+ {
+ "message": "A String", # Optional human-readable details for this warning.
+ "code": "A String", # The warning type identifier for this warning.
+ "data": [ # Metadata for this warning in 'key: value' format.
+ {
+ "value": "A String", # A warning data value corresponding to the key.
+ "key": "A String", # A key for the warning data.
+ },
+ ],
+ },
+ ],
+ "user": "A String", # User who requested the operation, for example "user@example.com" (output only).
+ "startTime": "A String", # The time that this operation was started by the server. This is in RFC 3339 format (output only).
+ "kind": "compute#operation", # Type of the resource.
+ "name": "A String", # Name of the resource (output only).
+ "region": "A String", # URL of the region where the operation resides (output only).
+ "error": { # If errors occurred during processing of this operation, this field will be populated (output only).
+ "errors": [ # The array of errors encountered while processing this operation.
+ {
+ "message": "A String", # An optional, human-readable error message.
+ "code": "A String", # The error type identifier for this error.
+ "location": "A String", # Indicates the field in the request which caused the error. This property is optional.
+ },
+ ],
+ },
+ "endTime": "A String", # The time that this operation was completed. This is in RFC 3339 format (output only).
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "targetLink": "A String", # URL of the resource the operation is mutating (output only).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="validate">validate(project, urlMap, body)</code>
+ <pre>Run static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.
+
+Args:
+ project: string, Name of the project scoping this request. (required)
+ urlMap: string, Name of the UrlMap resource to be validated as. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "resource": { # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path. # Content of the UrlMap to be validated.
+ "kind": "compute#urlMap", # Type of the resource.
+ "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+ "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match.
+ "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass.
+ { # Message for the expected URL mappings.
+ "path": "A String", # Path portion of the URL.
+ "host": "A String", # Host portion of the URL.
+ "description": "A String", # Description of this test case.
+ "service": "A String", # Expected BackendService resource the given URL should be mapped to.
+ },
+ ],
+ "selfLink": "A String", # Server defined URL for the resource (output only).
+ "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap.
+ "pathMatchers": [ # The list of named PathMatchers to use against the URL.
+ { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used.
+ "defaultService": "A String", # The URL to the BackendService resource. This will be used if none of the 'pathRules' defined by this PathMatcher is met by the URL's path portion.
+ "pathRules": [ # The list of path rules.
+ { # A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.
+ "paths": [ # The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
+ "A String",
+ ],
+ "service": "A String", # The URL of the BackendService resource if this rule is matched.
+ },
+ ],
+ "description": "A String",
+ "name": "A String", # The name to which this PathMatcher is referred by the HostRule.
+ },
+ ],
+ "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
+ "id": "A String", # Unique identifier for the resource; defined by the server (output only).
+ "hostRules": [ # The list of HostRules to use against the URL.
+ { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
+ "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left.
+ "A String",
+ ],
+ "description": "A String",
+ "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion.
+ },
+ ],
+ "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+ },
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "result": { # Message representing the validation result for a UrlMap.
+ "testFailures": [
+ {
+ "path": "A String",
+ "actualService": "A String",
+ "host": "A String",
+ "expectedService": "A String",
+ },
+ ],
+ "loadErrors": [
+ "A String",
+ ],
+ "testPassed": True or False, # If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.
+ "loadSucceeded": True or False, # Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.
+ },
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/content_v2.accounts.html b/docs/dyn/content_v2.accounts.html
new file mode 100644
index 0000000..861be92
--- /dev/null
+++ b/docs/dyn/content_v2.accounts.html
@@ -0,0 +1,464 @@
+<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="content_v2.html">Content API for Shopping</a> . <a href="content_v2.accounts.html">accounts</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#custombatch">custombatch(body)</a></code></p>
+<p class="firstline">Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(merchantId, accountId)</a></code></p>
+<p class="firstline">Deletes a Merchant Center sub-account.</p>
+<p class="toc_element">
+ <code><a href="#get">get(merchantId, accountId)</a></code></p>
+<p class="firstline">Retrieves a Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(merchantId, body)</a></code></p>
+<p class="firstline">Creates a Merchant Center sub-account.</p>
+<p class="toc_element">
+ <code><a href="#list">list(merchantId, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">Lists the sub-accounts in your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(merchantId, accountId, body)</a></code></p>
+<p class="firstline">Updates a Merchant Center account. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(merchantId, accountId, body)</a></code></p>
+<p class="firstline">Updates a Merchant Center account.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="custombatch">custombatch(body)</code>
+ <pre>Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entries": [
+ { # A batch entry encoding a single non-batch request to the accounts service of the Content API for Shopping.
+ "batchId": 42, # An entry ID, unique within the batch request.
+ "method": "A String", # The method (get, insert, update, or delete).
+ "account": { # The account to create or update. Only defined if the method is insert or update.
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ },
+ "merchantId": "A String", # The ID of the managing account.
+ "accountId": "A String", # The ID of the account to get or delete. Only defined if the method is get or delete.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#accountsCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#accountsCustomBatchResponse".
+ "entries": [
+ { # A batch entry encoding a single non-batch response from the accounts service of the Content API for Shopping.
+ "batchId": 42, # The ID of the request entry this entry responds to.
+ "account": { # The retrieved, created, or updated account. Not defined if the method was delete.
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ },
+ "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed.
+ "message": "A String", # The message of the first error in errors.
+ "code": 42, # The HTTP status of the first error in errors.
+ "errors": [ # A list of errors.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ },
+ "kind": "content#accountsCustomBatchResponseEntry", # Identifies what kind of resource this is. Value: the fixed string "content#accountsCustomBatchResponseEntry".
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(merchantId, accountId)</code>
+ <pre>Deletes a Merchant Center sub-account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ accountId: string, The ID of the account. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(merchantId, accountId)</code>
+ <pre>Retrieves a Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ accountId: string, The ID of the account. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(merchantId, body)</code>
+ <pre>Creates a Merchant Center sub-account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(merchantId, pageToken=None, maxResults=None)</code>
+ <pre>Lists the sub-accounts in your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ pageToken: string, The token returned by the previous request.
+ maxResults: integer, The maximum number of accounts to return in the response, used for paging.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "kind": "content#accountsListResponse", # Identifies what kind of resource this is. Value: the fixed string "content#accountsListResponse".
+ "resources": [
+ {
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(merchantId, accountId, body)</code>
+ <pre>Updates a Merchant Center account. This method supports patch semantics.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ accountId: string, The ID of the account. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(merchantId, accountId, body)</code>
+ <pre>Updates a Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ accountId: string, The ID of the account. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "reviewsUrl": "A String", # URL for individual seller reviews, i.e., reviews for each child account.
+ "kind": "content#account", # Identifies what kind of resource this is. Value: the fixed string "content#account".
+ "name": "A String", # Display name for the account.
+ "adultContent": True or False, # Indicates whether the merchant sells adult content.
+ "id": "A String", # Merchant Center account ID.
+ "websiteUrl": "A String", # The merchant's website.
+ "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account.
+ "adwordsLinks": [ # List of linked AdWords accounts.
+ {
+ "status": "A String", # Status of the link between this Merchant Center account and the AdWords account.
+ "adwordsId": "A String", # Customer ID of the AdWords account.
+ },
+ ],
+ "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
+ {
+ "admin": True or False, # Whether user is an admin.
+ "emailAddress": "A String", # User's email address.
+ },
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/content_v2.accountstatuses.html b/docs/dyn/content_v2.accountstatuses.html
new file mode 100644
index 0000000..c48eed3
--- /dev/null
+++ b/docs/dyn/content_v2.accountstatuses.html
@@ -0,0 +1,253 @@
+<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="content_v2.html">Content API for Shopping</a> . <a href="content_v2.accountstatuses.html">accountstatuses</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#custombatch">custombatch(body)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#get">get(merchantId, accountId)</a></code></p>
+<p class="firstline">Retrieves the status of a Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list">list(merchantId, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">Lists the statuses of the sub-accounts in your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="custombatch">custombatch(body)</code>
+ <pre>A description of how to use this function
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entries": [
+ { # A batch entry encoding a single non-batch request to the accountstatuses service of the Content API for Shopping.
+ "batchId": 42, # An entry ID, unique within the batch request.
+ "method": "A String", # The method (get).
+ "merchantId": "A String", # The ID of the managing account.
+ "accountId": "A String", # The ID of the (sub-)account whose status to get.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#accountstatusesCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesCustomBatchResponse".
+ "entries": [
+ { # A batch entry encoding a single non-batch response from the accountstatuses service of the Content API for Shopping.
+ "batchId": 42, # The ID of the request entry this entry responds to.
+ "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed.
+ "message": "A String", # The message of the first error in errors.
+ "code": 42, # The HTTP status of the first error in errors.
+ "errors": [ # A list of errors.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ },
+ "accountStatus": { # The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time. # The requested account status. Defined if and only if the request was successful.
+ "kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "content#accountStatus".
+ "dataQualityIssues": [ # A list of data quality issues.
+ {
+ "displayedValue": "A String", # Actual value displayed on the landing page.
+ "severity": "A String", # Severity of the problem.
+ "lastChecked": "A String", # Last time the account was checked for this issue.
+ "country": "A String", # Country for which this issue is reported.
+ "exampleItems": [ # Example items featuring the issue.
+ { # An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.
+ "itemId": "A String", # Unique item ID as specified in the uploaded product data.
+ "submittedValue": "A String", # The item value that was submitted.
+ "link": "A String", # Landing page of the item.
+ "valueOnLandingPage": "A String", # The actual value on the landing page.
+ "title": "A String", # Title of the item.
+ },
+ ],
+ "submittedValue": "A String", # Submitted value that causes the issue.
+ "numItems": 42, # Number of items in the account found to have the said issue.
+ "id": "A String", # Issue identifier.
+ },
+ ],
+ "accountId": "A String", # The ID of the account for which the status is reported.
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(merchantId, accountId)</code>
+ <pre>Retrieves the status of a Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ accountId: string, The ID of the account. (required)
+
+Returns:
+ An object of the form:
+
+ { # The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.
+ "kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "content#accountStatus".
+ "dataQualityIssues": [ # A list of data quality issues.
+ {
+ "displayedValue": "A String", # Actual value displayed on the landing page.
+ "severity": "A String", # Severity of the problem.
+ "lastChecked": "A String", # Last time the account was checked for this issue.
+ "country": "A String", # Country for which this issue is reported.
+ "exampleItems": [ # Example items featuring the issue.
+ { # An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.
+ "itemId": "A String", # Unique item ID as specified in the uploaded product data.
+ "submittedValue": "A String", # The item value that was submitted.
+ "link": "A String", # Landing page of the item.
+ "valueOnLandingPage": "A String", # The actual value on the landing page.
+ "title": "A String", # Title of the item.
+ },
+ ],
+ "submittedValue": "A String", # Submitted value that causes the issue.
+ "numItems": 42, # Number of items in the account found to have the said issue.
+ "id": "A String", # Issue identifier.
+ },
+ ],
+ "accountId": "A String", # The ID of the account for which the status is reported.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(merchantId, pageToken=None, maxResults=None)</code>
+ <pre>Lists the statuses of the sub-accounts in your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ pageToken: string, The token returned by the previous request.
+ maxResults: integer, The maximum number of account statuses to return in the response, used for paging.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "kind": "content#accountstatusesListResponse", # Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesListResponse".
+ "resources": [
+ { # The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.
+ "kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "content#accountStatus".
+ "dataQualityIssues": [ # A list of data quality issues.
+ {
+ "displayedValue": "A String", # Actual value displayed on the landing page.
+ "severity": "A String", # Severity of the problem.
+ "lastChecked": "A String", # Last time the account was checked for this issue.
+ "country": "A String", # Country for which this issue is reported.
+ "exampleItems": [ # Example items featuring the issue.
+ { # An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.
+ "itemId": "A String", # Unique item ID as specified in the uploaded product data.
+ "submittedValue": "A String", # The item value that was submitted.
+ "link": "A String", # Landing page of the item.
+ "valueOnLandingPage": "A String", # The actual value on the landing page.
+ "title": "A String", # Title of the item.
+ },
+ ],
+ "submittedValue": "A String", # Submitted value that causes the issue.
+ "numItems": 42, # Number of items in the account found to have the said issue.
+ "id": "A String", # Issue identifier.
+ },
+ ],
+ "accountId": "A String", # The ID of the account for which the status is reported.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/content_v2.datafeeds.html b/docs/dyn/content_v2.datafeeds.html
new file mode 100644
index 0000000..be44c2c
--- /dev/null
+++ b/docs/dyn/content_v2.datafeeds.html
@@ -0,0 +1,685 @@
+<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="content_v2.html">Content API for Shopping</a> . <a href="content_v2.datafeeds.html">datafeeds</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#batch">batch(body)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#custombatch">custombatch(body)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(merchantId, datafeedId)</a></code></p>
+<p class="firstline">Deletes a datafeed from your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#get">get(merchantId, datafeedId)</a></code></p>
+<p class="firstline">Retrieves a datafeed from your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(merchantId, body)</a></code></p>
+<p class="firstline">Registers a datafeed with your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list">list(merchantId)</a></code></p>
+<p class="firstline">Lists the datafeeds in your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(merchantId, datafeedId, body)</a></code></p>
+<p class="firstline">Updates a datafeed of your Merchant Center account. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(merchantId, datafeedId, body)</a></code></p>
+<p class="firstline">Updates a datafeed of your Merchant Center account.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="batch">batch(body)</code>
+ <pre>A description of how to use this function
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entrys": [
+ {
+ "batchId": 42,
+ "datafeedsupdaterequest": {
+ "resource": {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ },
+ },
+ "methodName": "A String",
+ "datafeedsinsertrequest": {
+ "resource": {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ },
+ },
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "entrys": [
+ {
+ "batchId": 42,
+ "datafeedsgetresponse": {
+ "kind": "content#datafeedsGetResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedsGetResponse".
+ "resource": {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ },
+ },
+ "datafeedsinsertresponse": {
+ "kind": "content#datafeedsInsertResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedsInsertResponse".
+ "resource": {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ },
+ },
+ "datafeedsupdateresponse": {
+ "kind": "content#datafeedsUpdateResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedsUpdateResponse".
+ "resource": {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ },
+ },
+ },
+ ],
+ "kind": "content#datafeedsBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedsBatchResponse".
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="custombatch">custombatch(body)</code>
+ <pre>A description of how to use this function
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entries": [
+ { # A batch entry encoding a single non-batch request to the datafeeds service of the Content API for Shopping.
+ "batchId": 42, # An entry ID, unique within the batch request.
+ "datafeedId": "A String", # The ID of the data feed to get or delete.
+ "datafeed": { # The data feed to insert.
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ },
+ "merchantId": "A String", # The ID of the managing account.
+ "method": "A String", # The method (get, insert, update, or delete).
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeedsCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedsCustomBatchResponse".
+ "entries": [
+ { # A batch entry encoding a single non-batch response from the datafeeds service of the Content API for Shopping.
+ "batchId": 42, # The ID of the request entry this entry responds to.
+ "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed.
+ "message": "A String", # The message of the first error in errors.
+ "code": 42, # The HTTP status of the first error in errors.
+ "errors": [ # A list of errors.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ },
+ "datafeed": { # The requested data feed. Defined if and only if the request was successful.
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(merchantId, datafeedId)</code>
+ <pre>Deletes a datafeed from your Merchant Center account.
+
+Args:
+ merchantId: string, A parameter (required)
+ datafeedId: string, A parameter (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(merchantId, datafeedId)</code>
+ <pre>Retrieves a datafeed from your Merchant Center account.
+
+Args:
+ merchantId: string, A parameter (required)
+ datafeedId: string, A parameter (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(merchantId, body)</code>
+ <pre>Registers a datafeed with your Merchant Center account.
+
+Args:
+ merchantId: string, A parameter (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(merchantId)</code>
+ <pre>Lists the datafeeds in your Merchant Center account.
+
+Args:
+ merchantId: string, A parameter (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeedsListResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedsListResponse".
+ "resources": [
+ {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(merchantId, datafeedId, body)</code>
+ <pre>Updates a datafeed of your Merchant Center account. This method supports patch semantics.
+
+Args:
+ merchantId: string, A parameter (required)
+ datafeedId: string, A parameter (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(merchantId, datafeedId, body)</code>
+ <pre>Updates a datafeed of your Merchant Center account.
+
+Args:
+ merchantId: string, A parameter (required)
+ datafeedId: string, A parameter (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeed", # Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
+ "contentType": "A String", # The type of data feed.
+ "name": "A String", # A descriptive name of the data feed.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language of the items in the feed.
+ "format": { # Format of the feed file.
+ "fileEncoding": "A String", # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.
+ "quotingMode": "A String", # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.
+ "columnDelimiter": "A String", # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.
+ },
+ "fetchSchedule": { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
+ "username": "A String", # An optional user name for fetch_url.
+ "hour": 42, # The hour of the day the feed file should be fetched (0-24).
+ "fetchUrl": "A String", # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
+ "weekday": "A String", # The day of the week the feed file should be fetched.
+ "timeZone": "A String", # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
+ "password": "A String", # An optional password for fetch_url.
+ "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31).
+ },
+ "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index.
+ "fileName": "A String", # The filename of the feed. All feeds must have a unique file name.
+ "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center).
+ "A String",
+ ],
+ "id": "A String", # The ID of the data feed.
+ "attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/content_v2.datafeedstatuses.html b/docs/dyn/content_v2.datafeedstatuses.html
new file mode 100644
index 0000000..332b716
--- /dev/null
+++ b/docs/dyn/content_v2.datafeedstatuses.html
@@ -0,0 +1,338 @@
+<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="content_v2.html">Content API for Shopping</a> . <a href="content_v2.datafeedstatuses.html">datafeedstatuses</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#batch">batch(body)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#custombatch">custombatch(body)</a></code></p>
+<p class="firstline">A description of how to use this function</p>
+<p class="toc_element">
+ <code><a href="#get">get(merchantId, datafeedId)</a></code></p>
+<p class="firstline">Retrieves the status of a datafeed from your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list">list(merchantId)</a></code></p>
+<p class="firstline">Lists the statuses of the datafeeds in your Merchant Center account.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="batch">batch(body)</code>
+ <pre>A description of how to use this function
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entrys": [
+ {
+ "batchId": 42,
+ "methodName": "A String",
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "entrys": [
+ {
+ "batchId": 42,
+ "datafeedstatusesgetresponse": {
+ "kind": "content#datafeedstatusesGetResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedstatusesGetResponse".
+ "resource": {
+ "kind": "content#datafeedStatus", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".
+ "errors": [ # The list of errors occurring in the feed.
+ { # An error occurring in the feed, like "invalid price".
+ "count": 42, # The number of occurrences of the error in the feed.
+ "message": "A String", # The error message, e.g., "Invalid price".
+ "code": "A String", # The code of the error, e.g., "validation/invalid_value".
+ "examples": [ # A list of example occurrences of the error, grouped by product.
+ { # An example occurrence for a particular error.
+ "itemId": "A String", # The ID of the example item.
+ "value": "A String", # The problematic value.
+ "lineNumber": 42, # Line number in the data feed where the example is found.
+ },
+ ],
+ },
+ ],
+ "processingStatus": "A String", # The processing status of the feed.
+ "itemsTotal": 42, # The number of items in the feed that were processed.
+ "warnings": [ # The list of errors occurring in the feed.
+ { # An error occurring in the feed, like "invalid price".
+ "count": 42, # The number of occurrences of the error in the feed.
+ "message": "A String", # The error message, e.g., "Invalid price".
+ "code": "A String", # The code of the error, e.g., "validation/invalid_value".
+ "examples": [ # A list of example occurrences of the error, grouped by product.
+ { # An example occurrence for a particular error.
+ "itemId": "A String", # The ID of the example item.
+ "value": "A String", # The problematic value.
+ "lineNumber": 42, # Line number in the data feed where the example is found.
+ },
+ ],
+ },
+ ],
+ "itemsValid": 42, # The number of items in the feed that were valid.
+ "datafeedId": "A String", # The ID of the feed for which the status is reported.
+ },
+ },
+ },
+ ],
+ "kind": "content#datafeedstatusesBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedstatusesBatchResponse".
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="custombatch">custombatch(body)</code>
+ <pre>A description of how to use this function
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entries": [
+ { # A batch entry encoding a single non-batch request to the datafeedstatuses service of the Content API for Shopping.
+ "batchId": 42, # An entry ID, unique within the batch request.
+ "datafeedId": "A String", # The ID of the data feed to get or delete.
+ "merchantId": "A String", # The ID of the managing account.
+ "method": "A String", # The method (get).
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeedstatusesCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedstatusesCustomBatchResponse".
+ "entries": [
+ { # A batch entry encoding a single non-batch response from the datafeedstatuses service of the Content API for Shopping.
+ "batchId": 42, # The ID of the request entry this entry responds to.
+ "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed.
+ "message": "A String", # The message of the first error in errors.
+ "code": 42, # The HTTP status of the first error in errors.
+ "errors": [ # A list of errors.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ },
+ "datafeedStatus": { # The requested data feed status. Defined if and only if the request was successful.
+ "kind": "content#datafeedStatus", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".
+ "errors": [ # The list of errors occurring in the feed.
+ { # An error occurring in the feed, like "invalid price".
+ "count": 42, # The number of occurrences of the error in the feed.
+ "message": "A String", # The error message, e.g., "Invalid price".
+ "code": "A String", # The code of the error, e.g., "validation/invalid_value".
+ "examples": [ # A list of example occurrences of the error, grouped by product.
+ { # An example occurrence for a particular error.
+ "itemId": "A String", # The ID of the example item.
+ "value": "A String", # The problematic value.
+ "lineNumber": 42, # Line number in the data feed where the example is found.
+ },
+ ],
+ },
+ ],
+ "processingStatus": "A String", # The processing status of the feed.
+ "itemsTotal": 42, # The number of items in the feed that were processed.
+ "warnings": [ # The list of errors occurring in the feed.
+ { # An error occurring in the feed, like "invalid price".
+ "count": 42, # The number of occurrences of the error in the feed.
+ "message": "A String", # The error message, e.g., "Invalid price".
+ "code": "A String", # The code of the error, e.g., "validation/invalid_value".
+ "examples": [ # A list of example occurrences of the error, grouped by product.
+ { # An example occurrence for a particular error.
+ "itemId": "A String", # The ID of the example item.
+ "value": "A String", # The problematic value.
+ "lineNumber": 42, # Line number in the data feed where the example is found.
+ },
+ ],
+ },
+ ],
+ "itemsValid": 42, # The number of items in the feed that were valid.
+ "datafeedId": "A String", # The ID of the feed for which the status is reported.
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(merchantId, datafeedId)</code>
+ <pre>Retrieves the status of a datafeed from your Merchant Center account.
+
+Args:
+ merchantId: string, A parameter (required)
+ datafeedId: string, A parameter (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeedStatus", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".
+ "errors": [ # The list of errors occurring in the feed.
+ { # An error occurring in the feed, like "invalid price".
+ "count": 42, # The number of occurrences of the error in the feed.
+ "message": "A String", # The error message, e.g., "Invalid price".
+ "code": "A String", # The code of the error, e.g., "validation/invalid_value".
+ "examples": [ # A list of example occurrences of the error, grouped by product.
+ { # An example occurrence for a particular error.
+ "itemId": "A String", # The ID of the example item.
+ "value": "A String", # The problematic value.
+ "lineNumber": 42, # Line number in the data feed where the example is found.
+ },
+ ],
+ },
+ ],
+ "processingStatus": "A String", # The processing status of the feed.
+ "itemsTotal": 42, # The number of items in the feed that were processed.
+ "warnings": [ # The list of errors occurring in the feed.
+ { # An error occurring in the feed, like "invalid price".
+ "count": 42, # The number of occurrences of the error in the feed.
+ "message": "A String", # The error message, e.g., "Invalid price".
+ "code": "A String", # The code of the error, e.g., "validation/invalid_value".
+ "examples": [ # A list of example occurrences of the error, grouped by product.
+ { # An example occurrence for a particular error.
+ "itemId": "A String", # The ID of the example item.
+ "value": "A String", # The problematic value.
+ "lineNumber": 42, # Line number in the data feed where the example is found.
+ },
+ ],
+ },
+ ],
+ "itemsValid": 42, # The number of items in the feed that were valid.
+ "datafeedId": "A String", # The ID of the feed for which the status is reported.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(merchantId)</code>
+ <pre>Lists the statuses of the datafeeds in your Merchant Center account.
+
+Args:
+ merchantId: string, A parameter (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#datafeedstatusesListResponse", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedstatusesListResponse".
+ "resources": [
+ {
+ "kind": "content#datafeedStatus", # Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".
+ "errors": [ # The list of errors occurring in the feed.
+ { # An error occurring in the feed, like "invalid price".
+ "count": 42, # The number of occurrences of the error in the feed.
+ "message": "A String", # The error message, e.g., "Invalid price".
+ "code": "A String", # The code of the error, e.g., "validation/invalid_value".
+ "examples": [ # A list of example occurrences of the error, grouped by product.
+ { # An example occurrence for a particular error.
+ "itemId": "A String", # The ID of the example item.
+ "value": "A String", # The problematic value.
+ "lineNumber": 42, # Line number in the data feed where the example is found.
+ },
+ ],
+ },
+ ],
+ "processingStatus": "A String", # The processing status of the feed.
+ "itemsTotal": 42, # The number of items in the feed that were processed.
+ "warnings": [ # The list of errors occurring in the feed.
+ { # An error occurring in the feed, like "invalid price".
+ "count": 42, # The number of occurrences of the error in the feed.
+ "message": "A String", # The error message, e.g., "Invalid price".
+ "code": "A String", # The code of the error, e.g., "validation/invalid_value".
+ "examples": [ # A list of example occurrences of the error, grouped by product.
+ { # An example occurrence for a particular error.
+ "itemId": "A String", # The ID of the example item.
+ "value": "A String", # The problematic value.
+ "lineNumber": 42, # Line number in the data feed where the example is found.
+ },
+ ],
+ },
+ ],
+ "itemsValid": 42, # The number of items in the feed that were valid.
+ "datafeedId": "A String", # The ID of the feed for which the status is reported.
+ },
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/content_v2.html b/docs/dyn/content_v2.html
new file mode 100644
index 0000000..939be4a
--- /dev/null
+++ b/docs/dyn/content_v2.html
@@ -0,0 +1,112 @@
+<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="content_v2.html">Content API for Shopping</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="content_v2.accounts.html">accounts()</a></code>
+</p>
+<p class="firstline">Returns the accounts Resource.</p>
+
+<p class="toc_element">
+ <code><a href="content_v2.accountstatuses.html">accountstatuses()</a></code>
+</p>
+<p class="firstline">Returns the accountstatuses Resource.</p>
+
+<p class="toc_element">
+ <code><a href="content_v2.datafeeds.html">datafeeds()</a></code>
+</p>
+<p class="firstline">Returns the datafeeds Resource.</p>
+
+<p class="toc_element">
+ <code><a href="content_v2.datafeedstatuses.html">datafeedstatuses()</a></code>
+</p>
+<p class="firstline">Returns the datafeedstatuses Resource.</p>
+
+<p class="toc_element">
+ <code><a href="content_v2.inventory.html">inventory()</a></code>
+</p>
+<p class="firstline">Returns the inventory Resource.</p>
+
+<p class="toc_element">
+ <code><a href="content_v2.products.html">products()</a></code>
+</p>
+<p class="firstline">Returns the products Resource.</p>
+
+<p class="toc_element">
+ <code><a href="content_v2.productstatuses.html">productstatuses()</a></code>
+</p>
+<p class="firstline">Returns the productstatuses Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/content_v2.inventory.html b/docs/dyn/content_v2.inventory.html
new file mode 100644
index 0000000..49ea46d
--- /dev/null
+++ b/docs/dyn/content_v2.inventory.html
@@ -0,0 +1,177 @@
+<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="content_v2.html">Content API for Shopping</a> . <a href="content_v2.inventory.html">inventory</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#custombatch">custombatch(body)</a></code></p>
+<p class="firstline">Updates price and availability for multiple products or stores in a single request.</p>
+<p class="toc_element">
+ <code><a href="#set">set(merchantId, storeCode, productId, body)</a></code></p>
+<p class="firstline">Updates price and availability of a product in your Merchant Center account.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="custombatch">custombatch(body)</code>
+ <pre>Updates price and availability for multiple products or stores in a single request.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entries": [
+ { # A batch entry encoding a single non-batch request to the inventory service of the Content API for Shopping.
+ "batchId": 42, # An entry ID, unique within the batch request.
+ "storeCode": "A String", # The code of the store for which to update price and availability. Use online to update price and availability of an online product.
+ "productId": "A String", # The ID of the product for which to update price and availability.
+ "inventory": { # Price and availability of the product.
+ "kind": "content#inventory", # Identifies what kind of resource this is. Value: the fixed string "content#inventory".
+ "salePriceEffectiveDate": "A String", # A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.
+ "price": { # The price of the product.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "salePrice": { # The sale price of the product. Mandatory if sale_price_effective_date is defined.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "availability": "A String", # The availability of the product.
+ "quantity": 42, # The quantity of the product. Must be equal to or greater than zero. Supported only for local products.
+ },
+ "merchantId": "A String", # The ID of the managing account.
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#inventoryCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#inventoryCustomBatchResponse".
+ "entries": [
+ { # A batch entry encoding a single non-batch response from the inventory service of the Content API for Shopping.
+ "batchId": 42, # The ID of the request entry this entry responds to.
+ "kind": "content#inventoryCustomBatchResponseEntry", # Identifies what kind of resource this is. Value: the fixed string "content#inventoryCustomBatchResponseEntry".
+ "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed.
+ "message": "A String", # The message of the first error in errors.
+ "code": 42, # The HTTP status of the first error in errors.
+ "errors": [ # A list of errors.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="set">set(merchantId, storeCode, productId, body)</code>
+ <pre>Updates price and availability of a product in your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ storeCode: string, The code of the store for which to update price and availability. Use online to update price and availability of an online product. (required)
+ productId: string, The ID of the product for which to update price and availability. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "salePrice": { # The sale price of the product. Mandatory if sale_price_effective_date is defined.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "price": { # The price of the product.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "availability": "A String", # The availability of the product.
+ "salePriceEffectiveDate": "A String", # A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.
+ "quantity": 42, # The quantity of the product. Must be equal to or greater than zero. Supported only for local products.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#inventorySetResponse", # Identifies what kind of resource this is. Value: the fixed string "content#inventorySetResponse".
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/content_v2.products.html b/docs/dyn/content_v2.products.html
new file mode 100644
index 0000000..f541fa4
--- /dev/null
+++ b/docs/dyn/content_v2.products.html
@@ -0,0 +1,1027 @@
+<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="content_v2.html">Content API for Shopping</a> . <a href="content_v2.products.html">products</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#custombatch">custombatch(body, dryRun=None)</a></code></p>
+<p class="firstline">Retrieves, inserts, and deletes multiple products in a single request.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(merchantId, productId, dryRun=None)</a></code></p>
+<p class="firstline">Deletes a product from your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#get">get(merchantId, productId)</a></code></p>
+<p class="firstline">Retrieves a product from your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(merchantId, body, dryRun=None)</a></code></p>
+<p class="firstline">Uploads a product to your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list">list(merchantId, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">Lists the products in your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="custombatch">custombatch(body, dryRun=None)</code>
+ <pre>Retrieves, inserts, and deletes multiple products in a single request.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entries": [
+ { # A batch entry encoding a single non-batch request to the products service of the Content API for Shopping.
+ "batchId": 42, # An entry ID, unique within the batch request.
+ "product": { # Product data. # The product to insert. Only required if the method is insert.
+ "color": "A String", # Color of the item.
+ "availability": "A String", # Availability status of the item.
+ "additionalImageLinks": [ # Additional URLs of images of the item.
+ "A String",
+ ],
+ "adwordsLabels": [ # Similar to adwords_grouping, but only works on CPC.
+ "A String",
+ ],
+ "itemGroupId": "A String", # Shared identifier for all variants of the same product.
+ "gtin": "A String", # Global Trade Item Number (GTIN) of the item.
+ "expirationDate": "A String", # Date that an item will expire.
+ "merchantMultipackQuantity": "A String", # The number of identical products in a merchant-defined multipack.
+ "googleProductCategory": "A String", # Google's category of the item.
+ "id": "A String", # The REST id of the product.
+ "availabilityDate": "A String", # The day a pre-ordered product becomes available for delivery.
+ "adwordsGrouping": "A String", # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
+ "destinations": [ # Specifies the intended destinations for the product.
+ {
+ "intention": "A String", # Whether the destination is required, excluded or should be validated.
+ "destinationName": "A String", # The name of the destination.
+ },
+ ],
+ "targetCountry": "A String", # The two-letter ISO 3166 country code for the item.
+ "sizeType": "A String", # The cut of the item. Recommended for apparel items.
+ "offerId": "A String", # An identifier of the item.
+ "title": "A String", # Title of the item.
+ "pattern": "A String", # The item's pattern (e.g. polka dots).
+ "unitPricingMeasure": "A String", # The measure and dimension of an item.
+ "imageLink": "A String", # URL of an image of the item.
+ "validatedDestinations": [ # The read-only list of intended destinations which passed validation.
+ "A String",
+ ],
+ "customLabel2": "A String", # Custom label 2 for custom grouping of items in a Shopping campaign.
+ "customLabel1": "A String", # Custom label 1 for custom grouping of items in a Shopping campaign.
+ "isBundle": True or False, # Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
+ "mobileLink": "A String", # Link to a mobile-optimized version of the landing page.
+ "price": { # Price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "channel": "A String", # The item's channel (online or local).
+ "onlineOnly": True or False, # Whether an item is available for purchase only online.
+ "loyaltyPoints": { # Loyalty points that users receive after purchasing the item. Japan only.
+ "ratio": 3.14, # The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.
+ "name": "A String", # Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
+ "pointsValue": "A String", # The retailer's loyalty points in absolute value.
+ },
+ "description": "A String", # Description of the item.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language code for the item.
+ "warnings": [ # Read-only warnings.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ "mpn": "A String", # Manufacturer Part Number (MPN) of the item.
+ "salePriceEffectiveDate": "A String", # Date range during which the item is on sale.
+ "brand": "A String", # Brand of the item.
+ "material": "A String", # The material of which the item is made.
+ "taxes": [ # Tax information.
+ {
+ "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code.
+ "rate": 3.14, # The percentage of tax rate that applies to the item price.
+ "region": "A String", # The geographic region to which the tax rate applies.
+ "taxShip": True or False, # Set to true if tax is charged on shipping.
+ },
+ ],
+ "link": "A String", # URL directly linking to your item's page on your website.
+ "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
+ "energyEfficiencyClass": "A String", # The energy efficiency class as defined in EU directive 2010/30/EU.
+ "sizeSystem": "A String", # System in which the size is specified. Recommended for apparel items.
+ "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign.
+ "customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign.
+ "customGroups": [ # A list of custom (merchant-provided) custom attribute groups.
+ {
+ "attributes": [ # The sub-attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "name": "A String", # The name of the group.
+ },
+ ],
+ "condition": "A String", # Condition or state of the item.
+ "customLabel0": "A String", # Custom label 0 for custom grouping of items in a Shopping campaign.
+ "kind": "content#product", # Identifies what kind of resource this is. Value: the fixed string "content#product".
+ "installment": { # Number and amount of installments to pay for an item. Brazil only.
+ "amount": { # The amount the buyer has to pay per month.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "months": "A String", # The number of installments the buyer has to pay.
+ },
+ "sizes": [ # Size of the item.
+ "A String",
+ ],
+ "gender": "A String", # Target gender of the item.
+ "shipping": [ # Shipping rules.
+ {
+ "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship.
+ "price": { # Fixed shipping price, represented as a number.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "region": "A String", # The geographic region to which a shipping rate applies (e.g. zip code).
+ "service": "A String", # A free-form description of the service class or delivery speed.
+ },
+ ],
+ "shippingWeight": { # Weight of the item for shipping.
+ "value": 3.14, # The weight of the product used to calculate the shipping cost of the item.
+ "unit": "A String", # The unit of value.
+ },
+ "identifierExists": True or False, # False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.
+ "customAttributes": [ # A list of custom (merchant-provided) attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "salePrice": { # Advertised sale price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "productType": "A String", # Your category of the item.
+ "unitPricingBaseMeasure": "A String", # The preference of the denominator of the unit price.
+ "ageGroup": "A String", # Target age group of the item.
+ "adult": True or False, # Set to true if the item is targeted towards adults.
+ },
+ "productId": "A String", # The ID of the product to get or delete. Only defined if the method is get or delete.
+ "merchantId": "A String", # The ID of the managing account.
+ "method": "A String", # The method (get, insert or delete).
+ },
+ ],
+ }
+
+ dryRun: boolean, Flag to run the request in dry-run mode.
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#productsCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#productsCustomBatchResponse".
+ "entries": [
+ { # A batch entry encoding a single non-batch response from the products service of the Content API for Shopping.
+ "batchId": 42, # The ID of the request entry this entry responds to.
+ "kind": "content#productsCustomBatchResponseEntry", # Identifies what kind of resource this is. Value: the fixed string "content#productsCustomBatchResponseEntry".
+ "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed.
+ "message": "A String", # The message of the first error in errors.
+ "code": 42, # The HTTP status of the first error in errors.
+ "errors": [ # A list of errors.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ },
+ "product": { # Product data. # The inserted product. Only defined if the method is insert and if the request was successful.
+ "color": "A String", # Color of the item.
+ "availability": "A String", # Availability status of the item.
+ "additionalImageLinks": [ # Additional URLs of images of the item.
+ "A String",
+ ],
+ "adwordsLabels": [ # Similar to adwords_grouping, but only works on CPC.
+ "A String",
+ ],
+ "itemGroupId": "A String", # Shared identifier for all variants of the same product.
+ "gtin": "A String", # Global Trade Item Number (GTIN) of the item.
+ "expirationDate": "A String", # Date that an item will expire.
+ "merchantMultipackQuantity": "A String", # The number of identical products in a merchant-defined multipack.
+ "googleProductCategory": "A String", # Google's category of the item.
+ "id": "A String", # The REST id of the product.
+ "availabilityDate": "A String", # The day a pre-ordered product becomes available for delivery.
+ "adwordsGrouping": "A String", # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
+ "destinations": [ # Specifies the intended destinations for the product.
+ {
+ "intention": "A String", # Whether the destination is required, excluded or should be validated.
+ "destinationName": "A String", # The name of the destination.
+ },
+ ],
+ "targetCountry": "A String", # The two-letter ISO 3166 country code for the item.
+ "sizeType": "A String", # The cut of the item. Recommended for apparel items.
+ "offerId": "A String", # An identifier of the item.
+ "title": "A String", # Title of the item.
+ "pattern": "A String", # The item's pattern (e.g. polka dots).
+ "unitPricingMeasure": "A String", # The measure and dimension of an item.
+ "imageLink": "A String", # URL of an image of the item.
+ "validatedDestinations": [ # The read-only list of intended destinations which passed validation.
+ "A String",
+ ],
+ "customLabel2": "A String", # Custom label 2 for custom grouping of items in a Shopping campaign.
+ "customLabel1": "A String", # Custom label 1 for custom grouping of items in a Shopping campaign.
+ "isBundle": True or False, # Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
+ "mobileLink": "A String", # Link to a mobile-optimized version of the landing page.
+ "price": { # Price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "channel": "A String", # The item's channel (online or local).
+ "onlineOnly": True or False, # Whether an item is available for purchase only online.
+ "loyaltyPoints": { # Loyalty points that users receive after purchasing the item. Japan only.
+ "ratio": 3.14, # The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.
+ "name": "A String", # Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
+ "pointsValue": "A String", # The retailer's loyalty points in absolute value.
+ },
+ "description": "A String", # Description of the item.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language code for the item.
+ "warnings": [ # Read-only warnings.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ "mpn": "A String", # Manufacturer Part Number (MPN) of the item.
+ "salePriceEffectiveDate": "A String", # Date range during which the item is on sale.
+ "brand": "A String", # Brand of the item.
+ "material": "A String", # The material of which the item is made.
+ "taxes": [ # Tax information.
+ {
+ "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code.
+ "rate": 3.14, # The percentage of tax rate that applies to the item price.
+ "region": "A String", # The geographic region to which the tax rate applies.
+ "taxShip": True or False, # Set to true if tax is charged on shipping.
+ },
+ ],
+ "link": "A String", # URL directly linking to your item's page on your website.
+ "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
+ "energyEfficiencyClass": "A String", # The energy efficiency class as defined in EU directive 2010/30/EU.
+ "sizeSystem": "A String", # System in which the size is specified. Recommended for apparel items.
+ "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign.
+ "customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign.
+ "customGroups": [ # A list of custom (merchant-provided) custom attribute groups.
+ {
+ "attributes": [ # The sub-attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "name": "A String", # The name of the group.
+ },
+ ],
+ "condition": "A String", # Condition or state of the item.
+ "customLabel0": "A String", # Custom label 0 for custom grouping of items in a Shopping campaign.
+ "kind": "content#product", # Identifies what kind of resource this is. Value: the fixed string "content#product".
+ "installment": { # Number and amount of installments to pay for an item. Brazil only.
+ "amount": { # The amount the buyer has to pay per month.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "months": "A String", # The number of installments the buyer has to pay.
+ },
+ "sizes": [ # Size of the item.
+ "A String",
+ ],
+ "gender": "A String", # Target gender of the item.
+ "shipping": [ # Shipping rules.
+ {
+ "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship.
+ "price": { # Fixed shipping price, represented as a number.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "region": "A String", # The geographic region to which a shipping rate applies (e.g. zip code).
+ "service": "A String", # A free-form description of the service class or delivery speed.
+ },
+ ],
+ "shippingWeight": { # Weight of the item for shipping.
+ "value": 3.14, # The weight of the product used to calculate the shipping cost of the item.
+ "unit": "A String", # The unit of value.
+ },
+ "identifierExists": True or False, # False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.
+ "customAttributes": [ # A list of custom (merchant-provided) attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "salePrice": { # Advertised sale price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "productType": "A String", # Your category of the item.
+ "unitPricingBaseMeasure": "A String", # The preference of the denominator of the unit price.
+ "ageGroup": "A String", # Target age group of the item.
+ "adult": True or False, # Set to true if the item is targeted towards adults.
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(merchantId, productId, dryRun=None)</code>
+ <pre>Deletes a product from your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ productId: string, The ID of the product. (required)
+ dryRun: boolean, Flag to run the request in dry-run mode.
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(merchantId, productId)</code>
+ <pre>Retrieves a product from your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ productId: string, The ID of the product. (required)
+
+Returns:
+ An object of the form:
+
+ { # Product data.
+ "color": "A String", # Color of the item.
+ "availability": "A String", # Availability status of the item.
+ "additionalImageLinks": [ # Additional URLs of images of the item.
+ "A String",
+ ],
+ "adwordsLabels": [ # Similar to adwords_grouping, but only works on CPC.
+ "A String",
+ ],
+ "itemGroupId": "A String", # Shared identifier for all variants of the same product.
+ "gtin": "A String", # Global Trade Item Number (GTIN) of the item.
+ "expirationDate": "A String", # Date that an item will expire.
+ "merchantMultipackQuantity": "A String", # The number of identical products in a merchant-defined multipack.
+ "googleProductCategory": "A String", # Google's category of the item.
+ "id": "A String", # The REST id of the product.
+ "availabilityDate": "A String", # The day a pre-ordered product becomes available for delivery.
+ "adwordsGrouping": "A String", # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
+ "destinations": [ # Specifies the intended destinations for the product.
+ {
+ "intention": "A String", # Whether the destination is required, excluded or should be validated.
+ "destinationName": "A String", # The name of the destination.
+ },
+ ],
+ "targetCountry": "A String", # The two-letter ISO 3166 country code for the item.
+ "sizeType": "A String", # The cut of the item. Recommended for apparel items.
+ "offerId": "A String", # An identifier of the item.
+ "title": "A String", # Title of the item.
+ "pattern": "A String", # The item's pattern (e.g. polka dots).
+ "unitPricingMeasure": "A String", # The measure and dimension of an item.
+ "imageLink": "A String", # URL of an image of the item.
+ "validatedDestinations": [ # The read-only list of intended destinations which passed validation.
+ "A String",
+ ],
+ "customLabel2": "A String", # Custom label 2 for custom grouping of items in a Shopping campaign.
+ "customLabel1": "A String", # Custom label 1 for custom grouping of items in a Shopping campaign.
+ "isBundle": True or False, # Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
+ "mobileLink": "A String", # Link to a mobile-optimized version of the landing page.
+ "price": { # Price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "channel": "A String", # The item's channel (online or local).
+ "onlineOnly": True or False, # Whether an item is available for purchase only online.
+ "loyaltyPoints": { # Loyalty points that users receive after purchasing the item. Japan only.
+ "ratio": 3.14, # The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.
+ "name": "A String", # Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
+ "pointsValue": "A String", # The retailer's loyalty points in absolute value.
+ },
+ "description": "A String", # Description of the item.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language code for the item.
+ "warnings": [ # Read-only warnings.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ "mpn": "A String", # Manufacturer Part Number (MPN) of the item.
+ "salePriceEffectiveDate": "A String", # Date range during which the item is on sale.
+ "brand": "A String", # Brand of the item.
+ "material": "A String", # The material of which the item is made.
+ "taxes": [ # Tax information.
+ {
+ "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code.
+ "rate": 3.14, # The percentage of tax rate that applies to the item price.
+ "region": "A String", # The geographic region to which the tax rate applies.
+ "taxShip": True or False, # Set to true if tax is charged on shipping.
+ },
+ ],
+ "link": "A String", # URL directly linking to your item's page on your website.
+ "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
+ "energyEfficiencyClass": "A String", # The energy efficiency class as defined in EU directive 2010/30/EU.
+ "sizeSystem": "A String", # System in which the size is specified. Recommended for apparel items.
+ "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign.
+ "customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign.
+ "customGroups": [ # A list of custom (merchant-provided) custom attribute groups.
+ {
+ "attributes": [ # The sub-attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "name": "A String", # The name of the group.
+ },
+ ],
+ "condition": "A String", # Condition or state of the item.
+ "customLabel0": "A String", # Custom label 0 for custom grouping of items in a Shopping campaign.
+ "kind": "content#product", # Identifies what kind of resource this is. Value: the fixed string "content#product".
+ "installment": { # Number and amount of installments to pay for an item. Brazil only.
+ "amount": { # The amount the buyer has to pay per month.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "months": "A String", # The number of installments the buyer has to pay.
+ },
+ "sizes": [ # Size of the item.
+ "A String",
+ ],
+ "gender": "A String", # Target gender of the item.
+ "shipping": [ # Shipping rules.
+ {
+ "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship.
+ "price": { # Fixed shipping price, represented as a number.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "region": "A String", # The geographic region to which a shipping rate applies (e.g. zip code).
+ "service": "A String", # A free-form description of the service class or delivery speed.
+ },
+ ],
+ "shippingWeight": { # Weight of the item for shipping.
+ "value": 3.14, # The weight of the product used to calculate the shipping cost of the item.
+ "unit": "A String", # The unit of value.
+ },
+ "identifierExists": True or False, # False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.
+ "customAttributes": [ # A list of custom (merchant-provided) attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "salePrice": { # Advertised sale price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "productType": "A String", # Your category of the item.
+ "unitPricingBaseMeasure": "A String", # The preference of the denominator of the unit price.
+ "ageGroup": "A String", # Target age group of the item.
+ "adult": True or False, # Set to true if the item is targeted towards adults.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(merchantId, body, dryRun=None)</code>
+ <pre>Uploads a product to your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Product data.
+ "color": "A String", # Color of the item.
+ "availability": "A String", # Availability status of the item.
+ "additionalImageLinks": [ # Additional URLs of images of the item.
+ "A String",
+ ],
+ "adwordsLabels": [ # Similar to adwords_grouping, but only works on CPC.
+ "A String",
+ ],
+ "itemGroupId": "A String", # Shared identifier for all variants of the same product.
+ "gtin": "A String", # Global Trade Item Number (GTIN) of the item.
+ "expirationDate": "A String", # Date that an item will expire.
+ "merchantMultipackQuantity": "A String", # The number of identical products in a merchant-defined multipack.
+ "googleProductCategory": "A String", # Google's category of the item.
+ "id": "A String", # The REST id of the product.
+ "availabilityDate": "A String", # The day a pre-ordered product becomes available for delivery.
+ "adwordsGrouping": "A String", # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
+ "destinations": [ # Specifies the intended destinations for the product.
+ {
+ "intention": "A String", # Whether the destination is required, excluded or should be validated.
+ "destinationName": "A String", # The name of the destination.
+ },
+ ],
+ "targetCountry": "A String", # The two-letter ISO 3166 country code for the item.
+ "sizeType": "A String", # The cut of the item. Recommended for apparel items.
+ "offerId": "A String", # An identifier of the item.
+ "title": "A String", # Title of the item.
+ "pattern": "A String", # The item's pattern (e.g. polka dots).
+ "unitPricingMeasure": "A String", # The measure and dimension of an item.
+ "imageLink": "A String", # URL of an image of the item.
+ "validatedDestinations": [ # The read-only list of intended destinations which passed validation.
+ "A String",
+ ],
+ "customLabel2": "A String", # Custom label 2 for custom grouping of items in a Shopping campaign.
+ "customLabel1": "A String", # Custom label 1 for custom grouping of items in a Shopping campaign.
+ "isBundle": True or False, # Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
+ "mobileLink": "A String", # Link to a mobile-optimized version of the landing page.
+ "price": { # Price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "channel": "A String", # The item's channel (online or local).
+ "onlineOnly": True or False, # Whether an item is available for purchase only online.
+ "loyaltyPoints": { # Loyalty points that users receive after purchasing the item. Japan only.
+ "ratio": 3.14, # The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.
+ "name": "A String", # Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
+ "pointsValue": "A String", # The retailer's loyalty points in absolute value.
+ },
+ "description": "A String", # Description of the item.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language code for the item.
+ "warnings": [ # Read-only warnings.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ "mpn": "A String", # Manufacturer Part Number (MPN) of the item.
+ "salePriceEffectiveDate": "A String", # Date range during which the item is on sale.
+ "brand": "A String", # Brand of the item.
+ "material": "A String", # The material of which the item is made.
+ "taxes": [ # Tax information.
+ {
+ "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code.
+ "rate": 3.14, # The percentage of tax rate that applies to the item price.
+ "region": "A String", # The geographic region to which the tax rate applies.
+ "taxShip": True or False, # Set to true if tax is charged on shipping.
+ },
+ ],
+ "link": "A String", # URL directly linking to your item's page on your website.
+ "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
+ "energyEfficiencyClass": "A String", # The energy efficiency class as defined in EU directive 2010/30/EU.
+ "sizeSystem": "A String", # System in which the size is specified. Recommended for apparel items.
+ "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign.
+ "customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign.
+ "customGroups": [ # A list of custom (merchant-provided) custom attribute groups.
+ {
+ "attributes": [ # The sub-attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "name": "A String", # The name of the group.
+ },
+ ],
+ "condition": "A String", # Condition or state of the item.
+ "customLabel0": "A String", # Custom label 0 for custom grouping of items in a Shopping campaign.
+ "kind": "content#product", # Identifies what kind of resource this is. Value: the fixed string "content#product".
+ "installment": { # Number and amount of installments to pay for an item. Brazil only.
+ "amount": { # The amount the buyer has to pay per month.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "months": "A String", # The number of installments the buyer has to pay.
+ },
+ "sizes": [ # Size of the item.
+ "A String",
+ ],
+ "gender": "A String", # Target gender of the item.
+ "shipping": [ # Shipping rules.
+ {
+ "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship.
+ "price": { # Fixed shipping price, represented as a number.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "region": "A String", # The geographic region to which a shipping rate applies (e.g. zip code).
+ "service": "A String", # A free-form description of the service class or delivery speed.
+ },
+ ],
+ "shippingWeight": { # Weight of the item for shipping.
+ "value": 3.14, # The weight of the product used to calculate the shipping cost of the item.
+ "unit": "A String", # The unit of value.
+ },
+ "identifierExists": True or False, # False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.
+ "customAttributes": [ # A list of custom (merchant-provided) attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "salePrice": { # Advertised sale price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "productType": "A String", # Your category of the item.
+ "unitPricingBaseMeasure": "A String", # The preference of the denominator of the unit price.
+ "ageGroup": "A String", # Target age group of the item.
+ "adult": True or False, # Set to true if the item is targeted towards adults.
+ }
+
+ dryRun: boolean, Flag to run the request in dry-run mode.
+
+Returns:
+ An object of the form:
+
+ { # Product data.
+ "color": "A String", # Color of the item.
+ "availability": "A String", # Availability status of the item.
+ "additionalImageLinks": [ # Additional URLs of images of the item.
+ "A String",
+ ],
+ "adwordsLabels": [ # Similar to adwords_grouping, but only works on CPC.
+ "A String",
+ ],
+ "itemGroupId": "A String", # Shared identifier for all variants of the same product.
+ "gtin": "A String", # Global Trade Item Number (GTIN) of the item.
+ "expirationDate": "A String", # Date that an item will expire.
+ "merchantMultipackQuantity": "A String", # The number of identical products in a merchant-defined multipack.
+ "googleProductCategory": "A String", # Google's category of the item.
+ "id": "A String", # The REST id of the product.
+ "availabilityDate": "A String", # The day a pre-ordered product becomes available for delivery.
+ "adwordsGrouping": "A String", # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
+ "destinations": [ # Specifies the intended destinations for the product.
+ {
+ "intention": "A String", # Whether the destination is required, excluded or should be validated.
+ "destinationName": "A String", # The name of the destination.
+ },
+ ],
+ "targetCountry": "A String", # The two-letter ISO 3166 country code for the item.
+ "sizeType": "A String", # The cut of the item. Recommended for apparel items.
+ "offerId": "A String", # An identifier of the item.
+ "title": "A String", # Title of the item.
+ "pattern": "A String", # The item's pattern (e.g. polka dots).
+ "unitPricingMeasure": "A String", # The measure and dimension of an item.
+ "imageLink": "A String", # URL of an image of the item.
+ "validatedDestinations": [ # The read-only list of intended destinations which passed validation.
+ "A String",
+ ],
+ "customLabel2": "A String", # Custom label 2 for custom grouping of items in a Shopping campaign.
+ "customLabel1": "A String", # Custom label 1 for custom grouping of items in a Shopping campaign.
+ "isBundle": True or False, # Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
+ "mobileLink": "A String", # Link to a mobile-optimized version of the landing page.
+ "price": { # Price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "channel": "A String", # The item's channel (online or local).
+ "onlineOnly": True or False, # Whether an item is available for purchase only online.
+ "loyaltyPoints": { # Loyalty points that users receive after purchasing the item. Japan only.
+ "ratio": 3.14, # The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.
+ "name": "A String", # Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
+ "pointsValue": "A String", # The retailer's loyalty points in absolute value.
+ },
+ "description": "A String", # Description of the item.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language code for the item.
+ "warnings": [ # Read-only warnings.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ "mpn": "A String", # Manufacturer Part Number (MPN) of the item.
+ "salePriceEffectiveDate": "A String", # Date range during which the item is on sale.
+ "brand": "A String", # Brand of the item.
+ "material": "A String", # The material of which the item is made.
+ "taxes": [ # Tax information.
+ {
+ "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code.
+ "rate": 3.14, # The percentage of tax rate that applies to the item price.
+ "region": "A String", # The geographic region to which the tax rate applies.
+ "taxShip": True or False, # Set to true if tax is charged on shipping.
+ },
+ ],
+ "link": "A String", # URL directly linking to your item's page on your website.
+ "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
+ "energyEfficiencyClass": "A String", # The energy efficiency class as defined in EU directive 2010/30/EU.
+ "sizeSystem": "A String", # System in which the size is specified. Recommended for apparel items.
+ "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign.
+ "customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign.
+ "customGroups": [ # A list of custom (merchant-provided) custom attribute groups.
+ {
+ "attributes": [ # The sub-attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "name": "A String", # The name of the group.
+ },
+ ],
+ "condition": "A String", # Condition or state of the item.
+ "customLabel0": "A String", # Custom label 0 for custom grouping of items in a Shopping campaign.
+ "kind": "content#product", # Identifies what kind of resource this is. Value: the fixed string "content#product".
+ "installment": { # Number and amount of installments to pay for an item. Brazil only.
+ "amount": { # The amount the buyer has to pay per month.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "months": "A String", # The number of installments the buyer has to pay.
+ },
+ "sizes": [ # Size of the item.
+ "A String",
+ ],
+ "gender": "A String", # Target gender of the item.
+ "shipping": [ # Shipping rules.
+ {
+ "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship.
+ "price": { # Fixed shipping price, represented as a number.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "region": "A String", # The geographic region to which a shipping rate applies (e.g. zip code).
+ "service": "A String", # A free-form description of the service class or delivery speed.
+ },
+ ],
+ "shippingWeight": { # Weight of the item for shipping.
+ "value": 3.14, # The weight of the product used to calculate the shipping cost of the item.
+ "unit": "A String", # The unit of value.
+ },
+ "identifierExists": True or False, # False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.
+ "customAttributes": [ # A list of custom (merchant-provided) attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "salePrice": { # Advertised sale price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "productType": "A String", # Your category of the item.
+ "unitPricingBaseMeasure": "A String", # The preference of the denominator of the unit price.
+ "ageGroup": "A String", # Target age group of the item.
+ "adult": True or False, # Set to true if the item is targeted towards adults.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(merchantId, pageToken=None, maxResults=None)</code>
+ <pre>Lists the products in your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ pageToken: string, The token returned by the previous request.
+ maxResults: integer, The maximum number of products to return in the response, used for paging.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "kind": "content#productsListResponse", # Identifies what kind of resource this is. Value: the fixed string "content#productsListResponse".
+ "resources": [
+ { # Product data.
+ "color": "A String", # Color of the item.
+ "availability": "A String", # Availability status of the item.
+ "additionalImageLinks": [ # Additional URLs of images of the item.
+ "A String",
+ ],
+ "adwordsLabels": [ # Similar to adwords_grouping, but only works on CPC.
+ "A String",
+ ],
+ "itemGroupId": "A String", # Shared identifier for all variants of the same product.
+ "gtin": "A String", # Global Trade Item Number (GTIN) of the item.
+ "expirationDate": "A String", # Date that an item will expire.
+ "merchantMultipackQuantity": "A String", # The number of identical products in a merchant-defined multipack.
+ "googleProductCategory": "A String", # Google's category of the item.
+ "id": "A String", # The REST id of the product.
+ "availabilityDate": "A String", # The day a pre-ordered product becomes available for delivery.
+ "adwordsGrouping": "A String", # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
+ "destinations": [ # Specifies the intended destinations for the product.
+ {
+ "intention": "A String", # Whether the destination is required, excluded or should be validated.
+ "destinationName": "A String", # The name of the destination.
+ },
+ ],
+ "targetCountry": "A String", # The two-letter ISO 3166 country code for the item.
+ "sizeType": "A String", # The cut of the item. Recommended for apparel items.
+ "offerId": "A String", # An identifier of the item.
+ "title": "A String", # Title of the item.
+ "pattern": "A String", # The item's pattern (e.g. polka dots).
+ "unitPricingMeasure": "A String", # The measure and dimension of an item.
+ "imageLink": "A String", # URL of an image of the item.
+ "validatedDestinations": [ # The read-only list of intended destinations which passed validation.
+ "A String",
+ ],
+ "customLabel2": "A String", # Custom label 2 for custom grouping of items in a Shopping campaign.
+ "customLabel1": "A String", # Custom label 1 for custom grouping of items in a Shopping campaign.
+ "isBundle": True or False, # Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
+ "mobileLink": "A String", # Link to a mobile-optimized version of the landing page.
+ "price": { # Price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "channel": "A String", # The item's channel (online or local).
+ "onlineOnly": True or False, # Whether an item is available for purchase only online.
+ "loyaltyPoints": { # Loyalty points that users receive after purchasing the item. Japan only.
+ "ratio": 3.14, # The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.
+ "name": "A String", # Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
+ "pointsValue": "A String", # The retailer's loyalty points in absolute value.
+ },
+ "description": "A String", # Description of the item.
+ "contentLanguage": "A String", # The two-letter ISO 639-1 language code for the item.
+ "warnings": [ # Read-only warnings.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ "mpn": "A String", # Manufacturer Part Number (MPN) of the item.
+ "salePriceEffectiveDate": "A String", # Date range during which the item is on sale.
+ "brand": "A String", # Brand of the item.
+ "material": "A String", # The material of which the item is made.
+ "taxes": [ # Tax information.
+ {
+ "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code.
+ "rate": 3.14, # The percentage of tax rate that applies to the item price.
+ "region": "A String", # The geographic region to which the tax rate applies.
+ "taxShip": True or False, # Set to true if tax is charged on shipping.
+ },
+ ],
+ "link": "A String", # URL directly linking to your item's page on your website.
+ "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
+ "energyEfficiencyClass": "A String", # The energy efficiency class as defined in EU directive 2010/30/EU.
+ "sizeSystem": "A String", # System in which the size is specified. Recommended for apparel items.
+ "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign.
+ "customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign.
+ "customGroups": [ # A list of custom (merchant-provided) custom attribute groups.
+ {
+ "attributes": [ # The sub-attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "name": "A String", # The name of the group.
+ },
+ ],
+ "condition": "A String", # Condition or state of the item.
+ "customLabel0": "A String", # Custom label 0 for custom grouping of items in a Shopping campaign.
+ "kind": "content#product", # Identifies what kind of resource this is. Value: the fixed string "content#product".
+ "installment": { # Number and amount of installments to pay for an item. Brazil only.
+ "amount": { # The amount the buyer has to pay per month.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "months": "A String", # The number of installments the buyer has to pay.
+ },
+ "sizes": [ # Size of the item.
+ "A String",
+ ],
+ "gender": "A String", # Target gender of the item.
+ "shipping": [ # Shipping rules.
+ {
+ "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship.
+ "price": { # Fixed shipping price, represented as a number.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "region": "A String", # The geographic region to which a shipping rate applies (e.g. zip code).
+ "service": "A String", # A free-form description of the service class or delivery speed.
+ },
+ ],
+ "shippingWeight": { # Weight of the item for shipping.
+ "value": 3.14, # The weight of the product used to calculate the shipping cost of the item.
+ "unit": "A String", # The unit of value.
+ },
+ "identifierExists": True or False, # False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.
+ "customAttributes": [ # A list of custom (merchant-provided) attributes.
+ {
+ "value": "A String", # The value of the attribute.
+ "type": "A String", # The type of the attribute.
+ "name": "A String", # The name of the attribute.
+ "unit": "A String", # Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.
+ },
+ ],
+ "salePrice": { # Advertised sale price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "productType": "A String", # Your category of the item.
+ "unitPricingBaseMeasure": "A String", # The preference of the denominator of the unit price.
+ "ageGroup": "A String", # Target age group of the item.
+ "adult": True or False, # Set to true if the item is targeted towards adults.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/content_v2.productstatuses.html b/docs/dyn/content_v2.productstatuses.html
new file mode 100644
index 0000000..f4b8986
--- /dev/null
+++ b/docs/dyn/content_v2.productstatuses.html
@@ -0,0 +1,254 @@
+<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="content_v2.html">Content API for Shopping</a> . <a href="content_v2.productstatuses.html">productstatuses</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#custombatch">custombatch(body)</a></code></p>
+<p class="firstline">Gets the statuses of multiple products in a single request.</p>
+<p class="toc_element">
+ <code><a href="#get">get(merchantId, productId)</a></code></p>
+<p class="firstline">Gets the status of a product from your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list">list(merchantId, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">Lists the statuses of the products in your Merchant Center account.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="custombatch">custombatch(body)</code>
+ <pre>Gets the statuses of multiple products in a single request.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "entries": [
+ { # A batch entry encoding a single non-batch request to the productstatuses service of the Content API for Shopping.
+ "batchId": 42, # An entry ID, unique within the batch request.
+ "productId": "A String", # The ID of the product whose status to get.
+ "merchantId": "A String", # The ID of the managing account.
+ "method": "A String", # The method (get).
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "kind": "content#productstatusesCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#productstatusesCustomBatchResponse".
+ "entries": [
+ { # A batch entry encoding a single non-batch response from the productstatuses service of the Content API for Shopping.
+ "batchId": 42, # The ID of the request entry this entry responds to.
+ "kind": "content#productstatusesCustomBatchResponseEntry", # Identifies what kind of resource this is. Value: the fixed string "content#productstatusesCustomBatchResponseEntry".
+ "errors": { # A list of errors returned by a failed batch entry. # A list of errors, if the request failed.
+ "message": "A String", # The message of the first error in errors.
+ "code": 42, # The HTTP status of the first error in errors.
+ "errors": [ # A list of errors.
+ { # An error returned by the API.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ "message": "A String", # A description of the error.
+ },
+ ],
+ },
+ "productStatus": { # The status of a product, i.e., information about a product computed asynchronously by the data quality analysis. # The requested product status. Only defined if the request was successful.
+ "kind": "content#productStatus", # Identifies what kind of resource this is. Value: the fixed string "content#productStatus".
+ "destinationStatuses": [ # The intended destinations for the product.
+ {
+ "approvalStatus": "A String", # The destination's approval status.
+ "destination": "A String", # The name of the destination
+ "intention": "A String", # Whether the destination is required, excluded, selected by default or should be validated.
+ },
+ ],
+ "title": "A String", # The title of the product.
+ "link": "A String", # The link to the product.
+ "dataQualityIssues": [ # A list of data quality issues associated with the product.
+ {
+ "valueProvided": "A String", # The value the attribute had at time of evaluation.
+ "timestamp": "A String", # The time stamp of the data quality issue.
+ "detail": "A String", # A more detailed error string.
+ "location": "A String", # The attribute name that is relevant for the issue.
+ "valueOnLandingPage": "A String", # The value of that attribute that was found on the landing page
+ "id": "A String", # The id of the data quality issue.
+ "fetchStatus": "A String", # The fetch status for landing_page_errors.
+ },
+ ],
+ "productId": "A String", # The id of the product for which status is reported.
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(merchantId, productId)</code>
+ <pre>Gets the status of a product from your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ productId: string, The ID of the product. (required)
+
+Returns:
+ An object of the form:
+
+ { # The status of a product, i.e., information about a product computed asynchronously by the data quality analysis.
+ "kind": "content#productStatus", # Identifies what kind of resource this is. Value: the fixed string "content#productStatus".
+ "destinationStatuses": [ # The intended destinations for the product.
+ {
+ "approvalStatus": "A String", # The destination's approval status.
+ "destination": "A String", # The name of the destination
+ "intention": "A String", # Whether the destination is required, excluded, selected by default or should be validated.
+ },
+ ],
+ "title": "A String", # The title of the product.
+ "link": "A String", # The link to the product.
+ "dataQualityIssues": [ # A list of data quality issues associated with the product.
+ {
+ "valueProvided": "A String", # The value the attribute had at time of evaluation.
+ "timestamp": "A String", # The time stamp of the data quality issue.
+ "detail": "A String", # A more detailed error string.
+ "location": "A String", # The attribute name that is relevant for the issue.
+ "valueOnLandingPage": "A String", # The value of that attribute that was found on the landing page
+ "id": "A String", # The id of the data quality issue.
+ "fetchStatus": "A String", # The fetch status for landing_page_errors.
+ },
+ ],
+ "productId": "A String", # The id of the product for which status is reported.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(merchantId, pageToken=None, maxResults=None)</code>
+ <pre>Lists the statuses of the products in your Merchant Center account.
+
+Args:
+ merchantId: string, The ID of the managing account. (required)
+ pageToken: string, The token returned by the previous request.
+ maxResults: integer, The maximum number of product statuses to return in the response, used for paging.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "kind": "content#productstatusesListResponse", # Identifies what kind of resource this is. Value: the fixed string "content#productstatusesListResponse".
+ "resources": [
+ { # The status of a product, i.e., information about a product computed asynchronously by the data quality analysis.
+ "kind": "content#productStatus", # Identifies what kind of resource this is. Value: the fixed string "content#productStatus".
+ "destinationStatuses": [ # The intended destinations for the product.
+ {
+ "approvalStatus": "A String", # The destination's approval status.
+ "destination": "A String", # The name of the destination
+ "intention": "A String", # Whether the destination is required, excluded, selected by default or should be validated.
+ },
+ ],
+ "title": "A String", # The title of the product.
+ "link": "A String", # The link to the product.
+ "dataQualityIssues": [ # A list of data quality issues associated with the product.
+ {
+ "valueProvided": "A String", # The value the attribute had at time of evaluation.
+ "timestamp": "A String", # The time stamp of the data quality issue.
+ "detail": "A String", # A more detailed error string.
+ "location": "A String", # The attribute name that is relevant for the issue.
+ "valueOnLandingPage": "A String", # The value of that attribute that was found on the landing page
+ "id": "A String", # The id of the data quality issue.
+ "fetchStatus": "A String", # The fetch status for landing_page_errors.
+ },
+ ],
+ "productId": "A String", # The id of the product for which status is reported.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/datastore_v1beta2.datasets.html b/docs/dyn/datastore_v1beta2.datasets.html
index 5e686f2..d463860 100644
--- a/docs/dyn/datastore_v1beta2.datasets.html
+++ b/docs/dyn/datastore_v1beta2.datasets.html
@@ -105,13 +105,13 @@
{
"keys": [ # A list of keys with incomplete key paths to allocate IDs for. No key may be reserved/read-only.
{
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -129,13 +129,13 @@
{
"keys": [ # The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
{
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -145,7 +145,7 @@
},
],
"header": {
- "kind": "datastore#responseHeader", # The kind, fixed to "datastore#responseHeader".
+ "kind": "datastore#responseHeader", # Identifies what kind of resource this is. Value: the fixed string "datastore#responseHeader".
},
}</pre>
</div>
@@ -169,7 +169,7 @@
{
"header": {
- "kind": "datastore#responseHeader", # The kind, fixed to "datastore#responseHeader".
+ "kind": "datastore#responseHeader", # Identifies what kind of resource this is. Value: the fixed string "datastore#responseHeader".
},
"transaction": "A String", # The transaction identifier (always present).
}</pre>
@@ -185,26 +185,27 @@
The object takes the form of:
{
+ "ignoreReadOnly": True or False,
"transaction": "A String", # The transaction identifier, returned by a call to beginTransaction. Must be set when mode is TRANSACTIONAL.
"mode": "A String", # The type of commit to perform. Either TRANSACTIONAL or NON_TRANSACTIONAL.
"mutation": { # The mutation to perform. Optional.
"insert": [ # Entities to insert. Each inserted entity's key must have a complete path and must not be reserved/read-only.
{
"properties": { # The entity's properties.
- "a_key": { # The name of the property. Properties with names matching regex "__.*__" are reserved. A reserved property name is forbidden in certain documented contexts. The name cannot be "".
+ "a_key": { # The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
"doubleValue": 3.14, # A double value.
"integerValue": "A String", # An integer value.
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -216,7 +217,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
{
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
@@ -225,13 +226,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -243,7 +244,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -258,13 +259,13 @@
"key": { # The entity's key.
#
# An entity must have a key, unless otherwise documented (for example, an entity in Value.entityValue may have no key). An entity's kind is its key's path's last element's kind, or null if it has no key.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -278,20 +279,20 @@
"insertAutoId": [ # Insert entities with a newly allocated ID. Each inserted entity's key must omit the final identifier in its path and must not be reserved/read-only.
{
"properties": { # The entity's properties.
- "a_key": { # The name of the property. Properties with names matching regex "__.*__" are reserved. A reserved property name is forbidden in certain documented contexts. The name cannot be "".
+ "a_key": { # The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
"doubleValue": 3.14, # A double value.
"integerValue": "A String", # An integer value.
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -303,7 +304,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
{
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
@@ -312,13 +313,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -330,7 +331,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -345,13 +346,13 @@
"key": { # The entity's key.
#
# An entity must have a key, unless otherwise documented (for example, an entity in Value.entityValue may have no key). An entity's kind is its key's path's last element's kind, or null if it has no key.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -364,20 +365,20 @@
"update": [ # Entities to update. Each updated entity's key must have a complete path and must not be reserved/read-only.
{
"properties": { # The entity's properties.
- "a_key": { # The name of the property. Properties with names matching regex "__.*__" are reserved. A reserved property name is forbidden in certain documented contexts. The name cannot be "".
+ "a_key": { # The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
"doubleValue": 3.14, # A double value.
"integerValue": "A String", # An integer value.
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -389,7 +390,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
{
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
@@ -398,13 +399,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -416,7 +417,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -431,13 +432,13 @@
"key": { # The entity's key.
#
# An entity must have a key, unless otherwise documented (for example, an entity in Value.entityValue may have no key). An entity's kind is its key's path's last element's kind, or null if it has no key.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -449,13 +450,13 @@
],
"delete": [ # Keys of entities to delete. Each key must have a complete key path and must not be reserved/read-only.
{
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -467,20 +468,20 @@
"upsert": [ # Entities to upsert. Each upserted entity's key must have a complete path and must not be reserved/read-only.
{
"properties": { # The entity's properties.
- "a_key": { # The name of the property. Properties with names matching regex "__.*__" are reserved. A reserved property name is forbidden in certain documented contexts. The name cannot be "".
+ "a_key": { # The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
"doubleValue": 3.14, # A double value.
"integerValue": "A String", # An integer value.
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -492,7 +493,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
{
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
@@ -501,13 +502,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -519,7 +520,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -534,13 +535,13 @@
"key": { # The entity's key.
#
# An entity must have a key, unless otherwise documented (for example, an entity in Value.entityValue may have no key). An entity's kind is its key's path's last element's kind, or null if it has no key.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -559,18 +560,18 @@
{
"header": {
- "kind": "datastore#responseHeader", # The kind, fixed to "datastore#responseHeader".
+ "kind": "datastore#responseHeader", # Identifies what kind of resource this is. Value: the fixed string "datastore#responseHeader".
},
"mutationResult": { # The result of performing the mutation (if any).
"insertAutoIdKeys": [ # Keys for insertAutoId entities. One per entity from the request, in the same order.
{
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -596,13 +597,13 @@
{
"keys": [ # Keys of entities to look up from the datastore.
{
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -624,13 +625,13 @@
{
"deferred": [ # A list of keys that were not looked up due to resource constraints.
{
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -643,20 +644,20 @@
{
"entity": { # The resulting entity.
"properties": { # The entity's properties.
- "a_key": { # The name of the property. Properties with names matching regex "__.*__" are reserved. A reserved property name is forbidden in certain documented contexts. The name cannot be "".
+ "a_key": { # The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
"doubleValue": 3.14, # A double value.
"integerValue": "A String", # An integer value.
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -668,7 +669,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
{
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
@@ -677,13 +678,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -695,7 +696,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -710,13 +711,13 @@
"key": { # The entity's key.
#
# An entity must have a key, unless otherwise documented (for example, an entity in Value.entityValue may have no key). An entity's kind is its key's path's last element's kind, or null if it has no key.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -728,26 +729,26 @@
},
],
"header": {
- "kind": "datastore#responseHeader", # The kind, fixed to "datastore#responseHeader".
+ "kind": "datastore#responseHeader", # Identifies what kind of resource this is. Value: the fixed string "datastore#responseHeader".
},
"found": [ # Entities found.
{
"entity": { # The resulting entity.
"properties": { # The entity's properties.
- "a_key": { # The name of the property. Properties with names matching regex "__.*__" are reserved. A reserved property name is forbidden in certain documented contexts. The name cannot be "".
+ "a_key": { # The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
"doubleValue": 3.14, # A double value.
"integerValue": "A String", # An integer value.
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -759,7 +760,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
{
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
@@ -768,13 +769,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -786,7 +787,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -801,13 +802,13 @@
"key": { # The entity's key.
#
# An entity must have a key, unless otherwise documented (for example, an entity in Value.entityValue may have no key). An entity's kind is its key's path's last element's kind, or null if it has no key.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -840,7 +841,7 @@
{
"header": {
- "kind": "datastore#responseHeader", # The kind, fixed to "datastore#responseHeader".
+ "kind": "datastore#responseHeader", # Identifies what kind of resource this is. Value: the fixed string "datastore#responseHeader".
},
}</pre>
</div>
@@ -897,13 +898,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -915,7 +916,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -933,7 +934,7 @@
},
],
},
- "partitionId": { # Entities are partitioned into subsets, identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
+ "partitionId": { # Entities are partitioned into subsets, identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID, but all other partition IDs in RunQueryRequest are normalized with this partition ID as the context partition ID.
"namespace": "A String", # The namespace.
"datasetId": "A String", # The dataset ID.
},
@@ -950,13 +951,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -968,7 +969,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -989,13 +990,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -1007,7 +1008,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -1029,7 +1030,7 @@
{
"header": {
- "kind": "datastore#responseHeader", # The kind, fixed to "datastore#responseHeader".
+ "kind": "datastore#responseHeader", # Identifies what kind of resource this is. Value: the fixed string "datastore#responseHeader".
},
"batch": { # A batch of query results (always present).
"moreResults": "A String", # The state of the query after the current batch. One of notFinished, moreResultsAfterLimit, noMoreResults.
@@ -1037,20 +1038,20 @@
{
"entity": { # The resulting entity.
"properties": { # The entity's properties.
- "a_key": { # The name of the property. Properties with names matching regex "__.*__" are reserved. A reserved property name is forbidden in certain documented contexts. The name cannot be "".
+ "a_key": { # The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
"doubleValue": 3.14, # A double value.
"integerValue": "A String", # An integer value.
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -1062,7 +1063,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
{
"entityValue": # Object with schema name: Entity # An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key.
@@ -1071,13 +1072,13 @@
"meaning": 42, # The meaning field is reserved and should not be used.
"dateTimeValue": "A String", # A timestamp value.
"keyValue": { # A key value.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
@@ -1089,7 +1090,7 @@
"indexed": True or False, # If the value should be indexed.
#
# The indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true.
- "blobValue": "A String", # A blob value.
+ "blobValue": "A String", # A blob value. May be a maximum of 1,000,000 bytes.
"listValue": [ # A list value. Cannot contain another list value. Cannot also have a meaning and indexing set.
# Object with schema name: Value
],
@@ -1104,13 +1105,13 @@
"key": { # The entity's key.
#
# An entity must have a key, unless otherwise documented (for example, an entity in Value.entityValue may have no key). An entity's kind is its key's path's last element's kind, or null if it has no key.
- "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty.
+ "path": [ # The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.
{ # A (kind, ID/name) pair used to construct a key path.
#
# At most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.
- "kind": "A String", # The kind of the entity. Kinds matching regex "__.*__" are reserved/read-only. Cannot be "".
- "id": "A String", # The ID of the entity. Always > 0.
- "name": "A String", # The name of the entity. Names matching regex "__.*__" are reserved/read-only. Cannot be "".
+ "kind": "A String", # The kind of the entity. A kind matching regex "__.*__" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be "".
+ "id": "A String", # The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.
+ "name": "A String", # The name of the entity. A name matching regex "__.*__" is reserved/read-only. A name must not be more than 500 characters. Cannot be "".
},
],
"partitionId": { # Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition.
diff --git a/docs/dyn/doubleclicksearch_v2.reports.html b/docs/dyn/doubleclicksearch_v2.reports.html
index 8b02daf..387444e 100644
--- a/docs/dyn/doubleclicksearch_v2.reports.html
+++ b/docs/dyn/doubleclicksearch_v2.reports.html
@@ -101,9 +101,15 @@
{ # A request object used to create a DoubleClick Search report.
"orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.
{
- "column": { # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to sort by.
- "savedColumnName": "A String", # Name of a saved column to sort by.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"sortOrder": "A String", # The sort direction, which is either ascending or descending.
},
@@ -131,9 +137,15 @@
"verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false.
"filters": [ # A list of filters to be applied to the report.
{
- "column": { # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to filter on.
- "savedColumnName": "A String", # Name of a saved column to filter on.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators.
"values": [ # A list of values to filter the column value against.
@@ -144,13 +156,15 @@
"downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported.
"includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead.
"columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza.
- {
- "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
+ { # A request object used to create a DoubleClick Search report.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
"endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
"savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
- "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
"headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
"columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
],
"includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false.
@@ -176,9 +190,15 @@
"request": { # A request object used to create a DoubleClick Search report. # The request that created the report. Optional fields not specified in the original request are filled with default values.
"orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.
{
- "column": { # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to sort by.
- "savedColumnName": "A String", # Name of a saved column to sort by.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"sortOrder": "A String", # The sort direction, which is either ascending or descending.
},
@@ -206,9 +226,15 @@
"verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false.
"filters": [ # A list of filters to be applied to the report.
{
- "column": { # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to filter on.
- "savedColumnName": "A String", # Name of a saved column to filter on.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators.
"values": [ # A list of values to filter the column value against.
@@ -219,13 +245,15 @@
"downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported.
"includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead.
"columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza.
- {
- "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
+ { # A request object used to create a DoubleClick Search report.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
"endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
"savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
- "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
"headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
"columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
],
"includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false.
@@ -264,9 +292,15 @@
"request": { # A request object used to create a DoubleClick Search report. # The request that created the report. Optional fields not specified in the original request are filled with default values.
"orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.
{
- "column": { # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to sort by.
- "savedColumnName": "A String", # Name of a saved column to sort by.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"sortOrder": "A String", # The sort direction, which is either ascending or descending.
},
@@ -294,9 +328,15 @@
"verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false.
"filters": [ # A list of filters to be applied to the report.
{
- "column": { # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to filter on.
- "savedColumnName": "A String", # Name of a saved column to filter on.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators.
"values": [ # A list of values to filter the column value against.
@@ -307,13 +347,15 @@
"downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported.
"includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead.
"columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza.
- {
- "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
+ { # A request object used to create a DoubleClick Search report.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
"endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
"savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
- "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
"headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
"columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
],
"includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false.
@@ -357,9 +399,15 @@
{ # A request object used to create a DoubleClick Search report.
"orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.
{
- "column": { # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to sort by.
- "savedColumnName": "A String", # Name of a saved column to sort by.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"sortOrder": "A String", # The sort direction, which is either ascending or descending.
},
@@ -387,9 +435,15 @@
"verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false.
"filters": [ # A list of filters to be applied to the report.
{
- "column": { # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to filter on.
- "savedColumnName": "A String", # Name of a saved column to filter on.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators.
"values": [ # A list of values to filter the column value against.
@@ -400,13 +454,15 @@
"downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported.
"includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead.
"columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza.
- {
- "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
+ { # A request object used to create a DoubleClick Search report.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
"endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
"savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
- "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
"headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
"columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
],
"includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false.
@@ -432,9 +488,15 @@
"request": { # A request object used to create a DoubleClick Search report. # The request that created the report. Optional fields not specified in the original request are filled with default values.
"orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.
{
- "column": { # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to sort by.
- "savedColumnName": "A String", # Name of a saved column to sort by.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"sortOrder": "A String", # The sort direction, which is either ascending or descending.
},
@@ -462,9 +524,15 @@
"verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false.
"filters": [ # A list of filters to be applied to the report.
{
- "column": { # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
- "columnName": "A String", # Name of a DoubleClick Search column to filter on.
- "savedColumnName": "A String", # Name of a saved column to filter on.
+ "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
+ "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
+ "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
+ "columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
"operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators.
"values": [ # A list of values to filter the column value against.
@@ -475,13 +543,15 @@
"downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported.
"includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead.
"columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza.
- {
- "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
+ { # A request object used to create a DoubleClick Search report.
+ "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
"endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate.
"savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.
- "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false.
+ "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.
"headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.
"columnName": "A String", # Name of a DoubleClick Search column to include in the report.
+ "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "Floodlight".
+ "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate.
},
],
"includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false.
diff --git a/docs/dyn/drive_v2.about.html b/docs/dyn/drive_v2.about.html
index 24a3664..0735fb3 100644
--- a/docs/dyn/drive_v2.about.html
+++ b/docs/dyn/drive_v2.about.html
@@ -83,7 +83,7 @@
<pre>Gets the information about the current user along with Drive API settings
Args:
- includeSubscribed: boolean, When calculating the number of remaining change IDs, whether to include shared files and public files the user has opened. When set to false, this counts only change IDs for owned files and any shared or public files that the user has explictly added to a folder in Drive.
+ includeSubscribed: boolean, When calculating the number of remaining change IDs, whether to include public files the user has opened and shared files. When set to false, this counts only change IDs for owned files and any shared or public files that the user has explicitly added to a folder they own.
startChangeId: string, Change ID to start counting from when calculating number of remaining change IDs
maxChangeIdCount: string, Maximum number of remaining change IDs to count
@@ -91,32 +91,26 @@
An object of the form:
{ # An item with user information and settings.
- "kind": "drive#about", # This is always drive#about.
+ "languageCode": "A String", # The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).
+ "quotaBytesByService": [ # The amount of storage quota used by different Google services.
+ {
+ "serviceName": "A String", # The service's name, e.g. DRIVE, GMAIL, or PHOTOS.
+ "bytesUsed": "A String", # The storage quota bytes used by the service.
+ },
+ ],
"features": [ # List of additional features enabled on this account.
{
"featureName": "A String", # The name of the feature.
"featureRate": 3.14, # The request limit rate for this feature, in queries per second.
},
],
- "quotaBytesUsed": "A String", # The number of quota bytes used by Google Drive.
- "user": { # The JSON template for a user. # The authenticated user.
- "picture": { # The user's profile picture.
- "url": "A String", # A URL that points to a profile picture of this user.
- },
- "kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
- "displayName": "A String", # A plain text displayable name for this user.
- "permissionId": "A String", # The user's ID as visible in the permissions collection.
- },
+ "quotaBytesUsedAggregate": "A String", # The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
"permissionId": "A String", # The current user's ID as visible in the permissions collection.
- "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.
- },
- ],
- "name": "A String", # The name of the current user.
- "remainingChangeIds": "A String", # The number of remaining change ids.
+ "etag": "A String", # The ETag of the item.
+ "largestChangeId": "A String", # The largest change id.
+ "quotaBytesUsedInTrash": "A String", # The number of quota bytes used by trashed items.
+ "domainSharingPolicy": "A String", # The domain sharing policy for the current user.
+ "isCurrentAppInstalled": True or False, # A boolean indicating whether the authenticated app is installed by the authenticated user.
"additionalRoleInfo": [ # Information about supported additional roles per file type. The most specific type takes precedence.
{
"roleSets": [ # The supported additional roles per primary role.
@@ -130,7 +124,29 @@
"type": "A String", # The content type that this additional role info applies to.
},
],
- "etag": "A String", # The ETag of the item.
+ "user": { # The JSON template for a user. # The authenticated user.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
+ "quotaType": "A String", # The type of the user's storage quota. Possible values are:
+ # - LIMITED
+ # - UNLIMITED
+ "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.
+ },
+ ],
+ "kind": "drive#about", # This is always drive#about.
+ "name": "A String", # The name of the current user.
+ "quotaBytesTotal": "A String", # The total number of quota bytes.
+ "remainingChangeIds": "A String", # The number of remaining change ids.
"importFormats": [ # The allowable import formats.
{
"source": "A String", # The imported file's content type to convert from.
@@ -139,10 +155,8 @@
],
},
],
- "quotaBytesTotal": "A String", # The total number of quota bytes.
"rootFolderId": "A String", # The id of the root folder.
- "largestChangeId": "A String", # The largest change id.
- "quotaBytesUsedInTrash": "A String", # The number of quota bytes used by trashed items.
+ "quotaBytesUsed": "A String", # The number of quota bytes used by Google Drive.
"exportFormats": [ # The allowable export formats.
{
"source": "A String", # The content type to convert from.
@@ -151,10 +165,7 @@
],
},
],
- "quotaBytesUsedAggregate": "A String", # The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
- "domainSharingPolicy": "A String", # The domain sharing policy for the current user.
"selfLink": "A String", # A link back to this item.
- "isCurrentAppInstalled": True or False, # A boolean indicating whether the authenticated app is installed by the authenticated user.
}</pre>
</div>
diff --git a/docs/dyn/drive_v2.apps.html b/docs/dyn/drive_v2.apps.html
index cc81146..5777e69 100644
--- a/docs/dyn/drive_v2.apps.html
+++ b/docs/dyn/drive_v2.apps.html
@@ -78,7 +78,7 @@
<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>
+ <code><a href="#list">list(languageCode=None, appFilterMimeTypes=None, appFilterExtensions=None)</a></code></p>
<p class="firstline">Lists a user's installed apps.</p>
<h3>Method Details</h3>
<div class="method">
@@ -100,6 +100,7 @@
"productUrl": "A String", # A link to the product listing for this app.
"shortDescription": "A String", # A short description of the app.
"id": "A String", # The ID of the app.
+ "hasDriveWideScope": True or False, # Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user's drive.
"objectType": "A String", # The type of object this app creates (e.g. Chart). If empty, the app name should be used instead.
"primaryFileExtensions": [ # The list of primary file extensions.
"A String",
@@ -122,6 +123,7 @@
"productId": "A String", # The ID of the product listing for this app.
"longDescription": "A String", # A long description of the app.
"supportsCreate": True or False, # Whether this app supports creating new objects.
+ "supportsOfflineCreate": True or False, # Whether this app supports creating new files when offline.
"kind": "drive#app", # This is always drive#app.
"name": "A String", # The name of the app.
"createUrl": "A String", # The url to create a new file with this app.
@@ -135,10 +137,13 @@
</div>
<div class="method">
- <code class="details" id="list">list()</code>
+ <code class="details" id="list">list(languageCode=None, appFilterMimeTypes=None, appFilterExtensions=None)</code>
<pre>Lists a user's installed apps.
Args:
+ languageCode: string, A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).
+ appFilterMimeTypes: string, A comma-separated list of MIME types for open with filtering. All apps within the given app query scope which can open any of the given MIME types will be included in the response. If appFilterExtensions are provided as well, the result is a union of the two resulting app lists.
+ appFilterExtensions: string, A comma-separated list of file extensions for open with filtering. All apps within the given app query scope which can open any of the given file extensions will be included in the response. If appFilterMimeTypes are provided as well, the result is a union of the two resulting app lists.
Returns:
An object of the form:
@@ -154,6 +159,7 @@
"productUrl": "A String", # A link to the product listing for this app.
"shortDescription": "A String", # A short description of the app.
"id": "A String", # The ID of the app.
+ "hasDriveWideScope": True or False, # Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user's drive.
"objectType": "A String", # The type of object this app creates (e.g. Chart). If empty, the app name should be used instead.
"primaryFileExtensions": [ # The list of primary file extensions.
"A String",
@@ -176,6 +182,7 @@
"productId": "A String", # The ID of the product listing for this app.
"longDescription": "A String", # A long description of the app.
"supportsCreate": True or False, # Whether this app supports creating new objects.
+ "supportsOfflineCreate": True or False, # Whether this app supports creating new files when offline.
"kind": "drive#app", # This is always drive#app.
"name": "A String", # The name of the app.
"createUrl": "A String", # The url to create a new file with this app.
@@ -190,6 +197,9 @@
"kind": "drive#appList", # This is always drive#appList.
"etag": "A String", # The ETag of the list.
"selfLink": "A String", # A link back to this list.
+ "defaultAppIds": [ # List of app IDs that the user has specified to use by default. The list is in reverse-priority order (lowest to highest).
+ "A String",
+ ],
}</pre>
</div>
diff --git a/docs/dyn/drive_v2.changes.html b/docs/dyn/drive_v2.changes.html
index ae954b5..e197484 100644
--- a/docs/dyn/drive_v2.changes.html
+++ b/docs/dyn/drive_v2.changes.html
@@ -103,7 +103,8 @@
"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. 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -124,20 +125,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -160,6 +173,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -198,6 +238,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -221,14 +262,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -262,7 +303,7 @@
<pre>Lists the changes for a user.
Args:
- includeSubscribed: boolean, Whether to include shared files and public files the user has opened. When set to false, the list will include owned files plus any shared or public files the user has explictly added to a folder in Drive.
+ includeSubscribed: boolean, Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.
includeDeleted: boolean, Whether to include deleted items.
pageToken: string, Page token for changes.
maxResults: integer, Maximum number of changes to return.
@@ -281,7 +322,8 @@
"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. 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -302,20 +344,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -338,6 +392,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -376,6 +457,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -399,14 +481,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -478,7 +560,7 @@
"id": "A String", # A UUID or similar unique string that identifies this channel.
}
- includeSubscribed: boolean, Whether to include shared files and public files the user has opened. When set to false, the list will include owned files plus any shared or public files the user has explictly added to a folder in Drive.
+ includeSubscribed: boolean, Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.
includeDeleted: boolean, Whether to include deleted items.
pageToken: string, Page token for changes.
maxResults: integer, Maximum number of changes to return.
diff --git a/docs/dyn/drive_v2.comments.html b/docs/dyn/drive_v2.comments.html
index 5d95ed3..6cbeaa7 100644
--- a/docs/dyn/drive_v2.comments.html
+++ b/docs/dyn/drive_v2.comments.html
@@ -129,9 +129,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
"replies": [ # Replies to this post.
@@ -142,9 +143,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -192,9 +194,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
"replies": [ # Replies to this post.
@@ -205,9 +208,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -249,9 +253,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
"replies": [ # Replies to this post.
@@ -262,9 +267,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -320,9 +326,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
"replies": [ # Replies to this post.
@@ -333,9 +340,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -403,9 +411,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
"replies": [ # Replies to this post.
@@ -416,9 +425,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -460,9 +470,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
"replies": [ # Replies to this post.
@@ -473,9 +484,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -524,9 +536,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
"replies": [ # Replies to this post.
@@ -537,9 +550,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -581,9 +595,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
"replies": [ # Replies to this post.
@@ -594,9 +609,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
diff --git a/docs/dyn/drive_v2.files.html b/docs/dyn/drive_v2.files.html
index 01b5f78..b0e19f6 100644
--- a/docs/dyn/drive_v2.files.html
+++ b/docs/dyn/drive_v2.files.html
@@ -81,19 +81,22 @@
<code><a href="#delete">delete(fileId)</a></code></p>
<p class="firstline">Permanently deletes a file by ID. Skips the trash.</p>
<p class="toc_element">
+ <code><a href="#emptyTrash">emptyTrash()</a></code></p>
+<p class="firstline">Permanently deletes all of the user's trashed files.</p>
+<p class="toc_element">
<code><a href="#get">get(fileId, projection=None, updateViewedDate=None)</a></code></p>
<p class="firstline">Gets a file's metadata by ID.</p>
<p class="toc_element">
<code><a href="#insert">insert(body=None, media_body=None, convert=None, useContentAsIndexableText=None, visibility=None, ocrLanguage=None, ocr=None, timedTextLanguage=None, timedTextTrackName=None, pinned=None)</a></code></p>
<p class="firstline">Insert a new file.</p>
<p class="toc_element">
- <code><a href="#list">list(q=None, projection=None, pageToken=None, maxResults=None)</a></code></p>
+ <code><a href="#list">list(q=None, projection=None, pageToken=None, maxResults=None, corpus=None)</a></code></p>
<p class="firstline">Lists the user's files.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
- <code><a href="#patch">patch(fileId, body, newRevision=None, pinned=None, ocrLanguage=None, ocr=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</a></code></p>
+ <code><a href="#patch">patch(fileId, body, newRevision=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</a></code></p>
<p class="firstline">Updates file metadata and/or content. This method supports patch semantics.</p>
<p class="toc_element">
<code><a href="#touch">touch(fileId)</a></code></p>
@@ -105,7 +108,7 @@
<code><a href="#untrash">untrash(fileId)</a></code></p>
<p class="firstline">Restores a file from the trash.</p>
<p class="toc_element">
- <code><a href="#update">update(fileId, body=None, newRevision=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</a></code></p>
+ <code><a href="#update">update(fileId, body=None, newRevision=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</a></code></p>
<p class="firstline">Updates file metadata and/or content.</p>
<p class="toc_element">
<code><a href="#watch">watch(fileId, body, projection=None, updateViewedDate=None)</a></code></p>
@@ -123,7 +126,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -144,20 +148,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -180,6 +196,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -218,6 +261,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -241,14 +285,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -288,7 +332,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -309,20 +354,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -345,6 +402,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -383,6 +467,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -406,14 +491,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -447,6 +532,14 @@
</div>
<div class="method">
+ <code class="details" id="emptyTrash">emptyTrash()</code>
+ <pre>Permanently deletes all of the user's trashed files.
+
+Args:
+</pre>
+</div>
+
+<div class="method">
<code class="details" id="get">get(fileId, projection=None, updateViewedDate=None)</code>
<pre>Gets a file's metadata by ID.
@@ -464,7 +557,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -485,20 +579,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -521,6 +627,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -559,6 +692,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -582,14 +716,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -624,7 +758,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -645,20 +780,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -681,6 +828,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -719,6 +893,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -742,14 +917,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -791,7 +966,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -812,20 +988,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -848,6 +1036,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -886,6 +1101,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -909,14 +1125,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -941,7 +1157,7 @@
</div>
<div class="method">
- <code class="details" id="list">list(q=None, projection=None, pageToken=None, maxResults=None)</code>
+ <code class="details" id="list">list(q=None, projection=None, pageToken=None, maxResults=None, corpus=None)</code>
<pre>Lists the user's files.
Args:
@@ -952,6 +1168,10 @@
FULL - Deprecated
pageToken: string, Page token for files.
maxResults: integer, Maximum number of files to return.
+ corpus: string, The body of items (files/documents) to which the query applies.
+ Allowed values
+ DEFAULT - The items that the user has accessed.
+ DOMAIN - Items shared to the user's domain.
Returns:
An object of the form:
@@ -963,7 +1183,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -984,20 +1205,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -1020,6 +1253,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -1058,6 +1318,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -1081,14 +1342,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1132,7 +1393,7 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(fileId, body, newRevision=None, pinned=None, ocrLanguage=None, ocr=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</code>
+ <code class="details" id="patch">patch(fileId, body, newRevision=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</code>
<pre>Updates file metadata and/or content. This method supports patch semantics.
Args:
@@ -1143,7 +1404,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -1164,20 +1426,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -1200,6 +1474,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -1238,6 +1539,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -1261,14 +1563,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1295,6 +1597,8 @@
pinned: boolean, Whether to pin the new revision.
ocrLanguage: string, If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
+ addParents: string, Comma-separated list of parent IDs to add.
+ removeParents: string, Comma-separated list of parent IDs to remove.
updateViewedDate: boolean, Whether to update the view date after successfully updating the file.
timedTextTrackName: string, The timed text track name.
convert: boolean, Whether to convert this file to the corresponding Google Docs format.
@@ -1308,7 +1612,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -1329,20 +1634,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -1365,6 +1682,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -1403,6 +1747,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -1426,14 +1771,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1470,7 +1815,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -1491,20 +1837,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -1527,6 +1885,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -1565,6 +1950,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -1588,14 +1974,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1632,7 +2018,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -1653,20 +2040,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -1689,6 +2088,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -1727,6 +2153,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -1750,14 +2177,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1794,7 +2221,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -1815,20 +2243,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -1851,6 +2291,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -1889,6 +2356,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -1912,14 +2380,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1944,7 +2412,7 @@
</div>
<div class="method">
- <code class="details" id="update">update(fileId, body=None, newRevision=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</code>
+ <code class="details" id="update">update(fileId, body=None, newRevision=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</code>
<pre>Updates file metadata and/or content.
Args:
@@ -1955,7 +2423,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -1976,20 +2445,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -2012,6 +2493,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -2050,6 +2558,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -2073,14 +2582,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2108,6 +2617,8 @@
ocrLanguage: string, If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
pinned: boolean, Whether to pin the new revision.
+ addParents: string, Comma-separated list of parent IDs to add.
+ removeParents: string, Comma-separated list of parent IDs to remove.
updateViewedDate: boolean, Whether to update the view date after successfully updating the file.
timedTextTrackName: string, The timed text track name.
convert: boolean, Whether to convert this file to the corresponding Google Docs format.
@@ -2121,7 +2632,8 @@
{ # The metadata for a 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.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
- "appDataContents": True or False, # Whether this file is in the appdata folder.
+ "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
+ "appDataContents": True or False, # Whether this file is in the Application Data folder.
"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.
@@ -2142,20 +2654,32 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
],
"id": "A String", # The ID of the file.
+ "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
+ "picture": { # The user's profile picture.
+ "url": "A String", # A URL that points to a profile picture of this user.
+ },
+ "kind": "drive#user", # This is always drive#user.
+ "displayName": "A String", # A plain text displayable name for this user.
+ "permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"copyable": True or False, # Whether the file can be copied by the current user.
"ownerNames": [ # Name(s) of the owner(s) of this file.
@@ -2178,6 +2702,33 @@
"a_key": "A String", # A mapping from export format to URL
},
"shared": True or False, # Whether the file has been shared.
+ "permissions": [ # The list of permissions for users with access to this file.
+ { # A permission for a file.
+ "withLink": True or False, # Whether the link is required for this permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "name": "A String", # The name for this permission.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "authKey": "A String", # The authkey parameter required for this permission.
+ "etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. Allowed values are:
+ # - owner
+ # - reader
+ # - writer
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
+ "A String",
+ ],
+ "selfLink": "A String", # A link back to this permission.
+ },
+ ],
"thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
"mimeType": "A String", # The MIME type of the thumbnail.
"image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
@@ -2216,6 +2767,7 @@
"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.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
@@ -2239,14 +2791,14 @@
"downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
"userPermission": { # A 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.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
diff --git a/docs/dyn/drive_v2.permissions.html b/docs/dyn/drive_v2.permissions.html
index 9a1743b..ed9c80f 100644
--- a/docs/dyn/drive_v2.permissions.html
+++ b/docs/dyn/drive_v2.permissions.html
@@ -119,14 +119,14 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -171,14 +171,14 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -195,7 +195,7 @@
"selfLink": "A String", # A link back to this permission.
}
- sendNotificationEmails: boolean, Whether to send notification emails when sharing to users or groups.
+ sendNotificationEmails: boolean, Whether to send notification emails when sharing to users or groups. This parameter is ignored and an email is sent if the role is owner.
emailMessage: string, A custom message to include in notification emails.
Returns:
@@ -203,14 +203,14 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -242,14 +242,14 @@
"items": [ # The actual list of permissions.
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -284,14 +284,14 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -315,14 +315,14 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -352,14 +352,14 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -383,14 +383,14 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
"name": "A String", # The name for this permission.
"kind": "drive#permission", # This is always drive#permission.
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of 'id' or 'value' fields must be specified.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
diff --git a/docs/dyn/drive_v2.realtime.html b/docs/dyn/drive_v2.realtime.html
index 2719319..63cdfa1 100644
--- a/docs/dyn/drive_v2.realtime.html
+++ b/docs/dyn/drive_v2.realtime.html
@@ -75,30 +75,32 @@
<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.realtime.html">realtime</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#get">get(fileId)</a></code></p>
+ <code><a href="#get">get(fileId, revision=None)</a></code></p>
<p class="firstline">Exports the contents of the Realtime API data model associated with this file as JSON.</p>
<p class="toc_element">
- <code><a href="#get_media">get_media(fileId)</a></code></p>
+ <code><a href="#get_media">get_media(fileId, revision=None)</a></code></p>
<p class="firstline">Exports the contents of the Realtime API data model associated with this file as JSON.</p>
<p class="toc_element">
<code><a href="#update">update(fileId, media_body=None, baseRevision=None)</a></code></p>
<p class="firstline">Overwrites the Realtime API data model associated with this file with the provided JSON data model.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="get">get(fileId)</code>
+ <code class="details" id="get">get(fileId, revision=None)</code>
<pre>Exports the contents of the Realtime API data model associated with this file as JSON.
Args:
fileId: string, The ID of the file that the Realtime API data model is associated with. (required)
+ revision: integer, The revision of the Realtime API data model to export. Revisions start at 1 (the initial empty data model) and are incremented with each change. If this parameter is excluded, the most recent data model will be returned.
</pre>
</div>
<div class="method">
- <code class="details" id="get_media">get_media(fileId)</code>
+ <code class="details" id="get_media">get_media(fileId, revision=None)</code>
<pre>Exports the contents of the Realtime API data model associated with this file as JSON.
Args:
fileId: string, The ID of the file that the Realtime API data model is associated with. (required)
+ revision: integer, The revision of the Realtime API data model to export. Revisions start at 1 (the initial empty data model) and are incremented with each change. If this parameter is excluded, the most recent data model will be returned.
</pre>
</div>
diff --git a/docs/dyn/drive_v2.replies.html b/docs/dyn/drive_v2.replies.html
index e393640..76d4fe5 100644
--- a/docs/dyn/drive_v2.replies.html
+++ b/docs/dyn/drive_v2.replies.html
@@ -127,9 +127,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -160,9 +161,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -186,9 +188,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -226,9 +229,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -279,9 +283,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -305,9 +310,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -339,9 +345,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
@@ -365,9 +372,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"deleted": True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
"htmlContent": "A String", # HTML formatted content for this reply.
diff --git a/docs/dyn/drive_v2.revisions.html b/docs/dyn/drive_v2.revisions.html
index 1d9645d..7eff89c 100644
--- a/docs/dyn/drive_v2.revisions.html
+++ b/docs/dyn/drive_v2.revisions.html
@@ -122,9 +122,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"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.
@@ -166,9 +167,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"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.
@@ -213,9 +215,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"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.
@@ -248,9 +251,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"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.
@@ -290,9 +294,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"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.
@@ -325,9 +330,10 @@
"url": "A String", # A URL that points to a profile picture of this user.
},
"kind": "drive#user", # This is always drive#user.
- "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"displayName": "A String", # A plain text displayable name for this user.
"permissionId": "A String", # The user's ID as visible in the permissions collection.
+ "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
+ "emailAddress": "A String", # The email address of the user.
},
"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.
diff --git a/docs/dyn/fusiontables_v1.column.html b/docs/dyn/fusiontables_v1.column.html
index c5ea4c5..3258943 100644
--- a/docs/dyn/fusiontables_v1.column.html
+++ b/docs/dyn/fusiontables_v1.column.html
@@ -119,13 +119,15 @@
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
}</pre>
</div>
@@ -140,13 +142,15 @@
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
}
@@ -155,13 +159,15 @@
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
}</pre>
</div>
@@ -182,16 +188,18 @@
"items": [ # List of all requested columns.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
- "kind": "fusiontables#columnList", # Type name: a list of all tables.
+ "kind": "fusiontables#columnList", # Type name: a list of all columns.
"totalItems": 42, # Total number of columns for the table.
}</pre>
</div>
@@ -222,13 +230,15 @@
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
}
@@ -237,13 +247,15 @@
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
}</pre>
</div>
@@ -259,13 +271,15 @@
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
}
@@ -274,13 +288,15 @@
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
}</pre>
</div>
diff --git a/docs/dyn/fusiontables_v1.html b/docs/dyn/fusiontables_v1.html
index b5c0ca6..0247ee8 100644
--- a/docs/dyn/fusiontables_v1.html
+++ b/docs/dyn/fusiontables_v1.html
@@ -95,6 +95,11 @@
<p class="firstline">Returns the table Resource.</p>
<p class="toc_element">
+ <code><a href="fusiontables_v1.task.html">task()</a></code>
+</p>
+<p class="firstline">Returns the task Resource.</p>
+
+<p class="toc_element">
<code><a href="fusiontables_v1.template.html">template()</a></code>
</p>
<p class="firstline">Returns the template Resource.</p>
diff --git a/docs/dyn/fusiontables_v1.query.html b/docs/dyn/fusiontables_v1.query.html
index a4ac39a..a042078 100644
--- a/docs/dyn/fusiontables_v1.query.html
+++ b/docs/dyn/fusiontables_v1.query.html
@@ -80,6 +80,12 @@
<p class="toc_element">
<code><a href="#sqlGet">sqlGet(sql, hdrs=None, typed=None)</a></code></p>
<p class="firstline">Executes an SQL SELECT/SHOW/DESCRIBE statement.</p>
+<p class="toc_element">
+ <code><a href="#sqlGet_media">sqlGet_media(sql, hdrs=None, typed=None)</a></code></p>
+<p class="firstline">Executes an SQL SELECT/SHOW/DESCRIBE statement.</p>
+<p class="toc_element">
+ <code><a href="#sql_media">sql_media(sql, hdrs=None, typed=None)</a></code></p>
+<p class="firstline">Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="sql">sql(sql, hdrs=None, typed=None)</code>
@@ -131,4 +137,34 @@
}</pre>
</div>
+<div class="method">
+ <code class="details" id="sqlGet_media">sqlGet_media(sql, hdrs=None, typed=None)</code>
+ <pre>Executes an SQL SELECT/SHOW/DESCRIBE statement.
+
+Args:
+ sql: string, An SQL SELECT/SHOW/DESCRIBE statement. (required)
+ hdrs: boolean, Should column names be included (in the first row)?. Default is true.
+ typed: boolean, Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.
+
+Returns:
+ The media object as a string.
+
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="sql_media">sql_media(sql, hdrs=None, typed=None)</code>
+ <pre>Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement.
+
+Args:
+ sql: string, An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE/CREATE statement. (required)
+ hdrs: boolean, Should column names be included (in the first row)?. Default is true.
+ typed: boolean, Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.
+
+Returns:
+ The media object as a string.
+
+ </pre>
+</div>
+
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/fusiontables_v1.table.html b/docs/dyn/fusiontables_v1.table.html
index 0157063..86bcbcc 100644
--- a/docs/dyn/fusiontables_v1.table.html
+++ b/docs/dyn/fusiontables_v1.table.html
@@ -130,13 +130,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -176,13 +178,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -238,13 +242,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -273,13 +279,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -303,13 +311,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -344,13 +354,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -397,13 +409,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -428,13 +442,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -464,13 +480,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
@@ -495,13 +513,15 @@
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
"kind": "fusiontables#column", # Type name: a template for an individual column.
- "type": "A String", # Required type of the column.
- "columnId": 42, # Identifier for the column.
- "name": "A String", # Required name of the column.
+ "description": "A String", # Optional column description.
"baseColumn": { # Optional identifier of the base column. If present, this column is derived from the specified base column.
"tableIndex": 42, # Offset to the entry in the list of base tables in the table definition.
"columnId": 42, # The id of the column in the base table from which this column is derived.
},
+ "columnId": 42, # Identifier for the column.
+ "graph_predicate": "A String", # Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model
+ "type": "A String", # Required type of the column.
+ "name": "A String", # Required name of the column.
},
],
"name": "A String", # Name assigned to a table.
diff --git a/docs/dyn/fusiontables_v1.task.html b/docs/dyn/fusiontables_v1.task.html
new file mode 100644
index 0000000..5cd417d
--- /dev/null
+++ b/docs/dyn/fusiontables_v1.task.html
@@ -0,0 +1,163 @@
+<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="fusiontables_v1.html">Fusion Tables API</a> . <a href="fusiontables_v1.task.html">task</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(tableId, taskId)</a></code></p>
+<p class="firstline">Deletes the task, unless already started.</p>
+<p class="toc_element">
+ <code><a href="#get">get(tableId, taskId)</a></code></p>
+<p class="firstline">Retrieves a specific task by its id.</p>
+<p class="toc_element">
+ <code><a href="#list">list(tableId, pageToken=None, maxResults=None, startIndex=None)</a></code></p>
+<p class="firstline">Retrieves a list of tasks.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(tableId, taskId)</code>
+ <pre>Deletes the task, unless already started.
+
+Args:
+ tableId: string, Table from which the task is being deleted. (required)
+ taskId: string, A parameter (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(tableId, taskId)</code>
+ <pre>Retrieves a specific task by its id.
+
+Args:
+ tableId: string, Table to which the task belongs. (required)
+ taskId: string, A parameter (required)
+
+Returns:
+ An object of the form:
+
+ { # Specifies the id, name and type of a task in a table.
+ "started": True or False, # False while the table is busy with some other task.
+ "progress": "A String", # An indication of task progress.
+ "kind": "fusiontables#task", # Type name: a template for an individual task.
+ "type": "A String",
+ "taskId": "A String", # Identifier for the task.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(tableId, pageToken=None, maxResults=None, startIndex=None)</code>
+ <pre>Retrieves a list of tasks.
+
+Args:
+ tableId: string, Table whose tasks are being listed. (required)
+ pageToken: string, A parameter
+ maxResults: integer, Maximum number of columns to return. Optional. Default is 5.
+ startIndex: integer, A parameter
+
+Returns:
+ An object of the form:
+
+ { # Represents a list of tasks in a table.
+ "nextPageToken": "A String", # Token used to access the next page of this result. No token is displayed if there are no more tokens left.
+ "items": [ # List of all requested tasks.
+ { # Specifies the id, name and type of a task in a table.
+ "started": True or False, # False while the table is busy with some other task.
+ "progress": "A String", # An indication of task progress.
+ "kind": "fusiontables#task", # Type name: a template for an individual task.
+ "type": "A String",
+ "taskId": "A String", # Identifier for the task.
+ },
+ ],
+ "kind": "fusiontables#taskList", # Type name: a list of all tasks.
+ "totalItems": 42, # Total number of tasks for the table.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gamesManagement_v1management.applications.html b/docs/dyn/gamesManagement_v1management.applications.html
index 09cedc9..0145489 100644
--- a/docs/dyn/gamesManagement_v1management.applications.html
+++ b/docs/dyn/gamesManagement_v1management.applications.html
@@ -100,15 +100,30 @@
"player": { # This is a JSON template for a Player resource. # The player information.
"kind": "gamesManagement#player", # Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"kind": "gamesManagement#hiddenPlayer", # Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#hiddenPlayer.
diff --git a/docs/dyn/gamesManagement_v1management.events.html b/docs/dyn/gamesManagement_v1management.events.html
new file mode 100644
index 0000000..cdcd478
--- /dev/null
+++ b/docs/dyn/gamesManagement_v1management.events.html
@@ -0,0 +1,113 @@
+<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="gamesManagement_v1management.html">Google Play Game Services Management API</a> . <a href="gamesManagement_v1management.events.html">events</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#reset">reset(eventId)</a></code></p>
+<p class="firstline">Reset all player progress on the event for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All resources that use the event will also be reset.</p>
+<p class="toc_element">
+ <code><a href="#resetAll">resetAll()</a></code></p>
+<p class="firstline">Reset all player progress on all unpublished events for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All resources that use the events will also be reset.</p>
+<p class="toc_element">
+ <code><a href="#resetForAllPlayers">resetForAllPlayers(eventId)</a></code></p>
+<p class="firstline">Reset all player progress on the event for all players. This method is only available to user accounts for your developer console. Only draft events can be reset. All resources that use the event will also be reset.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="reset">reset(eventId)</code>
+ <pre>Reset all player progress on the event for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All resources that use the event will also be reset.
+
+Args:
+ eventId: string, The ID of the event. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="resetAll">resetAll()</code>
+ <pre>Reset all player progress on all unpublished events for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All resources that use the events will also be reset.
+
+Args:
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="resetForAllPlayers">resetForAllPlayers(eventId)</code>
+ <pre>Reset all player progress on the event for all players. This method is only available to user accounts for your developer console. Only draft events can be reset. All resources that use the event will also be reset.
+
+Args:
+ eventId: string, The ID of the event. (required)
+</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gamesManagement_v1management.html b/docs/dyn/gamesManagement_v1management.html
index a5a505a..97b01b0 100644
--- a/docs/dyn/gamesManagement_v1management.html
+++ b/docs/dyn/gamesManagement_v1management.html
@@ -85,11 +85,21 @@
<p class="firstline">Returns the applications Resource.</p>
<p class="toc_element">
+ <code><a href="gamesManagement_v1management.events.html">events()</a></code>
+</p>
+<p class="firstline">Returns the events Resource.</p>
+
+<p class="toc_element">
<code><a href="gamesManagement_v1management.players.html">players()</a></code>
</p>
<p class="firstline">Returns the players Resource.</p>
<p class="toc_element">
+ <code><a href="gamesManagement_v1management.quests.html">quests()</a></code>
+</p>
+<p class="firstline">Returns the quests Resource.</p>
+
+<p class="toc_element">
<code><a href="gamesManagement_v1management.rooms.html">rooms()</a></code>
</p>
<p class="firstline">Returns the rooms Resource.</p>
diff --git a/docs/dyn/gamesManagement_v1management.quests.html b/docs/dyn/gamesManagement_v1management.quests.html
new file mode 100644
index 0000000..0af9b0d
--- /dev/null
+++ b/docs/dyn/gamesManagement_v1management.quests.html
@@ -0,0 +1,90 @@
+<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="gamesManagement_v1management.html">Google Play Game Services Management API</a> . <a href="gamesManagement_v1management.quests.html">quests</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#reset">reset(questId)</a></code></p>
+<p class="firstline">Reset all player progress on the quest for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="reset">reset(questId)</code>
+ <pre>Reset all player progress on the quest for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
+
+Args:
+ questId: string, The ID of the quest. (required)
+</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/games_v1.achievementDefinitions.html b/docs/dyn/games_v1.achievementDefinitions.html
index 141de39..1b6809d 100644
--- a/docs/dyn/games_v1.achievementDefinitions.html
+++ b/docs/dyn/games_v1.achievementDefinitions.html
@@ -111,6 +111,7 @@
# - "HIDDEN" - Achievement is hidden.
# - "REVEALED" - Achievement is revealed.
# - "UNLOCKED" - Achievement is unlocked.
+ "experiencePoints": "A String", # Experience points which will be earned when unlocking this achievement.
"isRevealedIconUrlDefault": True or False, # Indicates whether the revealed icon image being returned is a default image, or is provided by the game.
"unlockedIconUrl": "A String", # The image URL for the unlocked achievement icon.
"id": "A String", # The ID of the achievement.
diff --git a/docs/dyn/games_v1.achievements.html b/docs/dyn/games_v1.achievements.html
index d42895a..15092bf 100644
--- a/docs/dyn/games_v1.achievements.html
+++ b/docs/dyn/games_v1.achievements.html
@@ -146,6 +146,7 @@
"kind": "games#playerAchievement", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerAchievement.
"lastUpdatedTimestamp": "A String", # The timestamp of the last modification to this achievement's state.
"currentSteps": 42, # The current steps for an incremental achievement.
+ "experiencePoints": "A String", # Experience points earned for the achievement. This field is absent for achievements that have not yet been unlocked and 0 for achievements that have been unlocked by testers but that are unpublished.
"formattedCurrentStepsString": "A String", # The current steps for an incremental achievement as a string.
"id": "A String", # The ID of the achievement.
},
diff --git a/docs/dyn/games_v1.applications.html b/docs/dyn/games_v1.applications.html
index 5ae1305..d979a7d 100644
--- a/docs/dyn/games_v1.applications.html
+++ b/docs/dyn/games_v1.applications.html
@@ -144,7 +144,6 @@
],
"achievement_count": 42, # The number of achievements visible to the currently authenticated player.
"leaderboard_count": 42, # The number of leaderboards visible to the currently authenticated player.
- "id": "A String", # The ID of the application.
"assets": [ # The assets of the application.
{ # This is a JSON template for an image asset object.
"url": "A String", # The URL of the asset.
@@ -154,6 +153,12 @@
"height": 42, # The height of the asset.
},
],
+ "id": "A String", # The ID of the application.
+ "enabledFeatures": [ # A list of features that have been enabled for the application.
+ # Possible values are:
+ # - "SNAPSHOTS" - Snapshots has been enabled
+ "A String",
+ ],
}</pre>
</div>
diff --git a/docs/dyn/games_v1.events.html b/docs/dyn/games_v1.events.html
new file mode 100644
index 0000000..f5228bd
--- /dev/null
+++ b/docs/dyn/games_v1.events.html
@@ -0,0 +1,264 @@
+<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="games_v1.html">Google Play Game Services API</a> . <a href="games_v1.events.html">events</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#listByPlayer">listByPlayer(pageToken=None, language=None, maxResults=None)</a></code></p>
+<p class="firstline">Returns a list showing the current progress on events in this application for the currently authenticated user.</p>
+<p class="toc_element">
+ <code><a href="#listByPlayer_next">listByPlayer_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="#listDefinitions">listDefinitions(pageToken=None, language=None, maxResults=None)</a></code></p>
+<p class="firstline">Returns a list of the event definitions in this application.</p>
+<p class="toc_element">
+ <code><a href="#listDefinitions_next">listDefinitions_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="#record">record(body, language=None)</a></code></p>
+<p class="firstline">Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="listByPlayer">listByPlayer(pageToken=None, language=None, maxResults=None)</code>
+ <pre>Returns a list showing the current progress on events in this application for the currently authenticated user.
+
+Args:
+ pageToken: string, The token returned by the previous request.
+ language: string, The preferred language to use for strings returned by this method.
+ maxResults: integer, The maximum number of events to return in the response, used for paging. For any response, the actual number of events to return may be less than the specified maxResults.
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for a ListByPlayer response.
+ "nextPageToken": "A String", # The pagination token for the next page of results.
+ "items": [ # The player events.
+ { # This is a JSON template for an event status resource.
+ "definitionId": "A String", # The ID of the event definition.
+ "playerId": "A String", # The ID of the player.
+ "kind": "games#playerEvent", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent.
+ "numEvents": "A String", # The current number of times this event has occurred.
+ "formattedNumEvents": "A String", # The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console.
+ },
+ ],
+ "kind": "games#playerEventListResponse", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerEventListResponse.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listByPlayer_next">listByPlayer_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listDefinitions">listDefinitions(pageToken=None, language=None, maxResults=None)</code>
+ <pre>Returns a list of the event definitions in this application.
+
+Args:
+ pageToken: string, The token returned by the previous request.
+ language: string, The preferred language to use for strings returned by this method.
+ maxResults: integer, The maximum number of event definitions to return in the response, used for paging. For any response, the actual number of event definitions to return may be less than the specified maxResults.
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for a ListDefinitions response.
+ "nextPageToken": "A String", # The pagination token for the next page of results.
+ "items": [ # The event definitions.
+ { # This is a JSON template for an event definition resource.
+ "isDefaultImageUrl": True or False, # Indicates whether the icon image being returned is a default image, or is game-provided.
+ "kind": "games#eventDefinition", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventDefinition.
+ "displayName": "A String", # The name to display for the event.
+ "description": "A String", # Description of what this event represents.
+ "imageUrl": "A String", # The base URL for the image that represents the event.
+ "visibility": "A String", # The visibility of event being tracked in this definition.
+ # Possible values are:
+ # - "REVEALED": This event should be visible to all users.
+ # - "HIDDEN": This event should only be shown to users that have recorded this event at least once.
+ "childEvents": [ # A list of events that are a child of this event.
+ { # This is a JSON template for an event child relationship resource.
+ "kind": "games#eventChild", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventChild.
+ "childId": "A String", # The ID of the child event.
+ },
+ ],
+ "id": "A String", # The ID of the event.
+ },
+ ],
+ "kind": "games#eventDefinitionListResponse", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventDefinitionListResponse.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listDefinitions_next">listDefinitions_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="record">record(body, language=None)</code>
+ <pre>Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # This is a JSON template for an event period update resource.
+ "timePeriods": [ # A list of the time period updates being made in this request.
+ { # This is a JSON template for an event period update resource.
+ "kind": "games#eventPeriodUpdate", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventPeriodUpdate.
+ "timePeriod": { # This is a JSON template for an event period time range. # The time period being covered by this update.
+ "kind": "games#eventPeriodRange", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventPeriodRange.
+ "periodStartMillis": "A String", # The time when this update period begins, in millis, since 1970 UTC (Unix Epoch).
+ "periodEndMillis": "A String", # The time when this update period ends, in millis, since 1970 UTC (Unix Epoch).
+ },
+ "updates": [ # The updates being made for this time period.
+ { # This is a JSON template for an event period update resource.
+ "definitionId": "A String", # The ID of the event being modified in this update.
+ "kind": "games#eventUpdateRequest", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventUpdateRequest.
+ "updateCount": "A String", # The number of times this event occurred in this time period.
+ },
+ ],
+ },
+ ],
+ "kind": "games#eventRecordRequest", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventRecordRequest.
+ "requestId": "A String", # The request ID used to identify this attempt to record events.
+ "currentTimeMillis": "A String", # The current time when this update was sent, in milliseconds, since 1970 UTC (Unix Epoch).
+ }
+
+ language: string, The preferred language to use for strings returned by this method.
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for an event period update resource.
+ "playerEvents": [ # The current status of any updated events
+ { # This is a JSON template for an event status resource.
+ "definitionId": "A String", # The ID of the event definition.
+ "playerId": "A String", # The ID of the player.
+ "kind": "games#playerEvent", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent.
+ "numEvents": "A String", # The current number of times this event has occurred.
+ "formattedNumEvents": "A String", # The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console.
+ },
+ ],
+ "eventFailures": [ # Any failures updating a particular event.
+ { # This is a JSON template for an event update failure resource.
+ "eventId": "A String", # The ID of the event that was not updated.
+ "kind": "games#eventRecordFailure", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventRecordFailure.
+ "failureCause": "A String", # The cause for the update failure.
+ # Possible values are:
+ # - "NOT_FOUND" - An attempt was made to set an event that was not defined.
+ # - "INVALID_UPDATE_VALUE" - An attempt was made to increment an event by a non-positive value.
+ },
+ ],
+ "kind": "games#eventUpdateResponse", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventUpdateResponse.
+ "batchFailures": [ # Any batch-wide failures which occurred applying updates.
+ { # This is a JSON template for a batch update failure resource.
+ "kind": "games#eventBatchRecordFailure", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventBatchRecordFailure.
+ "range": { # This is a JSON template for an event period time range. # The time range which was rejected; empty for a request-wide failure.
+ "kind": "games#eventPeriodRange", # Uniquely identifies the type of this resource. Value is always the fixed string games#eventPeriodRange.
+ "periodStartMillis": "A String", # The time when this update period begins, in millis, since 1970 UTC (Unix Epoch).
+ "periodEndMillis": "A String", # The time when this update period ends, in millis, since 1970 UTC (Unix Epoch).
+ },
+ "failureCause": "A String", # The cause for the update failure.
+ # Possible values are:
+ # - "TOO_LARGE": A batch request was issued with more events than are allowed in a single batch.
+ # - "TIME_PERIOD_EXPIRED": A batch was sent with data too far in the past to record.
+ # - "TIME_PERIOD_SHORT": A batch was sent with a time range that was too short.
+ # - "TIME_PERIOD_LONG": A batch was sent with a time range that was too long.
+ # - "ALREADY_UPDATED": An attempt was made to record a batch of data which was already seen.
+ # - "RECORD_RATE_HIGH": An attempt was made to record data faster than the server will apply updates.
+ },
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/games_v1.html b/docs/dyn/games_v1.html
index b167fc4..9c3a051 100644
--- a/docs/dyn/games_v1.html
+++ b/docs/dyn/games_v1.html
@@ -90,11 +90,21 @@
<p class="firstline">Returns the applications Resource.</p>
<p class="toc_element">
+ <code><a href="games_v1.events.html">events()</a></code>
+</p>
+<p class="firstline">Returns the events Resource.</p>
+
+<p class="toc_element">
<code><a href="games_v1.leaderboards.html">leaderboards()</a></code>
</p>
<p class="firstline">Returns the leaderboards Resource.</p>
<p class="toc_element">
+ <code><a href="games_v1.metagame.html">metagame()</a></code>
+</p>
+<p class="firstline">Returns the metagame Resource.</p>
+
+<p class="toc_element">
<code><a href="games_v1.players.html">players()</a></code>
</p>
<p class="firstline">Returns the players Resource.</p>
@@ -105,6 +115,16 @@
<p class="firstline">Returns the pushtokens Resource.</p>
<p class="toc_element">
+ <code><a href="games_v1.questMilestones.html">questMilestones()</a></code>
+</p>
+<p class="firstline">Returns the questMilestones Resource.</p>
+
+<p class="toc_element">
+ <code><a href="games_v1.quests.html">quests()</a></code>
+</p>
+<p class="firstline">Returns the quests Resource.</p>
+
+<p class="toc_element">
<code><a href="games_v1.revisions.html">revisions()</a></code>
</p>
<p class="firstline">Returns the revisions Resource.</p>
@@ -120,6 +140,11 @@
<p class="firstline">Returns the scores Resource.</p>
<p class="toc_element">
+ <code><a href="games_v1.snapshots.html">snapshots()</a></code>
+</p>
+<p class="firstline">Returns the snapshots Resource.</p>
+
+<p class="toc_element">
<code><a href="games_v1.turnBasedMatches.html">turnBasedMatches()</a></code>
</p>
<p class="firstline">Returns the turnBasedMatches Resource.</p>
diff --git a/docs/dyn/games_v1.metagame.html b/docs/dyn/games_v1.metagame.html
new file mode 100644
index 0000000..7d03a02
--- /dev/null
+++ b/docs/dyn/games_v1.metagame.html
@@ -0,0 +1,153 @@
+<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="games_v1.html">Google Play Game Services API</a> . <a href="games_v1.metagame.html">metagame</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#getMetagameConfig">getMetagameConfig()</a></code></p>
+<p class="firstline">Return the metagame configuration data for the calling application.</p>
+<p class="toc_element">
+ <code><a href="#listCategoriesByPlayer">listCategoriesByPlayer(playerId, collection, language=None, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">List play data aggregated per category for the player corresponding to playerId.</p>
+<p class="toc_element">
+ <code><a href="#listCategoriesByPlayer_next">listCategoriesByPlayer_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="getMetagameConfig">getMetagameConfig()</code>
+ <pre>Return the metagame configuration data for the calling application.
+
+Args:
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for the metagame config resource
+ "kind": "games#metagameConfig", # Uniquely identifies the type of this resource. Value is always the fixed string games#metagameConfig.
+ "currentVersion": 42, # Current version of the metagame configuration data. When this data is updated, the version number will be increased by one.
+ "playerLevels": [ # The list of player levels.
+ { # This is a JSON template for 1P/3P metadata about a user's level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listCategoriesByPlayer">listCategoriesByPlayer(playerId, collection, language=None, pageToken=None, maxResults=None)</code>
+ <pre>List play data aggregated per category for the player corresponding to playerId.
+
+Args:
+ playerId: string, A player ID. A value of me may be used in place of the authenticated player's ID. (required)
+ collection: string, The collection of categories for which data will be returned. (required)
+ Allowed values
+ all - Retrieve data for all categories. This is the default.
+ language: string, The preferred language to use for strings returned by this method.
+ pageToken: string, The token returned by the previous request.
+ maxResults: integer, The maximum number of category resources to return in the response, used for paging. For any response, the actual number of category resources returned may be less than the specified maxResults.
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for a list of category data objects.
+ "nextPageToken": "A String", # Token corresponding to the next page of results.
+ "items": [ # The list of categories with usage data.
+ { # This is a JSON template for data related to individual game categories.
+ "category": "A String", # The category name.
+ "experiencePoints": "A String", # Experience points earned in this category.
+ "kind": "games#category", # Uniquely identifies the type of this resource. Value is always the fixed string games#category.
+ },
+ ],
+ "kind": "games#categoryListResponse", # Uniquely identifies the type of this resource. Value is always the fixed string games#categoryListResponse.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listCategoriesByPlayer_next">listCategoriesByPlayer_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/games_v1.players.html b/docs/dyn/games_v1.players.html
index c595455..42e9675 100644
--- a/docs/dyn/games_v1.players.html
+++ b/docs/dyn/games_v1.players.html
@@ -98,16 +98,34 @@
{ # This is a JSON template for a Player resource.
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
}</pre>
</div>
@@ -119,7 +137,8 @@
Args:
collection: string, Collection of players being retrieved (required)
Allowed values
- playedWith - Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.
+ playedWith - (DEPRECATED: please use played_with!) Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.
+ played_with - Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.
pageToken: string, The token returned by the previous request.
language: string, The preferred language to use for strings returned by this method.
maxResults: integer, The maximum number of player resources to return in the response, used for paging. For any response, the actual number of player resources returned may be less than the specified maxResults.
@@ -133,16 +152,34 @@
{ # This is a JSON template for a Player resource.
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
],
diff --git a/docs/dyn/games_v1.pushtokens.html b/docs/dyn/games_v1.pushtokens.html
index 0a5d931..41a121b 100644
--- a/docs/dyn/games_v1.pushtokens.html
+++ b/docs/dyn/games_v1.pushtokens.html
@@ -93,7 +93,7 @@
"kind": "games#pushTokenId", # Uniquely identifies the type of this resource. Value is always the fixed string games#pushTokenId.
"ios": { # A push token ID for iOS devices.
"apns_device_token": "A String", # Device token supplied by an iOS system call to register for remote notifications. Encode this field as web-safe base64.
- "apns_environment": "A String", # Use SANDBOX during development for the APNS test server at gateway.sandbox.push.apple.com or PRODUCTION for the production server at gateway.push.apple.com.
+ "apns_environment": "A String", # Indicates whether this token should be used for the production or sandbox APNS server.
},
}
@@ -116,7 +116,7 @@
"kind": "games#pushTokenId", # Uniquely identifies the type of this resource. Value is always the fixed string games#pushTokenId.
"ios": { # A push token ID for iOS devices.
"apns_device_token": "A String", # Device token supplied by an iOS system call to register for remote notifications. Encode this field as web-safe base64.
- "apns_environment": "A String", # Use SANDBOX during development for the APNS test server at gateway.sandbox.push.apple.com or PRODUCTION for the production server at gateway.push.apple.com.
+ "apns_environment": "A String", # Indicates whether this token should be used for the production or sandbox APNS server.
},
},
"language": "A String", # The preferred language for notifications that are sent using this token.
diff --git a/docs/dyn/games_v1.questMilestones.html b/docs/dyn/games_v1.questMilestones.html
new file mode 100644
index 0000000..8e95288
--- /dev/null
+++ b/docs/dyn/games_v1.questMilestones.html
@@ -0,0 +1,92 @@
+<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="games_v1.html">Google Play Game Services API</a> . <a href="games_v1.questMilestones.html">questMilestones</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#claim">claim(questId, milestoneId, requestId)</a></code></p>
+<p class="firstline">Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="claim">claim(questId, milestoneId, requestId)</code>
+ <pre>Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.
+
+Args:
+ questId: string, The ID of the quest. (required)
+ milestoneId: string, The ID of the milestone. (required)
+ requestId: string, A numeric ID to ensure that the request is handled correctly across retries. Your client application must generate this ID randomly. (required)
+</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/games_v1.quests.html b/docs/dyn/games_v1.quests.html
new file mode 100644
index 0000000..60c1ba6
--- /dev/null
+++ b/docs/dyn/games_v1.quests.html
@@ -0,0 +1,257 @@
+<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="games_v1.html">Google Play Game Services API</a> . <a href="games_v1.quests.html">quests</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#accept">accept(questId, language=None)</a></code></p>
+<p class="firstline">Indicates that the currently authorized user will participate in the quest.</p>
+<p class="toc_element">
+ <code><a href="#list">list(playerId, language=None, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">Get a list of quests for your application and the currently authenticated player.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="accept">accept(questId, language=None)</code>
+ <pre>Indicates that the currently authorized user will participate in the quest.
+
+Args:
+ questId: string, The ID of the quest. (required)
+ language: string, The preferred language to use for strings returned by this method.
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for a Quest resource.
+ "kind": "games#quest", # Uniquely identifies the type of this resource. Value is always the fixed string games#quest.
+ "milestones": [ # The quest milestones.
+ { # This is a JSON template for a Quest Milestone resource.
+ "state": "A String", # The current state of the milestone.
+ # Possible values are:
+ # - "COMPLETED_NOT_CLAIMED" - The milestone is complete, but has not yet been claimed.
+ # - "CLAIMED" - The milestone is complete and has been claimed.
+ # - "NOT_COMPLETED" - The milestone has not yet been completed.
+ # - "NOT_STARTED" - The milestone is for a quest that has not yet been accepted.
+ "kind": "games#questMilestone", # Uniquely identifies the type of this resource. Value is always the fixed string games#questMilestone.
+ "criteria": [ # The criteria of the milestone.
+ { # This is a JSON template for a Quest Criterion resource.
+ "eventId": "A String", # The ID of the event the criterion corresponds to.
+ "completionContribution": { # This is a JSON template for a Quest Criterion Contribution resource. # The total number of times the associated event must be incremented for the player to complete this quest.
+ "formattedValue": "A String", # The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games Developer Console.
+ "kind": "games#questContribution", # Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution.
+ "value": "A String", # The value of the contribution.
+ },
+ "initialPlayerProgress": { # This is a JSON template for a Quest Criterion Contribution resource. # The value of the event associated with this quest at the time that the quest was accepted. This value may change if event increments that took place before the start of quest are uploaded after the quest starts.
+ # There will be no initialPlayerProgress until the player has accepted the quest.
+ "formattedValue": "A String", # The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games Developer Console.
+ "kind": "games#questContribution", # Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution.
+ "value": "A String", # The value of the contribution.
+ },
+ "kind": "games#questCriterion", # Uniquely identifies the type of this resource. Value is always the fixed string games#questCriterion.
+ "currentContribution": { # This is a JSON template for a Quest Criterion Contribution resource. # The number of increments the player has made toward the completion count event increments required to complete the quest. This value will not exceed the completion contribution.
+ # There will be no currentContribution until the player has accepted the quest.
+ "formattedValue": "A String", # The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games Developer Console.
+ "kind": "games#questContribution", # Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution.
+ "value": "A String", # The value of the contribution.
+ },
+ },
+ ],
+ "id": "A String", # The milestone ID.
+ "completionRewardData": "A String", # The completion reward data of the milestone, represented as a Base64-encoded string. This is a developer-specified binary blob with size between 0 and 2 KB before encoding.
+ },
+ ],
+ "description": "A String", # The description of the quest.
+ "endTimestampMillis": "A String", # The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC.
+ "bannerUrl": "A String", # The banner image URL for the quest.
+ "startTimestampMillis": "A String", # The timestamp at which the quest becomes active in milliseconds since the epoch in UTC.
+ "lastUpdatedTimestampMillis": "A String", # The timestamp at which the quest was last updated by the user in milliseconds since the epoch in UTC. Only present if the player has accepted the quest.
+ "acceptedTimestampMillis": "A String", # The timestamp at which the user accepted the quest in milliseconds since the epoch in UTC. Only present if the player has accepted the quest.
+ "iconUrl": "A String", # The icon image URL for the quest.
+ "notifyTimestampMillis": "A String", # The timestamp at which the user should be notified that the quest will end soon in milliseconds since the epoch in UTC.
+ "state": "A String", # The state of the quest.
+ # Possible values are:
+ # - "UPCOMING": The quest is upcoming. The user can see the quest, but cannot accept it until it is open.
+ # - "OPEN": The quest is currently open and may be accepted at this time.
+ # - "ACCEPTED": The user is currently participating in this quest.
+ # - "COMPLETED": The user has completed the quest.
+ # - "FAILED": The quest was attempted but was not completed before the deadline expired.
+ # - "EXPIRED": The quest has expired and was not accepted.
+ # - "DELETED": The quest should be deleted from the local database.
+ "isDefaultBannerUrl": True or False, # Indicates whether the banner image being returned is a default image, or is game-provided.
+ "isDefaultIconUrl": True or False, # Indicates whether the icon image being returned is a default image, or is game-provided.
+ "applicationId": "A String", # The ID of the application this quest is part of.
+ "id": "A String", # The ID of the quest.
+ "name": "A String", # The name of the quest.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(playerId, language=None, pageToken=None, maxResults=None)</code>
+ <pre>Get a list of quests for your application and the currently authenticated player.
+
+Args:
+ playerId: string, A player ID. A value of me may be used in place of the authenticated player's ID. (required)
+ language: string, The preferred language to use for strings returned by this method.
+ pageToken: string, The token returned by the previous request.
+ maxResults: integer, The maximum number of quest resources to return in the response, used for paging. For any response, the actual number of quest resources returned may be less than the specified maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50).
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for a list of quest objects.
+ "nextPageToken": "A String", # Token corresponding to the next page of results.
+ "items": [ # The quests.
+ { # This is a JSON template for a Quest resource.
+ "kind": "games#quest", # Uniquely identifies the type of this resource. Value is always the fixed string games#quest.
+ "milestones": [ # The quest milestones.
+ { # This is a JSON template for a Quest Milestone resource.
+ "state": "A String", # The current state of the milestone.
+ # Possible values are:
+ # - "COMPLETED_NOT_CLAIMED" - The milestone is complete, but has not yet been claimed.
+ # - "CLAIMED" - The milestone is complete and has been claimed.
+ # - "NOT_COMPLETED" - The milestone has not yet been completed.
+ # - "NOT_STARTED" - The milestone is for a quest that has not yet been accepted.
+ "kind": "games#questMilestone", # Uniquely identifies the type of this resource. Value is always the fixed string games#questMilestone.
+ "criteria": [ # The criteria of the milestone.
+ { # This is a JSON template for a Quest Criterion resource.
+ "eventId": "A String", # The ID of the event the criterion corresponds to.
+ "completionContribution": { # This is a JSON template for a Quest Criterion Contribution resource. # The total number of times the associated event must be incremented for the player to complete this quest.
+ "formattedValue": "A String", # The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games Developer Console.
+ "kind": "games#questContribution", # Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution.
+ "value": "A String", # The value of the contribution.
+ },
+ "initialPlayerProgress": { # This is a JSON template for a Quest Criterion Contribution resource. # The value of the event associated with this quest at the time that the quest was accepted. This value may change if event increments that took place before the start of quest are uploaded after the quest starts.
+ # There will be no initialPlayerProgress until the player has accepted the quest.
+ "formattedValue": "A String", # The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games Developer Console.
+ "kind": "games#questContribution", # Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution.
+ "value": "A String", # The value of the contribution.
+ },
+ "kind": "games#questCriterion", # Uniquely identifies the type of this resource. Value is always the fixed string games#questCriterion.
+ "currentContribution": { # This is a JSON template for a Quest Criterion Contribution resource. # The number of increments the player has made toward the completion count event increments required to complete the quest. This value will not exceed the completion contribution.
+ # There will be no currentContribution until the player has accepted the quest.
+ "formattedValue": "A String", # The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games Developer Console.
+ "kind": "games#questContribution", # Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution.
+ "value": "A String", # The value of the contribution.
+ },
+ },
+ ],
+ "id": "A String", # The milestone ID.
+ "completionRewardData": "A String", # The completion reward data of the milestone, represented as a Base64-encoded string. This is a developer-specified binary blob with size between 0 and 2 KB before encoding.
+ },
+ ],
+ "description": "A String", # The description of the quest.
+ "endTimestampMillis": "A String", # The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC.
+ "bannerUrl": "A String", # The banner image URL for the quest.
+ "startTimestampMillis": "A String", # The timestamp at which the quest becomes active in milliseconds since the epoch in UTC.
+ "lastUpdatedTimestampMillis": "A String", # The timestamp at which the quest was last updated by the user in milliseconds since the epoch in UTC. Only present if the player has accepted the quest.
+ "acceptedTimestampMillis": "A String", # The timestamp at which the user accepted the quest in milliseconds since the epoch in UTC. Only present if the player has accepted the quest.
+ "iconUrl": "A String", # The icon image URL for the quest.
+ "notifyTimestampMillis": "A String", # The timestamp at which the user should be notified that the quest will end soon in milliseconds since the epoch in UTC.
+ "state": "A String", # The state of the quest.
+ # Possible values are:
+ # - "UPCOMING": The quest is upcoming. The user can see the quest, but cannot accept it until it is open.
+ # - "OPEN": The quest is currently open and may be accepted at this time.
+ # - "ACCEPTED": The user is currently participating in this quest.
+ # - "COMPLETED": The user has completed the quest.
+ # - "FAILED": The quest was attempted but was not completed before the deadline expired.
+ # - "EXPIRED": The quest has expired and was not accepted.
+ # - "DELETED": The quest should be deleted from the local database.
+ "isDefaultBannerUrl": True or False, # Indicates whether the banner image being returned is a default image, or is game-provided.
+ "isDefaultIconUrl": True or False, # Indicates whether the icon image being returned is a default image, or is game-provided.
+ "applicationId": "A String", # The ID of the application this quest is part of.
+ "id": "A String", # The ID of the quest.
+ "name": "A String", # The name of the quest.
+ },
+ ],
+ "kind": "games#questListResponse", # Uniquely identifies the type of this resource. Value is always the fixed string games#questListResponse.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/games_v1.rooms.html b/docs/dyn/games_v1.rooms.html
index 510bc9a..4e9052e 100644
--- a/docs/dyn/games_v1.rooms.html
+++ b/docs/dyn/games_v1.rooms.html
@@ -126,10 +126,12 @@
"A String",
],
"networkDiagnostics": { # This is a JSON template for network diagnostics reported for a client. # Network diagnostics for the client creating the room.
- "registrationLatencyMillis": 42, # The amount of time in milliseconds it took for the client to establish a connection with the XMPP server.
- "iosNetworkType": 42, # iOS network type as defined in Reachability.h.
"kind": "games#networkDiagnostics", # Uniquely identifies the type of this resource. Value is always the fixed string games#networkDiagnostics.
+ "iosNetworkType": 42, # iOS network type as defined in Reachability.h.
+ "networkOperatorCode": "A String", # The MCC+MNC code for the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html
"androidNetworkSubtype": 42, # The Android network subtype.
+ "networkOperatorName": "A String", # The name of the carrier of the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName
+ "registrationLatencyMillis": 42, # The amount of time in milliseconds it took for the client to establish a connection with the XMPP server.
"androidNetworkType": 42, # The Android network type.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the player creating the room.
@@ -200,16 +202,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the participant.
@@ -299,16 +319,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the participant.
@@ -407,16 +445,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the participant.
@@ -450,10 +506,12 @@
{ # This is a JSON template for a join room request.
"networkDiagnostics": { # This is a JSON template for network diagnostics reported for a client. # Network diagnostics for the client joining the room.
- "registrationLatencyMillis": 42, # The amount of time in milliseconds it took for the client to establish a connection with the XMPP server.
- "iosNetworkType": 42, # iOS network type as defined in Reachability.h.
"kind": "games#networkDiagnostics", # Uniquely identifies the type of this resource. Value is always the fixed string games#networkDiagnostics.
+ "iosNetworkType": 42, # iOS network type as defined in Reachability.h.
+ "networkOperatorCode": "A String", # The MCC+MNC code for the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html
"androidNetworkSubtype": 42, # The Android network subtype.
+ "networkOperatorName": "A String", # The name of the carrier of the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName
+ "registrationLatencyMillis": 42, # The amount of time in milliseconds it took for the client to establish a connection with the XMPP server.
"androidNetworkType": 42, # The Android network type.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the player joining the room.
@@ -527,16 +585,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the participant.
@@ -579,10 +655,17 @@
# - "REALTIME_SERVER_CONNECTION_FAILURE" - The client was unable to communicate with the server.
# - "REALTIME_SERVER_ERROR" - The client received an error response when it tried to communicate with the server.
# - "REALTIME_TIMEOUT" - The client timed out while waiting for a room.
+ # - "REALTIME_CLIENT_DISCONNECTING" - The client disconnects without first calling Leave.
+ # - "REALTIME_SIGN_OUT" - The user signed out of G+ while in the room.
+ # - "REALTIME_GAME_CRASHED" - The game crashed.
+ # - "REALTIME_ROOM_SERVICE_CRASHED" - RoomAndroidService crashed.
+ # - "REALTIME_DIFFERENT_CLIENT_ROOM_OPERATION" - Another client is trying to enter a room.
+ # - "REALTIME_SAME_CLIENT_ROOM_OPERATION" - The same client is trying to enter a new room.
"leaveDiagnostics": { # This is a JSON template for room leave diagnostics. # Diagnostics for a player leaving the room.
"kind": "games#roomLeaveDiagnostics", # Uniquely identifies the type of this resource. Value is always the fixed string games#roomLeaveDiagnostics.
"socketsUsed": True or False, # Whether or not sockets were used.
"iosNetworkType": 42, # iOS network type as defined in Reachability.h.
+ "networkOperatorCode": "A String", # The MCC+MNC code for the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html
"peerSession": [ # Diagnostics about all peer sessions.
{ # This is a JSON template for peer session diagnostics.
"unreliableChannel": { # This is a JSON template for peer channel diagnostics. # Unreliable channel diagnostics.
@@ -647,6 +730,7 @@
},
],
"androidNetworkSubtype": 42, # Android network subtype. http://developer.android.com/reference/android/net/NetworkInfo.html#getSubtype()
+ "networkOperatorName": "A String", # The name of the carrier of the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName
"androidNetworkType": 42, # Android network type. http://developer.android.com/reference/android/net/NetworkInfo.html#getType()
},
}
@@ -712,16 +796,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the participant.
@@ -815,16 +917,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the participant.
@@ -943,16 +1063,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"clientAddress": { # This is a JSON template for the client address when setting up a room. # Client address for the participant.
diff --git a/docs/dyn/games_v1.scores.html b/docs/dyn/games_v1.scores.html
index f2c9ae8..232b0cb 100644
--- a/docs/dyn/games_v1.scores.html
+++ b/docs/dyn/games_v1.scores.html
@@ -160,16 +160,34 @@
"player": { # This is a JSON template for a Player resource. # The Player resources for the owner of this score.
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
}</pre>
@@ -229,16 +247,34 @@
"player": { # This is a JSON template for a Player resource. # The player who holds this score.
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"formattedScoreRank": "A String", # The localized string for the rank of this score for this leaderboard.
@@ -259,16 +295,34 @@
"player": { # This is a JSON template for a Player resource. # The player who holds this score.
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"formattedScoreRank": "A String", # The localized string for the rank of this score for this leaderboard.
@@ -321,16 +375,34 @@
"player": { # This is a JSON template for a Player resource. # The player who holds this score.
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"formattedScoreRank": "A String", # The localized string for the rank of this score for this leaderboard.
@@ -351,16 +423,34 @@
"player": { # This is a JSON template for a Player resource. # The player who holds this score.
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"formattedScoreRank": "A String", # The localized string for the rank of this score for this leaderboard.
@@ -456,6 +546,7 @@
"leaderboardId": "A String", # The leaderboard this score is being submitted to.
"score": "A String", # The new score being submitted.
"scoreTag": "A String", # Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
+ "signature": "A String", # Signature Values will contain URI-safe characters as defined by section 2.3 of RFC 3986.
},
],
}
diff --git a/docs/dyn/games_v1.snapshots.html b/docs/dyn/games_v1.snapshots.html
new file mode 100644
index 0000000..ab054bd
--- /dev/null
+++ b/docs/dyn/games_v1.snapshots.html
@@ -0,0 +1,175 @@
+<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="games_v1.html">Google Play Game Services API</a> . <a href="games_v1.snapshots.html">snapshots</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(snapshotId, language=None)</a></code></p>
+<p class="firstline">Retrieves the metadata for a given snapshot ID.</p>
+<p class="toc_element">
+ <code><a href="#list">list(playerId, language=None, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">Retrieves a list of snapshots created by your application for the player corresponding to the player ID.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(snapshotId, language=None)</code>
+ <pre>Retrieves the metadata for a given snapshot ID.
+
+Args:
+ snapshotId: string, The ID of the snapshot. (required)
+ language: string, The preferred language to use for strings returned by this method.
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for an snapshot object.
+ "kind": "games#snapshot", # Uniquely identifies the type of this resource. Value is always the fixed string games#snapshot.
+ "description": "A String", # The description of this snapshot.
+ "title": "A String", # The title of this snapshot.
+ "coverImage": { # This is a JSON template for an image of a snapshot. # The cover image of this snapshot. May be absent if there is no image.
+ "url": "A String", # The URL of the image. This URL may be invalidated at any time and should not be cached.
+ "width": 42, # The width of the image.
+ "kind": "games#snapshotImage", # Uniquely identifies the type of this resource. Value is always the fixed string games#snapshotImage.
+ "mime_type": "A String", # The MIME type of the image.
+ "height": 42, # The height of the image.
+ },
+ "lastModifiedMillis": "A String", # The timestamp (in millis since Unix epoch) of the last modification to this snapshot.
+ "driveId": "A String", # The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller.
+ "durationMillis": "A String", # The duration associated with this snapshot, in millis.
+ "uniqueName": "A String", # The unique name provided when the snapshot was created.
+ "type": "A String", # The type of this snapshot.
+ # Possible values are:
+ # - "SAVE_GAME" - A snapshot representing a save game.
+ "id": "A String", # The ID of the snapshot.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(playerId, language=None, pageToken=None, maxResults=None)</code>
+ <pre>Retrieves a list of snapshots created by your application for the player corresponding to the player ID.
+
+Args:
+ playerId: string, A player ID. A value of me may be used in place of the authenticated player's ID. (required)
+ language: string, The preferred language to use for strings returned by this method.
+ pageToken: string, The token returned by the previous request.
+ maxResults: integer, The maximum number of snapshot resources to return in the response, used for paging. For any response, the actual number of snapshot resources returned may be less than the specified maxResults.
+
+Returns:
+ An object of the form:
+
+ { # This is a JSON template for a list of snapshot objects.
+ "nextPageToken": "A String", # Token corresponding to the next page of results. If there are no more results, the token is omitted.
+ "items": [ # The snapshots.
+ { # This is a JSON template for an snapshot object.
+ "kind": "games#snapshot", # Uniquely identifies the type of this resource. Value is always the fixed string games#snapshot.
+ "description": "A String", # The description of this snapshot.
+ "title": "A String", # The title of this snapshot.
+ "coverImage": { # This is a JSON template for an image of a snapshot. # The cover image of this snapshot. May be absent if there is no image.
+ "url": "A String", # The URL of the image. This URL may be invalidated at any time and should not be cached.
+ "width": 42, # The width of the image.
+ "kind": "games#snapshotImage", # Uniquely identifies the type of this resource. Value is always the fixed string games#snapshotImage.
+ "mime_type": "A String", # The MIME type of the image.
+ "height": 42, # The height of the image.
+ },
+ "lastModifiedMillis": "A String", # The timestamp (in millis since Unix epoch) of the last modification to this snapshot.
+ "driveId": "A String", # The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller.
+ "durationMillis": "A String", # The duration associated with this snapshot, in millis.
+ "uniqueName": "A String", # The unique name provided when the snapshot was created.
+ "type": "A String", # The type of this snapshot.
+ # Possible values are:
+ # - "SAVE_GAME" - A snapshot representing a save game.
+ "id": "A String", # The ID of the snapshot.
+ },
+ ],
+ "kind": "games#snapshotListResponse", # Uniquely identifies the type of this resource. Value is always the fixed string games#snapshotListResponse.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/games_v1.turnBasedMatches.html b/docs/dyn/games_v1.turnBasedMatches.html
index af5fc84..5fd426f 100644
--- a/docs/dyn/games_v1.turnBasedMatches.html
+++ b/docs/dyn/games_v1.turnBasedMatches.html
@@ -208,16 +208,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -325,16 +343,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -478,16 +514,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -596,16 +650,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -713,16 +785,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -830,16 +920,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -949,16 +1057,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -1072,16 +1198,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -1208,16 +1352,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -1313,16 +1475,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -1437,16 +1617,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
@@ -1600,16 +1798,34 @@
"player": { # This is a JSON template for a Player resource. # Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed string games#player.
"displayName": "A String", # The name to display for the player.
- "name": { # An object representation of the individual components of the player's name.
- "givenName": "A String", # The given name (first name) of this player.
- "familyName": "A String", # The family name (last name) of this player.
+ "name": { # An object representation of the individual components of the player's name. For some players, these fields may not be present.
+ "givenName": "A String", # The given name of this player. In some places, this is known as the first name.
+ "familyName": "A String", # The family name of this player. In some places, this is known as the last name.
},
- "lastPlayedWith": { # This is a JSON template for 3P metadata about a player playing a game. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
+ "lastPlayedWith": { # This is a JSON template for metadata about a player playing a game with the currently authenticated user. # Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
"autoMatched": True or False, # True if the player was auto-matched with the currently authenticated user.
"kind": "games#played", # Uniquely identifies the type of this resource. Value is always the fixed string games#played.
"timeMillis": "A String", # The last time the player played the game in milliseconds since the epoch in UTC.
},
"playerId": "A String", # The ID of the player.
+ "title": "A String", # The player's title rewarded for their game activities.
+ "experienceInfo": { # This is a JSON template for 1P/3P metadata about the player's experience. # An object to represent Play Game experience information for the player.
+ "lastLevelUpTimestampMillis": "A String", # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
+ "currentExperiencePoints": "A String", # The current number of experience points for the player.
+ "kind": "games#playerExperienceInfo", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
+ "currentLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The current level of the player.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ "nextLevel": { # This is a JSON template for 1P/3P metadata about a user's level. # The next level of the player. If the current level is the maximum level, this should be same as the current level.
+ "maxExperiencePoints": "A String", # The maximum experience points for this level.
+ "kind": "games#playerLevel", # Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
+ "minExperiencePoints": "A String", # The minimum experience points for this level.
+ "level": 42, # The level for the user.
+ },
+ },
"avatarImageUrl": "A String", # The base URL for the image that represents the player.
},
"id": "A String", # An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
diff --git a/docs/dyn/genomics_v1beta.beacons.html b/docs/dyn/genomics_v1beta.beacons.html
new file mode 100644
index 0000000..a296481
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.beacons.html
@@ -0,0 +1,99 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.beacons.html">beacons</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(datasetId, allele=None, position=None, contig=None)</a></code></p>
+<p class="firstline">This is an experimental API that provides a Global Alliance for Genomics and Health Beacon. It may change at any time.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(datasetId, allele=None, position=None, contig=None)</code>
+ <pre>This is an experimental API that provides a Global Alliance for Genomics and Health Beacon. It may change at any time.
+
+Args:
+ datasetId: string, The ID of the dataset to query over. It must be public. Private datasets will return an unauthorized exception. (required)
+ allele: string, Required. The allele to look for ('A', 'C', 'G' or 'T').
+ position: string, Required. The 1-based position to query at.
+ contig: string, Required. The contig to query over.
+
+Returns:
+ An object of the form:
+
+ { # A beacon represents whether any variant call in a dataset has a specific allele at a particular position.
+ "exists": True or False, # True if the allele exists on any variant call, false otherwise.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.callsets.html b/docs/dyn/genomics_v1beta.callsets.html
new file mode 100644
index 0000000..cc3bfda
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.callsets.html
@@ -0,0 +1,280 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.callsets.html">callsets</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#create">create(body)</a></code></p>
+<p class="firstline">Creates a new callset.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(callsetId)</a></code></p>
+<p class="firstline">Deletes a callset.</p>
+<p class="toc_element">
+ <code><a href="#get">get(callsetId)</a></code></p>
+<p class="firstline">Gets a callset by ID.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(callsetId, body)</a></code></p>
+<p class="firstline">Updates a callset. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#search">search(body)</a></code></p>
+<p class="firstline">Gets a list of callsets matching the criteria.</p>
+<p class="toc_element">
+ <code><a href="#update">update(callsetId, body)</a></code></p>
+<p class="firstline">Updates a callset.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="create">create(body)</code>
+ <pre>Creates a new callset.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Callset is a collection of Variant Calls. It belongs to a Dataset.
+ "info": { # A map of additional callset information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "name": "A String", # The callset name.
+ "id": "A String", # The Google generated ID of the callset, immutable.
+ "datasetId": "A String", # The ID of the dataset this callset belongs to.
+ "created": "A String", # The date this callset was created in milliseconds from the epoch.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Callset is a collection of Variant Calls. It belongs to a Dataset.
+ "info": { # A map of additional callset information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "name": "A String", # The callset name.
+ "id": "A String", # The Google generated ID of the callset, immutable.
+ "datasetId": "A String", # The ID of the dataset this callset belongs to.
+ "created": "A String", # The date this callset was created in milliseconds from the epoch.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(callsetId)</code>
+ <pre>Deletes a callset.
+
+Args:
+ callsetId: string, The ID of the callset to be deleted. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(callsetId)</code>
+ <pre>Gets a callset by ID.
+
+Args:
+ callsetId: string, The ID of the callset. (required)
+
+Returns:
+ An object of the form:
+
+ { # A Callset is a collection of Variant Calls. It belongs to a Dataset.
+ "info": { # A map of additional callset information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "name": "A String", # The callset name.
+ "id": "A String", # The Google generated ID of the callset, immutable.
+ "datasetId": "A String", # The ID of the dataset this callset belongs to.
+ "created": "A String", # The date this callset was created in milliseconds from the epoch.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(callsetId, body)</code>
+ <pre>Updates a callset. This method supports patch semantics.
+
+Args:
+ callsetId: string, The ID of the callset to be updated. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Callset is a collection of Variant Calls. It belongs to a Dataset.
+ "info": { # A map of additional callset information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "name": "A String", # The callset name.
+ "id": "A String", # The Google generated ID of the callset, immutable.
+ "datasetId": "A String", # The ID of the dataset this callset belongs to.
+ "created": "A String", # The date this callset was created in milliseconds from the epoch.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Callset is a collection of Variant Calls. It belongs to a Dataset.
+ "info": { # A map of additional callset information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "name": "A String", # The callset name.
+ "id": "A String", # The Google generated ID of the callset, immutable.
+ "datasetId": "A String", # The ID of the dataset this callset belongs to.
+ "created": "A String", # The date this callset was created in milliseconds from the epoch.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="search">search(body)</code>
+ <pre>Gets a list of callsets matching the criteria.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The callset search request.
+ "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+ "datasetIds": [ # Restrict the query to callsets within the given datasets. At least one ID must be provided.
+ "A String",
+ ],
+ "name": "A String", # Only return callsets for which a substring of the name matches this string.
+ "maxResults": "A String", # The maximum number of callsets to return.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The callset search response.
+ "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+ "callsets": [ # The list of matching callsets.
+ { # A Callset is a collection of Variant Calls. It belongs to a Dataset.
+ "info": { # A map of additional callset information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "name": "A String", # The callset name.
+ "id": "A String", # The Google generated ID of the callset, immutable.
+ "datasetId": "A String", # The ID of the dataset this callset belongs to.
+ "created": "A String", # The date this callset was created in milliseconds from the epoch.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(callsetId, body)</code>
+ <pre>Updates a callset.
+
+Args:
+ callsetId: string, The ID of the callset to be updated. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Callset is a collection of Variant Calls. It belongs to a Dataset.
+ "info": { # A map of additional callset information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "name": "A String", # The callset name.
+ "id": "A String", # The Google generated ID of the callset, immutable.
+ "datasetId": "A String", # The ID of the dataset this callset belongs to.
+ "created": "A String", # The date this callset was created in milliseconds from the epoch.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Callset is a collection of Variant Calls. It belongs to a Dataset.
+ "info": { # A map of additional callset information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "name": "A String", # The callset name.
+ "id": "A String", # The Google generated ID of the callset, immutable.
+ "datasetId": "A String", # The ID of the dataset this callset belongs to.
+ "created": "A String", # The date this callset was created in milliseconds from the epoch.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.datasets.html b/docs/dyn/genomics_v1beta.datasets.html
new file mode 100644
index 0000000..daf25ec
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.datasets.html
@@ -0,0 +1,269 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.datasets.html">datasets</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#create">create(body)</a></code></p>
+<p class="firstline">Creates a new dataset.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(datasetId)</a></code></p>
+<p class="firstline">Deletes a dataset.</p>
+<p class="toc_element">
+ <code><a href="#get">get(datasetId)</a></code></p>
+<p class="firstline">Gets a dataset by ID.</p>
+<p class="toc_element">
+ <code><a href="#list">list(pageToken=None, maxResults=None, projectId=None)</a></code></p>
+<p class="firstline">Lists all datasets.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(datasetId, body)</a></code></p>
+<p class="firstline">Updates a dataset. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#undelete">undelete(datasetId)</a></code></p>
+<p class="firstline">Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.</p>
+<p class="toc_element">
+ <code><a href="#update">update(datasetId, body)</a></code></p>
+<p class="firstline">Updates a dataset.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="create">create(body)</code>
+ <pre>Creates a new dataset.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(datasetId)</code>
+ <pre>Deletes a dataset.
+
+Args:
+ datasetId: string, The ID of the dataset to be deleted. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(datasetId)</code>
+ <pre>Gets a dataset by ID.
+
+Args:
+ datasetId: string, The ID of the dataset. (required)
+
+Returns:
+ An object of the form:
+
+ { # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(pageToken=None, maxResults=None, projectId=None)</code>
+ <pre>Lists all datasets.
+
+Args:
+ pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+ maxResults: string, The maximum number of results returned by this request.
+ projectId: string, Only return datasets which belong to this Google Developers Console project. Only accepts project numbers.
+
+Returns:
+ An object of the form:
+
+ { # The dataset list response.
+ "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+ "datasets": [ # The list of matching Datasets.
+ { # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(datasetId, body)</code>
+ <pre>Updates a dataset. This method supports patch semantics.
+
+Args:
+ datasetId: string, The ID of the dataset to be updated. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="undelete">undelete(datasetId)</code>
+ <pre>Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.
+
+Args:
+ datasetId: string, The ID of the dataset to be undeleted. (required)
+
+Returns:
+ An object of the form:
+
+ { # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(datasetId, body)</code>
+ <pre>Updates a dataset.
+
+Args:
+ datasetId: string, The ID of the dataset to be updated. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Dataset is a collection of genomic data.
+ "projectId": "A String", # The Google Developers Console project number that this dataset belongs to.
+ "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.
+ "id": "A String", # The Google generated ID of the dataset, immutable.
+ "name": "A String", # The dataset name.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.experimental.html b/docs/dyn/genomics_v1beta.experimental.html
new file mode 100644
index 0000000..25f4499
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.experimental.html
@@ -0,0 +1,82 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.experimental.html">experimental</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="genomics_v1beta.experimental.jobs.html">jobs()</a></code>
+</p>
+<p class="firstline">Returns the jobs Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.experimental.jobs.html b/docs/dyn/genomics_v1beta.experimental.jobs.html
new file mode 100644
index 0000000..16b2959
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.experimental.jobs.html
@@ -0,0 +1,111 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.experimental.html">experimental</a> . <a href="genomics_v1beta.experimental.jobs.html">jobs</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#create">create(body)</a></code></p>
+<p class="firstline">Creates and asynchronously runs an ad-hoc job. This is an experimental call and may be removed or changed at any time.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="create">create(body)</code>
+ <pre>Creates and asynchronously runs an ad-hoc job. This is an experimental call and may be removed or changed at any time.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The job creation request.
+ "pairedSourceUris": [ # A list of Google Cloud Storage URIs of paired end .fastq files to operate upon. If specified, this represents the second file of each paired .fastq file. The first file of each pair should be specified in "sourceUris".
+ "A String",
+ ],
+ "projectId": "A String", # Required. The Google Cloud Project ID with which to associate the request.
+ "align": True or False, # Specifies whether or not to run the alignment pipeline. At least one of align or call_variants must be provided.
+ "callVariants": True or False, # Specifies whether or not to run the variant calling pipeline. If specified, alignment will be performed first and the aligned BAMs will passed as input to the variant caller. At least one of align or call_variants must be provided.
+ "sourceUris": [ # A list of Google Cloud Storage URIs of data files to operate upon. These can be .bam, interleaved .fastq, or paired .fastq. If specifying paired .fastq files, the first of each pair of files should be listed here, and the second of each pair should be listed in "pairedSourceUris".
+ "A String",
+ ],
+ "gcsOutputPath": "A String", # Specifies where to copy the results of certain pipelines. This shoud be in the form of "gs://bucket/path".
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The job creation response.
+ "jobId": "A String", # A job ID that can be used to get status information.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.html b/docs/dyn/genomics_v1beta.html
new file mode 100644
index 0000000..dd5308e
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.html
@@ -0,0 +1,117 @@
+<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="genomics_v1beta.html">Genomics API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="genomics_v1beta.beacons.html">beacons()</a></code>
+</p>
+<p class="firstline">Returns the beacons Resource.</p>
+
+<p class="toc_element">
+ <code><a href="genomics_v1beta.callsets.html">callsets()</a></code>
+</p>
+<p class="firstline">Returns the callsets Resource.</p>
+
+<p class="toc_element">
+ <code><a href="genomics_v1beta.datasets.html">datasets()</a></code>
+</p>
+<p class="firstline">Returns the datasets Resource.</p>
+
+<p class="toc_element">
+ <code><a href="genomics_v1beta.experimental.html">experimental()</a></code>
+</p>
+<p class="firstline">Returns the experimental Resource.</p>
+
+<p class="toc_element">
+ <code><a href="genomics_v1beta.jobs.html">jobs()</a></code>
+</p>
+<p class="firstline">Returns the jobs Resource.</p>
+
+<p class="toc_element">
+ <code><a href="genomics_v1beta.reads.html">reads()</a></code>
+</p>
+<p class="firstline">Returns the reads Resource.</p>
+
+<p class="toc_element">
+ <code><a href="genomics_v1beta.readsets.html">readsets()</a></code>
+</p>
+<p class="firstline">Returns the readsets Resource.</p>
+
+<p class="toc_element">
+ <code><a href="genomics_v1beta.variants.html">variants()</a></code>
+</p>
+<p class="firstline">Returns the variants Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.jobs.html b/docs/dyn/genomics_v1beta.jobs.html
new file mode 100644
index 0000000..07cb400
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.jobs.html
@@ -0,0 +1,170 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.jobs.html">jobs</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#cancel">cancel(jobId)</a></code></p>
+<p class="firstline">Cancels a job by ID. Note that it is possible for partial results to be generated and stored for cancelled jobs.</p>
+<p class="toc_element">
+ <code><a href="#get">get(jobId)</a></code></p>
+<p class="firstline">Gets a job by ID.</p>
+<p class="toc_element">
+ <code><a href="#search">search(body)</a></code></p>
+<p class="firstline">Gets a list of jobs matching the criteria.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="cancel">cancel(jobId)</code>
+ <pre>Cancels a job by ID. Note that it is possible for partial results to be generated and stored for cancelled jobs.
+
+Args:
+ jobId: string, Required. The ID of the job. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(jobId)</code>
+ <pre>Gets a job by ID.
+
+Args:
+ jobId: string, Required. The ID of the job. (required)
+
+Returns:
+ An object of the form:
+
+ { # A Job represents an ongoing process that can be monitored for status information.
+ "status": "A String", # The status of this job.
+ "errors": [ # Any errors that occurred during processing.
+ "A String",
+ ],
+ "description": "A String", # A more detailed description of this job's current status.
+ "created": "A String", # The date this job was created, in milliseconds from the epoch.
+ "projectId": "A String", # The Google Developers Console project number to which this job belongs.
+ "warnings": [ # Any warnings that occurred during processing.
+ "A String",
+ ],
+ "importedIds": [ # If this Job represents an import, this field will contain the IDs of the objects that were successfully imported.
+ "A String",
+ ],
+ "id": "A String", # The job ID.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="search">search(body)</code>
+ <pre>Gets a list of jobs matching the criteria.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The jobs search request.
+ "status": [ # Only return jobs which have a matching status.
+ "A String",
+ ],
+ "createdAfter": "A String", # If specified, only jobs created on or after this date, given in milliseconds since Unix epoch, will be returned.
+ "projectId": "A String", # Required. Only return jobs which belong to this Google Developers Console project. Only accepts project numbers.
+ "maxResults": "A String", # Specifies the number of results to return in a single page. Defaults to 128. The maximum value is 256.
+ "pageToken": "A String", # The continuation token which is used to page through large result sets. To get the next page of results, set this parameter to the value of the "nextPageToken" from the previous response.
+ "createdBefore": "A String", # If specified, only jobs created prior to this date, given in milliseconds since Unix epoch, will be returned.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The job search response.
+ "nextPageToken": "A String", # The continuation token which is used to page through large result sets. Provide this value is a subsequent request to return the next page of results. This field will be empty if there are no more results.
+ "jobs": [ # The list of jobs results, ordered newest to oldest.
+ { # A Job represents an ongoing process that can be monitored for status information.
+ "status": "A String", # The status of this job.
+ "errors": [ # Any errors that occurred during processing.
+ "A String",
+ ],
+ "description": "A String", # A more detailed description of this job's current status.
+ "created": "A String", # The date this job was created, in milliseconds from the epoch.
+ "projectId": "A String", # The Google Developers Console project number to which this job belongs.
+ "warnings": [ # Any warnings that occurred during processing.
+ "A String",
+ ],
+ "importedIds": [ # If this Job represents an import, this field will contain the IDs of the objects that were successfully imported.
+ "A String",
+ ],
+ "id": "A String", # The job ID.
+ },
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.reads.html b/docs/dyn/genomics_v1beta.reads.html
new file mode 100644
index 0000000..f872923
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.reads.html
@@ -0,0 +1,132 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.reads.html">reads</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#search">search(body)</a></code></p>
+<p class="firstline">Gets a list of reads for one or more readsets. Reads search operates over a genomic coordinate space of reference sequence & position defined over the reference sequences to which the requested readsets are aligned. If a target positional range is specified, search returns all reads whose alignment to the reference genome overlap the range. A query which specifies only readset IDs yields all reads in those readsets, including unmapped reads. All reads returned (including reads on subsequent pages) are ordered by genomic coordinate (reference sequence & position). Reads with equivalent genomic coordinates are returned in a deterministic order.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="search">search(body)</code>
+ <pre>Gets a list of reads for one or more readsets. Reads search operates over a genomic coordinate space of reference sequence & position defined over the reference sequences to which the requested readsets are aligned. If a target positional range is specified, search returns all reads whose alignment to the reference genome overlap the range. A query which specifies only readset IDs yields all reads in those readsets, including unmapped reads. All reads returned (including reads on subsequent pages) are ordered by genomic coordinate (reference sequence & position). Reads with equivalent genomic coordinates are returned in a deterministic order.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The read search request.
+ "sequenceStart": "A String", # The start position (1-based, inclusive) of the target range. If specified, "sequenceName" must also be specified. Defaults to the start of the target reference sequence, if any.
+ "readsetIds": [ # The readsets within which to search for reads. At least one readset ID must be provided. All specified readsets must be aligned against a common set of reference sequences; this defines the genomic coordinates for the query.
+ "A String",
+ ],
+ "sequenceEnd": "A String", # The end position (1-based, inclusive) of the target range. If specified, "sequenceName" must also be specified. Defaults to the end of the target reference sequence, if any.
+ "maxResults": "A String", # Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 1024.
+ "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+ "sequenceName": "A String", # Restricts the results to a particular reference sequence such as '1', 'chr1', or 'X'. The set of valid references sequences depends on the readsets specified. If set to "*", only unmapped Reads are returned.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The read search response.
+ "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+ "reads": [ # The list of matching Reads. The resulting Reads are sorted by position; the smallest positions are returned first. Unmapped reads, which have no position, are returned last and are further sorted alphabetically by name.
+ { # A Read is a group of bases that may or may not have been aligned to a reference. It contains quality information and other metadata.
+ "mateReferenceSequenceName": "A String", # The name of the sequence that the paired read is aligned to. This is usually the same as referenceSequenceName. (RNEXT)
+ "referenceSequenceName": "A String", # The name of the sequence that this read is aligned to. This would be, for example, 'X' for the X Chromosome or '20' for Chromosome 20. (RNAME)
+ "name": "A String", # The name of the read. When imported from a BAM file, this is the query template name. (QNAME)
+ "mappingQuality": 42, # A score up to 255 that represents how likely this read's aligned position is to be correct. A higher value is better. (MAPQ)
+ "templateLength": 42, # Length of the original piece of DNA that produced both this read and the paired read. (TLEN)
+ "cigar": "A String", # A condensed representation of how this read matches up to the reference. (CIGAR)
+ "readsetId": "A String", # The ID of the readset this read belongs to.
+ "matePosition": 42, # The 1-based start position of the paired read. (PNEXT)
+ "tags": { # A map of additional read information. (TAG)
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "flags": 42, # Each bit of this number has a different meaning if enabled. See the full BAM spec for more details. (FLAG)
+ "position": 42, # The 1-based start position of the aligned read. If the first base starts at the very beginning of the reference sequence, then the position would be '1'. (POS)
+ "baseQuality": "A String", # Represents the quality of each base in this read. Each character represents one base. To get the quality, take the ASCII value of the character and subtract 33. (QUAL)
+ "originalBases": "A String", # The list of bases that this read represents (such as "CATCGA"). (SEQ)
+ "id": "A String", # The Google generated ID of the read, immutable.
+ "alignedBases": "A String", # The originalBases after the cigar field has been applied. Deletions are represented with '-' and insertions are omitted.
+ },
+ ],
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.readsets.coveragebuckets.html b/docs/dyn/genomics_v1beta.readsets.coveragebuckets.html
new file mode 100644
index 0000000..3b7642a
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.readsets.coveragebuckets.html
@@ -0,0 +1,130 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.readsets.html">readsets</a> . <a href="genomics_v1beta.readsets.coveragebuckets.html">coveragebuckets</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#list">list(readsetId, range_sequenceName=None, pageToken=None, range_sequenceEnd=None, maxResults=None, range_sequenceStart=None, targetBucketWidth=None)</a></code></p>
+<p class="firstline">Lists fixed width coverage buckets for a readset, each of which correspond to a range of a reference sequence. Each bucket summarizes coverage information across its corresponding genomic range. Coverage is defined as the number of reads which are aligned to a given base in the reference sequence. Coverage buckets are available at various bucket widths, enabling various coverage "zoom levels". The caller must have READ permissions for the target readset.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="list">list(readsetId, range_sequenceName=None, pageToken=None, range_sequenceEnd=None, maxResults=None, range_sequenceStart=None, targetBucketWidth=None)</code>
+ <pre>Lists fixed width coverage buckets for a readset, each of which correspond to a range of a reference sequence. Each bucket summarizes coverage information across its corresponding genomic range. Coverage is defined as the number of reads which are aligned to a given base in the reference sequence. Coverage buckets are available at various bucket widths, enabling various coverage "zoom levels". The caller must have READ permissions for the target readset.
+
+Args:
+ readsetId: string, Required. The ID of the readset over which coverage is requested. (required)
+ range_sequenceName: string, The reference sequence name, for example "chr1", "1", or "chrX".
+ pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+ range_sequenceEnd: string, The end position of the range on the reference, 1-based exclusive. If specified, sequenceName must also be specified.
+ maxResults: string, The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 2048.
+ range_sequenceStart: string, The start position of the range on the reference, 1-based inclusive. If specified, sequenceName must also be specified.
+ targetBucketWidth: string, The desired width of each reported coverage bucket in base pairs. This will be rounded down to the nearest precomputed bucket width; the value of which is returned as bucket_width in the response. Defaults to infinity (each bucket spans an entire reference sequence) or the length of the target range, if specified. The smallest precomputed bucket_width is currently 2048 base pairs; this is subject to change.
+
+Returns:
+ An object of the form:
+
+ {
+ "coverageBuckets": [ # The coverage buckets. The list of buckets is sparse; a bucket with 0 overlapping reads is not returned. A bucket never crosses more than one reference sequence. Each bucket has width bucket_width, unless its end is is the end of the reference sequence.
+ { # A bucket over which read coverage has been precomputed. A bucket corresponds to a specific range of the reference sequence.
+ "meanCoverage": 3.14, # The average number of reads which are aligned to each individual reference base in this bucket.
+ "range": { # An inclusive, exclusive genomic coordinate range over a reference sequence. # The genomic coordinate range spanned by this bucket.
+ "sequenceStart": "A String", # The start position of the range on the reference, 1-based inclusive. If specified, sequenceName must also be specified.
+ "sequenceEnd": "A String", # The end position of the range on the reference, 1-based exclusive. If specified, sequenceName must also be specified.
+ "sequenceName": "A String", # The reference sequence name, for example "chr1", "1", or "chrX".
+ },
+ },
+ ],
+ "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+ "bucketWidth": "A String", # The length of each coverage bucket in base pairs. Note that buckets at the end of a reference sequence may be shorter. This value is omitted if the bucket width is infinity (the default behaviour, with no range or target_bucket_width).
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.readsets.html b/docs/dyn/genomics_v1beta.readsets.html
new file mode 100644
index 0000000..7015dfd
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.readsets.html
@@ -0,0 +1,564 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.readsets.html">readsets</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="genomics_v1beta.readsets.coveragebuckets.html">coveragebuckets()</a></code>
+</p>
+<p class="firstline">Returns the coveragebuckets Resource.</p>
+
+<p class="toc_element">
+ <code><a href="#delete">delete(readsetId)</a></code></p>
+<p class="firstline">Deletes a readset.</p>
+<p class="toc_element">
+ <code><a href="#export">export(body)</a></code></p>
+<p class="firstline">Exports readsets to a BAM file in Google Cloud Storage. Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. In particular, comments in the input file header will not be preserved, and some custom tags will be converted to strings.</p>
+<p class="toc_element">
+ <code><a href="#get">get(readsetId)</a></code></p>
+<p class="firstline">Gets a readset by ID.</p>
+<p class="toc_element">
+ <code><a href="#import_">import_(body)</a></code></p>
+<p class="firstline">Creates readsets by asynchronously importing the provided information. Note that currently comments in the input file header are not imported and some custom tags will be converted to strings, rather than preserving tag types. The caller must have WRITE permissions to the dataset.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(readsetId, body)</a></code></p>
+<p class="firstline">Updates a readset. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#search">search(body)</a></code></p>
+<p class="firstline">Gets a list of readsets matching the criteria.</p>
+<p class="toc_element">
+ <code><a href="#update">update(readsetId, body)</a></code></p>
+<p class="firstline">Updates a readset.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(readsetId)</code>
+ <pre>Deletes a readset.
+
+Args:
+ readsetId: string, The ID of the readset to be deleted. The caller must have WRITE permissions to the dataset associated with this readset. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="export">export(body)</code>
+ <pre>Exports readsets to a BAM file in Google Cloud Storage. Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. In particular, comments in the input file header will not be preserved, and some custom tags will be converted to strings.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The readset export request.
+ "readsetIds": [ # The IDs of the readsets to export.
+ "A String",
+ ],
+ "exportUri": "A String", # A Google Cloud Storage URI where the exported BAM file will be created. The currently authenticated user must have write access to the new file location. An error will be returned if the URI already contains data.
+ "projectId": "A String", # The Google Developers Console project number that owns this export. This is the project that will be billed.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The readset export response.
+ "jobId": "A String", # A job ID that can be used to get status information.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(readsetId)</code>
+ <pre>Gets a readset by ID.
+
+Args:
+ readsetId: string, The ID of the readset. (required)
+
+Returns:
+ An object of the form:
+
+ { # A Readset is a collection of Reads.
+ "fileData": [ # File information from the original BAM import. See the BAM format specification for additional information on each field.
+ { # The header section of the BAM/SAM file.
+ "programs": [ # (@PG) Programs.
+ {
+ "commandLine": "A String", # (CL) Command line.
+ "prevProgramId": "A String", # (PP) Previous program ID.
+ "id": "A String", # (ID) Program record identifier.
+ "version": "A String", # (VN) Program version.
+ "name": "A String", # (PN) Program name.
+ },
+ ],
+ "readGroups": [ # (@RG) Read group.
+ {
+ "sequencingTechnology": "A String", # (PL) Platform/technology used to produce the reads.
+ "predictedInsertSize": 42, # (PI) Predicted median insert size.
+ "sequencingCenterName": "A String", # (CN) Name of sequencing center producing the read.
+ "description": "A String", # (DS) Description.
+ "processingProgram": "A String", # (PG) Programs used for processing the read group.
+ "platformUnit": "A String", # (PU) Platform unit.
+ "flowOrder": "A String", # (FO) Flow order. The array of nucleotide bases that correspond to the nucleotides used for each flow of each read.
+ "library": "A String", # (LS) Library.
+ "sample": "A String", # (SM) Sample.
+ "date": "A String", # (DT) Date the run was produced (ISO8601 date or date/time).
+ "keySequence": "A String", # (KS) The array of nucleotide bases that correspond to the key sequence of each read.
+ "id": "A String", # (ID) Read group identifier.
+ },
+ ],
+ "filename": "A String", # The name of the file from which this data was imported.
+ "headers": [ # (@HD) The header line.
+ {
+ "sortingOrder": "A String", # (SO) Sorting order of alignments.
+ "version": "A String", # (VN) BAM format version.
+ },
+ ],
+ "comments": [ # (@CO) One-line text comments.
+ "A String",
+ ],
+ "refSequences": [ # (@SQ) Reference sequence dictionary.
+ {
+ "name": "A String", # (SN) Reference sequence name.
+ "assemblyId": "A String", # (AS) Genome assembly identifier.
+ "uri": "A String", # (UR) URI of the sequence.
+ "length": 42, # (LN) Reference sequence length.
+ "species": "A String", # (SP) Species.
+ "md5Checksum": "A String", # (M5) MD5 checksum of the sequence in the uppercase, excluding spaces but including pads as *.
+ },
+ ],
+ "fileUri": "A String", # [Deprecated] This field is deprecated and will no longer be populated. Please use filename instead.
+ },
+ ],
+ "id": "A String", # The Google generated ID of the readset, immutable.
+ "datasetId": "A String", # The ID of the dataset this readset belongs to.
+ "name": "A String", # The readset name, typically this is the sample name.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="import_">import_(body)</code>
+ <pre>Creates readsets by asynchronously importing the provided information. Note that currently comments in the input file header are not imported and some custom tags will be converted to strings, rather than preserving tag types. The caller must have WRITE permissions to the dataset.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The readset import request.
+ "sourceUris": [ # A list of URIs pointing at BAM files in Google Cloud Storage.
+ "A String",
+ ],
+ "datasetId": "A String", # Required. The ID of the dataset these readsets will belong to. The caller must have WRITE permissions to this dataset.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The readset import response.
+ "jobId": "A String", # A job ID that can be used to get status information.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(readsetId, body)</code>
+ <pre>Updates a readset. This method supports patch semantics.
+
+Args:
+ readsetId: string, The ID of the readset to be updated. The caller must have WRITE permissions to the dataset associated with this readset. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Readset is a collection of Reads.
+ "fileData": [ # File information from the original BAM import. See the BAM format specification for additional information on each field.
+ { # The header section of the BAM/SAM file.
+ "programs": [ # (@PG) Programs.
+ {
+ "commandLine": "A String", # (CL) Command line.
+ "prevProgramId": "A String", # (PP) Previous program ID.
+ "id": "A String", # (ID) Program record identifier.
+ "version": "A String", # (VN) Program version.
+ "name": "A String", # (PN) Program name.
+ },
+ ],
+ "readGroups": [ # (@RG) Read group.
+ {
+ "sequencingTechnology": "A String", # (PL) Platform/technology used to produce the reads.
+ "predictedInsertSize": 42, # (PI) Predicted median insert size.
+ "sequencingCenterName": "A String", # (CN) Name of sequencing center producing the read.
+ "description": "A String", # (DS) Description.
+ "processingProgram": "A String", # (PG) Programs used for processing the read group.
+ "platformUnit": "A String", # (PU) Platform unit.
+ "flowOrder": "A String", # (FO) Flow order. The array of nucleotide bases that correspond to the nucleotides used for each flow of each read.
+ "library": "A String", # (LS) Library.
+ "sample": "A String", # (SM) Sample.
+ "date": "A String", # (DT) Date the run was produced (ISO8601 date or date/time).
+ "keySequence": "A String", # (KS) The array of nucleotide bases that correspond to the key sequence of each read.
+ "id": "A String", # (ID) Read group identifier.
+ },
+ ],
+ "filename": "A String", # The name of the file from which this data was imported.
+ "headers": [ # (@HD) The header line.
+ {
+ "sortingOrder": "A String", # (SO) Sorting order of alignments.
+ "version": "A String", # (VN) BAM format version.
+ },
+ ],
+ "comments": [ # (@CO) One-line text comments.
+ "A String",
+ ],
+ "refSequences": [ # (@SQ) Reference sequence dictionary.
+ {
+ "name": "A String", # (SN) Reference sequence name.
+ "assemblyId": "A String", # (AS) Genome assembly identifier.
+ "uri": "A String", # (UR) URI of the sequence.
+ "length": 42, # (LN) Reference sequence length.
+ "species": "A String", # (SP) Species.
+ "md5Checksum": "A String", # (M5) MD5 checksum of the sequence in the uppercase, excluding spaces but including pads as *.
+ },
+ ],
+ "fileUri": "A String", # [Deprecated] This field is deprecated and will no longer be populated. Please use filename instead.
+ },
+ ],
+ "id": "A String", # The Google generated ID of the readset, immutable.
+ "datasetId": "A String", # The ID of the dataset this readset belongs to.
+ "name": "A String", # The readset name, typically this is the sample name.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Readset is a collection of Reads.
+ "fileData": [ # File information from the original BAM import. See the BAM format specification for additional information on each field.
+ { # The header section of the BAM/SAM file.
+ "programs": [ # (@PG) Programs.
+ {
+ "commandLine": "A String", # (CL) Command line.
+ "prevProgramId": "A String", # (PP) Previous program ID.
+ "id": "A String", # (ID) Program record identifier.
+ "version": "A String", # (VN) Program version.
+ "name": "A String", # (PN) Program name.
+ },
+ ],
+ "readGroups": [ # (@RG) Read group.
+ {
+ "sequencingTechnology": "A String", # (PL) Platform/technology used to produce the reads.
+ "predictedInsertSize": 42, # (PI) Predicted median insert size.
+ "sequencingCenterName": "A String", # (CN) Name of sequencing center producing the read.
+ "description": "A String", # (DS) Description.
+ "processingProgram": "A String", # (PG) Programs used for processing the read group.
+ "platformUnit": "A String", # (PU) Platform unit.
+ "flowOrder": "A String", # (FO) Flow order. The array of nucleotide bases that correspond to the nucleotides used for each flow of each read.
+ "library": "A String", # (LS) Library.
+ "sample": "A String", # (SM) Sample.
+ "date": "A String", # (DT) Date the run was produced (ISO8601 date or date/time).
+ "keySequence": "A String", # (KS) The array of nucleotide bases that correspond to the key sequence of each read.
+ "id": "A String", # (ID) Read group identifier.
+ },
+ ],
+ "filename": "A String", # The name of the file from which this data was imported.
+ "headers": [ # (@HD) The header line.
+ {
+ "sortingOrder": "A String", # (SO) Sorting order of alignments.
+ "version": "A String", # (VN) BAM format version.
+ },
+ ],
+ "comments": [ # (@CO) One-line text comments.
+ "A String",
+ ],
+ "refSequences": [ # (@SQ) Reference sequence dictionary.
+ {
+ "name": "A String", # (SN) Reference sequence name.
+ "assemblyId": "A String", # (AS) Genome assembly identifier.
+ "uri": "A String", # (UR) URI of the sequence.
+ "length": 42, # (LN) Reference sequence length.
+ "species": "A String", # (SP) Species.
+ "md5Checksum": "A String", # (M5) MD5 checksum of the sequence in the uppercase, excluding spaces but including pads as *.
+ },
+ ],
+ "fileUri": "A String", # [Deprecated] This field is deprecated and will no longer be populated. Please use filename instead.
+ },
+ ],
+ "id": "A String", # The Google generated ID of the readset, immutable.
+ "datasetId": "A String", # The ID of the dataset this readset belongs to.
+ "name": "A String", # The readset name, typically this is the sample name.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="search">search(body)</code>
+ <pre>Gets a list of readsets matching the criteria.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The readset search request.
+ "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+ "datasetIds": [ # Restricts this query to readsets within the given datasets. At least one ID must be provided.
+ "A String",
+ ],
+ "name": "A String", # Only return readsets for which a substring of the name matches this string.
+ "maxResults": "A String", # Specifies number of results to return in a single page. If unspecified, it will default to 128. The maximum value is 256.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The readset search response.
+ "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+ "readsets": [ # The list of matching Readsets.
+ { # A Readset is a collection of Reads.
+ "fileData": [ # File information from the original BAM import. See the BAM format specification for additional information on each field.
+ { # The header section of the BAM/SAM file.
+ "programs": [ # (@PG) Programs.
+ {
+ "commandLine": "A String", # (CL) Command line.
+ "prevProgramId": "A String", # (PP) Previous program ID.
+ "id": "A String", # (ID) Program record identifier.
+ "version": "A String", # (VN) Program version.
+ "name": "A String", # (PN) Program name.
+ },
+ ],
+ "readGroups": [ # (@RG) Read group.
+ {
+ "sequencingTechnology": "A String", # (PL) Platform/technology used to produce the reads.
+ "predictedInsertSize": 42, # (PI) Predicted median insert size.
+ "sequencingCenterName": "A String", # (CN) Name of sequencing center producing the read.
+ "description": "A String", # (DS) Description.
+ "processingProgram": "A String", # (PG) Programs used for processing the read group.
+ "platformUnit": "A String", # (PU) Platform unit.
+ "flowOrder": "A String", # (FO) Flow order. The array of nucleotide bases that correspond to the nucleotides used for each flow of each read.
+ "library": "A String", # (LS) Library.
+ "sample": "A String", # (SM) Sample.
+ "date": "A String", # (DT) Date the run was produced (ISO8601 date or date/time).
+ "keySequence": "A String", # (KS) The array of nucleotide bases that correspond to the key sequence of each read.
+ "id": "A String", # (ID) Read group identifier.
+ },
+ ],
+ "filename": "A String", # The name of the file from which this data was imported.
+ "headers": [ # (@HD) The header line.
+ {
+ "sortingOrder": "A String", # (SO) Sorting order of alignments.
+ "version": "A String", # (VN) BAM format version.
+ },
+ ],
+ "comments": [ # (@CO) One-line text comments.
+ "A String",
+ ],
+ "refSequences": [ # (@SQ) Reference sequence dictionary.
+ {
+ "name": "A String", # (SN) Reference sequence name.
+ "assemblyId": "A String", # (AS) Genome assembly identifier.
+ "uri": "A String", # (UR) URI of the sequence.
+ "length": 42, # (LN) Reference sequence length.
+ "species": "A String", # (SP) Species.
+ "md5Checksum": "A String", # (M5) MD5 checksum of the sequence in the uppercase, excluding spaces but including pads as *.
+ },
+ ],
+ "fileUri": "A String", # [Deprecated] This field is deprecated and will no longer be populated. Please use filename instead.
+ },
+ ],
+ "id": "A String", # The Google generated ID of the readset, immutable.
+ "datasetId": "A String", # The ID of the dataset this readset belongs to.
+ "name": "A String", # The readset name, typically this is the sample name.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(readsetId, body)</code>
+ <pre>Updates a readset.
+
+Args:
+ readsetId: string, The ID of the readset to be updated. The caller must have WRITE permissions to the dataset associated with this readset. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Readset is a collection of Reads.
+ "fileData": [ # File information from the original BAM import. See the BAM format specification for additional information on each field.
+ { # The header section of the BAM/SAM file.
+ "programs": [ # (@PG) Programs.
+ {
+ "commandLine": "A String", # (CL) Command line.
+ "prevProgramId": "A String", # (PP) Previous program ID.
+ "id": "A String", # (ID) Program record identifier.
+ "version": "A String", # (VN) Program version.
+ "name": "A String", # (PN) Program name.
+ },
+ ],
+ "readGroups": [ # (@RG) Read group.
+ {
+ "sequencingTechnology": "A String", # (PL) Platform/technology used to produce the reads.
+ "predictedInsertSize": 42, # (PI) Predicted median insert size.
+ "sequencingCenterName": "A String", # (CN) Name of sequencing center producing the read.
+ "description": "A String", # (DS) Description.
+ "processingProgram": "A String", # (PG) Programs used for processing the read group.
+ "platformUnit": "A String", # (PU) Platform unit.
+ "flowOrder": "A String", # (FO) Flow order. The array of nucleotide bases that correspond to the nucleotides used for each flow of each read.
+ "library": "A String", # (LS) Library.
+ "sample": "A String", # (SM) Sample.
+ "date": "A String", # (DT) Date the run was produced (ISO8601 date or date/time).
+ "keySequence": "A String", # (KS) The array of nucleotide bases that correspond to the key sequence of each read.
+ "id": "A String", # (ID) Read group identifier.
+ },
+ ],
+ "filename": "A String", # The name of the file from which this data was imported.
+ "headers": [ # (@HD) The header line.
+ {
+ "sortingOrder": "A String", # (SO) Sorting order of alignments.
+ "version": "A String", # (VN) BAM format version.
+ },
+ ],
+ "comments": [ # (@CO) One-line text comments.
+ "A String",
+ ],
+ "refSequences": [ # (@SQ) Reference sequence dictionary.
+ {
+ "name": "A String", # (SN) Reference sequence name.
+ "assemblyId": "A String", # (AS) Genome assembly identifier.
+ "uri": "A String", # (UR) URI of the sequence.
+ "length": 42, # (LN) Reference sequence length.
+ "species": "A String", # (SP) Species.
+ "md5Checksum": "A String", # (M5) MD5 checksum of the sequence in the uppercase, excluding spaces but including pads as *.
+ },
+ ],
+ "fileUri": "A String", # [Deprecated] This field is deprecated and will no longer be populated. Please use filename instead.
+ },
+ ],
+ "id": "A String", # The Google generated ID of the readset, immutable.
+ "datasetId": "A String", # The ID of the dataset this readset belongs to.
+ "name": "A String", # The readset name, typically this is the sample name.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Readset is a collection of Reads.
+ "fileData": [ # File information from the original BAM import. See the BAM format specification for additional information on each field.
+ { # The header section of the BAM/SAM file.
+ "programs": [ # (@PG) Programs.
+ {
+ "commandLine": "A String", # (CL) Command line.
+ "prevProgramId": "A String", # (PP) Previous program ID.
+ "id": "A String", # (ID) Program record identifier.
+ "version": "A String", # (VN) Program version.
+ "name": "A String", # (PN) Program name.
+ },
+ ],
+ "readGroups": [ # (@RG) Read group.
+ {
+ "sequencingTechnology": "A String", # (PL) Platform/technology used to produce the reads.
+ "predictedInsertSize": 42, # (PI) Predicted median insert size.
+ "sequencingCenterName": "A String", # (CN) Name of sequencing center producing the read.
+ "description": "A String", # (DS) Description.
+ "processingProgram": "A String", # (PG) Programs used for processing the read group.
+ "platformUnit": "A String", # (PU) Platform unit.
+ "flowOrder": "A String", # (FO) Flow order. The array of nucleotide bases that correspond to the nucleotides used for each flow of each read.
+ "library": "A String", # (LS) Library.
+ "sample": "A String", # (SM) Sample.
+ "date": "A String", # (DT) Date the run was produced (ISO8601 date or date/time).
+ "keySequence": "A String", # (KS) The array of nucleotide bases that correspond to the key sequence of each read.
+ "id": "A String", # (ID) Read group identifier.
+ },
+ ],
+ "filename": "A String", # The name of the file from which this data was imported.
+ "headers": [ # (@HD) The header line.
+ {
+ "sortingOrder": "A String", # (SO) Sorting order of alignments.
+ "version": "A String", # (VN) BAM format version.
+ },
+ ],
+ "comments": [ # (@CO) One-line text comments.
+ "A String",
+ ],
+ "refSequences": [ # (@SQ) Reference sequence dictionary.
+ {
+ "name": "A String", # (SN) Reference sequence name.
+ "assemblyId": "A String", # (AS) Genome assembly identifier.
+ "uri": "A String", # (UR) URI of the sequence.
+ "length": 42, # (LN) Reference sequence length.
+ "species": "A String", # (SP) Species.
+ "md5Checksum": "A String", # (M5) MD5 checksum of the sequence in the uppercase, excluding spaces but including pads as *.
+ },
+ ],
+ "fileUri": "A String", # [Deprecated] This field is deprecated and will no longer be populated. Please use filename instead.
+ },
+ ],
+ "id": "A String", # The Google generated ID of the readset, immutable.
+ "datasetId": "A String", # The ID of the dataset this readset belongs to.
+ "name": "A String", # The readset name, typically this is the sample name.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/genomics_v1beta.variants.html b/docs/dyn/genomics_v1beta.variants.html
new file mode 100644
index 0000000..c7d2831
--- /dev/null
+++ b/docs/dyn/genomics_v1beta.variants.html
@@ -0,0 +1,599 @@
+<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="genomics_v1beta.html">Genomics API</a> . <a href="genomics_v1beta.variants.html">variants</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#create">create(body)</a></code></p>
+<p class="firstline">Creates a new variant.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(variantId)</a></code></p>
+<p class="firstline">Deletes a variant.</p>
+<p class="toc_element">
+ <code><a href="#export">export(body)</a></code></p>
+<p class="firstline">Exports variant data to an external destination.</p>
+<p class="toc_element">
+ <code><a href="#get">get(variantId)</a></code></p>
+<p class="firstline">Gets a variant by ID.</p>
+<p class="toc_element">
+ <code><a href="#getSummary">getSummary(datasetId=None)</a></code></p>
+<p class="firstline">Gets a summary of all the variant data in a dataset.</p>
+<p class="toc_element">
+ <code><a href="#import_">import_(body)</a></code></p>
+<p class="firstline">Creates variant data by asynchronously importing the provided information.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(variantId, body)</a></code></p>
+<p class="firstline">Updates a variant. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#search">search(body)</a></code></p>
+<p class="firstline">Gets a list of variants matching the criteria.</p>
+<p class="toc_element">
+ <code><a href="#update">update(variantId, body)</a></code></p>
+<p class="firstline">Updates a variant.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="create">create(body)</code>
+ <pre>Creates a new variant.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Variant represents a change in DNA sequence relative to some reference. For example, a Variant could represent a SNP or an insertion. Variants belong to a Dataset.
+ "info": { # A map of additional variant information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "end": "A String", # The end position (1-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - position). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+ "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+ { # A Call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a Call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a callset with the name NA12345.
+ "info": { # A map of additional variant call information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "genotype": [ # The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases field of "T" and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value "CA" for this variant. If the genotype was instead [0, 1], the represented value would be "TA". Ordering of the genotype values is important if the phaseset field is present. If a genotype is not called (that is, a "." is present in the GT string) -1 is returned.
+ 42,
+ ],
+ "callsetId": "A String", # The ID of the callset this variant call belongs to.
+ "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls on the same contig which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to "*".
+ "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec.
+ 3.14,
+ ],
+ "callsetName": "A String", # The name of the callset this variant call belongs to.
+ },
+ ],
+ "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+ "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+ "names": [ # Names for the variant, for example a RefSNP ID.
+ "A String",
+ ],
+ "alternateBases": [ # The bases that appear instead of the reference bases.
+ "A String",
+ ],
+ "position": "A String", # The position at which this variant occurs (1-based). This corresponds to the first base of the string of reference bases.
+ "contig": "A String", # The contig on which this variant occurs. (such as 'chr20' or 'X')
+ "id": "A String", # The Google generated ID of the variant, immutable.
+ "datasetId": "A String", # The ID of the dataset this variant belongs to.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Variant represents a change in DNA sequence relative to some reference. For example, a Variant could represent a SNP or an insertion. Variants belong to a Dataset.
+ "info": { # A map of additional variant information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "end": "A String", # The end position (1-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - position). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+ "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+ { # A Call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a Call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a callset with the name NA12345.
+ "info": { # A map of additional variant call information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "genotype": [ # The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases field of "T" and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value "CA" for this variant. If the genotype was instead [0, 1], the represented value would be "TA". Ordering of the genotype values is important if the phaseset field is present. If a genotype is not called (that is, a "." is present in the GT string) -1 is returned.
+ 42,
+ ],
+ "callsetId": "A String", # The ID of the callset this variant call belongs to.
+ "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls on the same contig which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to "*".
+ "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec.
+ 3.14,
+ ],
+ "callsetName": "A String", # The name of the callset this variant call belongs to.
+ },
+ ],
+ "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+ "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+ "names": [ # Names for the variant, for example a RefSNP ID.
+ "A String",
+ ],
+ "alternateBases": [ # The bases that appear instead of the reference bases.
+ "A String",
+ ],
+ "position": "A String", # The position at which this variant occurs (1-based). This corresponds to the first base of the string of reference bases.
+ "contig": "A String", # The contig on which this variant occurs. (such as 'chr20' or 'X')
+ "id": "A String", # The Google generated ID of the variant, immutable.
+ "datasetId": "A String", # The ID of the dataset this variant belongs to.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(variantId)</code>
+ <pre>Deletes a variant.
+
+Args:
+ variantId: string, The ID of the variant to be deleted. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="export">export(body)</code>
+ <pre>Exports variant data to an external destination.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The variant data export request.
+ "format": "A String", # The format for the exported data.
+ "projectId": "A String", # The Google Cloud project number that owns this export. This is the project that will be billed.
+ "callsetIds": [ # If provided, only variant call information from the specified callsets will be exported. By default all variant calls are exported.
+ "A String",
+ ],
+ "bigqueryDataset": "A String", # The BigQuery dataset to export data to. Note that this is distinct from the Genomics concept of "dataset". The caller must have WRITE access to this BigQuery dataset.
+ "datasetId": "A String", # Required. The ID of the dataset that contains variant data which should be exported. The caller must have READ access to this dataset.
+ "bigqueryTable": "A String", # The BigQuery table to export data to. The caller must have WRITE access to this BigQuery table.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The variant data export response.
+ "jobId": "A String", # A job ID that can be used to get status information.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(variantId)</code>
+ <pre>Gets a variant by ID.
+
+Args:
+ variantId: string, The ID of the variant. (required)
+
+Returns:
+ An object of the form:
+
+ { # A Variant represents a change in DNA sequence relative to some reference. For example, a Variant could represent a SNP or an insertion. Variants belong to a Dataset.
+ "info": { # A map of additional variant information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "end": "A String", # The end position (1-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - position). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+ "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+ { # A Call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a Call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a callset with the name NA12345.
+ "info": { # A map of additional variant call information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "genotype": [ # The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases field of "T" and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value "CA" for this variant. If the genotype was instead [0, 1], the represented value would be "TA". Ordering of the genotype values is important if the phaseset field is present. If a genotype is not called (that is, a "." is present in the GT string) -1 is returned.
+ 42,
+ ],
+ "callsetId": "A String", # The ID of the callset this variant call belongs to.
+ "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls on the same contig which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to "*".
+ "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec.
+ 3.14,
+ ],
+ "callsetName": "A String", # The name of the callset this variant call belongs to.
+ },
+ ],
+ "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+ "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+ "names": [ # Names for the variant, for example a RefSNP ID.
+ "A String",
+ ],
+ "alternateBases": [ # The bases that appear instead of the reference bases.
+ "A String",
+ ],
+ "position": "A String", # The position at which this variant occurs (1-based). This corresponds to the first base of the string of reference bases.
+ "contig": "A String", # The contig on which this variant occurs. (such as 'chr20' or 'X')
+ "id": "A String", # The Google generated ID of the variant, immutable.
+ "datasetId": "A String", # The ID of the dataset this variant belongs to.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="getSummary">getSummary(datasetId=None)</code>
+ <pre>Gets a summary of all the variant data in a dataset.
+
+Args:
+ datasetId: string, Required. The ID of the dataset to get variant summary information for.
+
+Returns:
+ An object of the form:
+
+ { # The variants summary response.
+ "contigBounds": [ # A list of all contigs used by the variants in a dataset with associated coordinate upper bounds for each one.
+ { # ContigBound records an upper bound for the starting coordinate of variants in a particular contig.
+ "contig": "A String", # The contig the bound is associate with.
+ "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the contig.
+ },
+ ],
+ "metadata": [ # The metadata associated with this dataset.
+ { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+ "info": { # Remaining structured metadata key-value pairs.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "description": "A String", # A textual description of this metadata.
+ "number": "A String", # The number of values that can be included in a field described by this metadata.
+ "value": "A String", # The value field for simple metadata
+ "key": "A String", # The top-level key.
+ "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+ "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="import_">import_(body)</code>
+ <pre>Creates variant data by asynchronously importing the provided information.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The variant data import request.
+ "sourceUris": [ # A list of URIs pointing at VCF files in Google Cloud Storage. See the VCF Specification for more details on the input format.
+ "A String",
+ ],
+ "datasetId": "A String", # Required. The dataset to which variant data should be imported.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The variant data import response.
+ "jobId": "A String", # A job ID that can be used to get status information.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(variantId, body)</code>
+ <pre>Updates a variant. This method supports patch semantics.
+
+Args:
+ variantId: string, The ID of the variant to be updated.. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Variant represents a change in DNA sequence relative to some reference. For example, a Variant could represent a SNP or an insertion. Variants belong to a Dataset.
+ "info": { # A map of additional variant information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "end": "A String", # The end position (1-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - position). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+ "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+ { # A Call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a Call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a callset with the name NA12345.
+ "info": { # A map of additional variant call information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "genotype": [ # The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases field of "T" and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value "CA" for this variant. If the genotype was instead [0, 1], the represented value would be "TA". Ordering of the genotype values is important if the phaseset field is present. If a genotype is not called (that is, a "." is present in the GT string) -1 is returned.
+ 42,
+ ],
+ "callsetId": "A String", # The ID of the callset this variant call belongs to.
+ "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls on the same contig which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to "*".
+ "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec.
+ 3.14,
+ ],
+ "callsetName": "A String", # The name of the callset this variant call belongs to.
+ },
+ ],
+ "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+ "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+ "names": [ # Names for the variant, for example a RefSNP ID.
+ "A String",
+ ],
+ "alternateBases": [ # The bases that appear instead of the reference bases.
+ "A String",
+ ],
+ "position": "A String", # The position at which this variant occurs (1-based). This corresponds to the first base of the string of reference bases.
+ "contig": "A String", # The contig on which this variant occurs. (such as 'chr20' or 'X')
+ "id": "A String", # The Google generated ID of the variant, immutable.
+ "datasetId": "A String", # The ID of the dataset this variant belongs to.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Variant represents a change in DNA sequence relative to some reference. For example, a Variant could represent a SNP or an insertion. Variants belong to a Dataset.
+ "info": { # A map of additional variant information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "end": "A String", # The end position (1-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - position). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+ "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+ { # A Call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a Call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a callset with the name NA12345.
+ "info": { # A map of additional variant call information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "genotype": [ # The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases field of "T" and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value "CA" for this variant. If the genotype was instead [0, 1], the represented value would be "TA". Ordering of the genotype values is important if the phaseset field is present. If a genotype is not called (that is, a "." is present in the GT string) -1 is returned.
+ 42,
+ ],
+ "callsetId": "A String", # The ID of the callset this variant call belongs to.
+ "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls on the same contig which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to "*".
+ "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec.
+ 3.14,
+ ],
+ "callsetName": "A String", # The name of the callset this variant call belongs to.
+ },
+ ],
+ "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+ "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+ "names": [ # Names for the variant, for example a RefSNP ID.
+ "A String",
+ ],
+ "alternateBases": [ # The bases that appear instead of the reference bases.
+ "A String",
+ ],
+ "position": "A String", # The position at which this variant occurs (1-based). This corresponds to the first base of the string of reference bases.
+ "contig": "A String", # The contig on which this variant occurs. (such as 'chr20' or 'X')
+ "id": "A String", # The Google generated ID of the variant, immutable.
+ "datasetId": "A String", # The ID of the dataset this variant belongs to.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="search">search(body)</code>
+ <pre>Gets a list of variants matching the criteria.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The variant search request.
+ "endPosition": "A String", # Required. The end of the window (1-based, inclusive) for which overlapping variants should be returned.
+ "startPosition": "A String", # Required. The beginning of the window (1-based, inclusive) for which overlapping variants should be returned.
+ "callsetNames": [ # Only return variant calls which belong to callsets which have exactly these names. Leaving this blank returns all variant calls. At most one of callsetNames or callsetIds should be provided.
+ "A String",
+ ],
+ "maxResults": "A String", # The maximum number of variants to return.
+ "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+ "callsetIds": [ # Only return variant calls which belong to callsets with these ids. Leaving this blank returns all variant calls. At most one of callsetNames or callsetIds should be provided.
+ "A String",
+ ],
+ "variantName": "A String", # Only return variants which have exactly this name.
+ "contig": "A String", # Required. Only return variants on this contig.
+ "datasetId": "A String", # Required. The ID of the dataset to search.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The variant search response.
+ "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+ "variants": [ # The list of matching Variants.
+ { # A Variant represents a change in DNA sequence relative to some reference. For example, a Variant could represent a SNP or an insertion. Variants belong to a Dataset.
+ "info": { # A map of additional variant information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "end": "A String", # The end position (1-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - position). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+ "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+ { # A Call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a Call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a callset with the name NA12345.
+ "info": { # A map of additional variant call information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "genotype": [ # The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases field of "T" and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value "CA" for this variant. If the genotype was instead [0, 1], the represented value would be "TA". Ordering of the genotype values is important if the phaseset field is present. If a genotype is not called (that is, a "." is present in the GT string) -1 is returned.
+ 42,
+ ],
+ "callsetId": "A String", # The ID of the callset this variant call belongs to.
+ "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls on the same contig which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to "*".
+ "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec.
+ 3.14,
+ ],
+ "callsetName": "A String", # The name of the callset this variant call belongs to.
+ },
+ ],
+ "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+ "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+ "names": [ # Names for the variant, for example a RefSNP ID.
+ "A String",
+ ],
+ "alternateBases": [ # The bases that appear instead of the reference bases.
+ "A String",
+ ],
+ "position": "A String", # The position at which this variant occurs (1-based). This corresponds to the first base of the string of reference bases.
+ "contig": "A String", # The contig on which this variant occurs. (such as 'chr20' or 'X')
+ "id": "A String", # The Google generated ID of the variant, immutable.
+ "datasetId": "A String", # The ID of the dataset this variant belongs to.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(variantId, body)</code>
+ <pre>Updates a variant.
+
+Args:
+ variantId: string, The ID of the variant to be updated.. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Variant represents a change in DNA sequence relative to some reference. For example, a Variant could represent a SNP or an insertion. Variants belong to a Dataset.
+ "info": { # A map of additional variant information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "end": "A String", # The end position (1-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - position). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+ "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+ { # A Call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a Call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a callset with the name NA12345.
+ "info": { # A map of additional variant call information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "genotype": [ # The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases field of "T" and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value "CA" for this variant. If the genotype was instead [0, 1], the represented value would be "TA". Ordering of the genotype values is important if the phaseset field is present. If a genotype is not called (that is, a "." is present in the GT string) -1 is returned.
+ 42,
+ ],
+ "callsetId": "A String", # The ID of the callset this variant call belongs to.
+ "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls on the same contig which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to "*".
+ "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec.
+ 3.14,
+ ],
+ "callsetName": "A String", # The name of the callset this variant call belongs to.
+ },
+ ],
+ "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+ "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+ "names": [ # Names for the variant, for example a RefSNP ID.
+ "A String",
+ ],
+ "alternateBases": [ # The bases that appear instead of the reference bases.
+ "A String",
+ ],
+ "position": "A String", # The position at which this variant occurs (1-based). This corresponds to the first base of the string of reference bases.
+ "contig": "A String", # The contig on which this variant occurs. (such as 'chr20' or 'X')
+ "id": "A String", # The Google generated ID of the variant, immutable.
+ "datasetId": "A String", # The ID of the dataset this variant belongs to.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Variant represents a change in DNA sequence relative to some reference. For example, a Variant could represent a SNP or an insertion. Variants belong to a Dataset.
+ "info": { # A map of additional variant information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "end": "A String", # The end position (1-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - position). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+ "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+ { # A Call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a Call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a callset with the name NA12345.
+ "info": { # A map of additional variant call information.
+ "a_key": [ # A string which maps to an array of values.
+ "A String",
+ ],
+ },
+ "genotype": [ # The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases field of "T" and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value "CA" for this variant. If the genotype was instead [0, 1], the represented value would be "TA". Ordering of the genotype values is important if the phaseset field is present. If a genotype is not called (that is, a "." is present in the GT string) -1 is returned.
+ 42,
+ ],
+ "callsetId": "A String", # The ID of the callset this variant call belongs to.
+ "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls on the same contig which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to "*".
+ "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec.
+ 3.14,
+ ],
+ "callsetName": "A String", # The name of the callset this variant call belongs to.
+ },
+ ],
+ "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+ "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+ "names": [ # Names for the variant, for example a RefSNP ID.
+ "A String",
+ ],
+ "alternateBases": [ # The bases that appear instead of the reference bases.
+ "A String",
+ ],
+ "position": "A String", # The position at which this variant occurs (1-based). This corresponds to the first base of the string of reference bases.
+ "contig": "A String", # The contig on which this variant occurs. (such as 'chr20' or 'X')
+ "id": "A String", # The Google generated ID of the variant, immutable.
+ "datasetId": "A String", # The ID of the dataset this variant belongs to.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gmail_v1.html b/docs/dyn/gmail_v1.html
new file mode 100644
index 0000000..481c80b
--- /dev/null
+++ b/docs/dyn/gmail_v1.html
@@ -0,0 +1,82 @@
+<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="gmail_v1.html">Gmail API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="gmail_v1.users.html">users()</a></code>
+</p>
+<p class="firstline">Returns the users Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gmail_v1.users.drafts.html b/docs/dyn/gmail_v1.users.drafts.html
new file mode 100644
index 0000000..019f262
--- /dev/null
+++ b/docs/dyn/gmail_v1.users.drafts.html
@@ -0,0 +1,498 @@
+<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="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.drafts.html">drafts</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#create">create(userId, body=None, media_body=None)</a></code></p>
+<p class="firstline">Creates a new draft with the DRAFT label.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(userId, id)</a></code></p>
+<p class="firstline">Immediately and permanently deletes the specified draft. Does not simply trash it.</p>
+<p class="toc_element">
+ <code><a href="#get">get(userId, id, format=None)</a></code></p>
+<p class="firstline">Gets the specified draft.</p>
+<p class="toc_element">
+ <code><a href="#list">list(userId, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">Lists the drafts in the user's mailbox.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#send">send(userId, body=None, media_body=None)</a></code></p>
+<p class="firstline">Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.</p>
+<p class="toc_element">
+ <code><a href="#update">update(userId, id, body=None, media_body=None)</a></code></p>
+<p class="firstline">Replaces a draft's content.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="create">create(userId, body=None, media_body=None)</code>
+ <pre>Creates a new draft with the DRAFT label.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # A draft email in the user's mailbox.
+ "message": { # An email message. # The message content of the draft.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ "id": "A String", # The immutable ID of the draft.
+}
+
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ { # A draft email in the user's mailbox.
+ "message": { # An email message. # The message content of the draft.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ "id": "A String", # The immutable ID of the draft.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(userId, id)</code>
+ <pre>Immediately and permanently deletes the specified draft. Does not simply trash it.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the draft to delete. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(userId, id, format=None)</code>
+ <pre>Gets the specified draft.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the draft to retrieve. (required)
+ format: string, The format to return the draft in.
+ Allowed values
+ full -
+ minimal -
+ raw -
+
+Returns:
+ An object of the form:
+
+ { # A draft email in the user's mailbox.
+ "message": { # An email message. # The message content of the draft.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ "id": "A String", # The immutable ID of the draft.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(userId, pageToken=None, maxResults=None)</code>
+ <pre>Lists the drafts in the user's mailbox.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ pageToken: string, Page token to retrieve a specific page of results in the list.
+ maxResults: integer, Maximum number of drafts to return.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String", # Token to retrieve the next page of results in the list.
+ "resultSizeEstimate": 42, # Estimated total number of results.
+ "drafts": [ # List of drafts.
+ { # A draft email in the user's mailbox.
+ "message": { # An email message. # The message content of the draft.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ "id": "A String", # The immutable ID of the draft.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="send">send(userId, body=None, media_body=None)</code>
+ <pre>Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # A draft email in the user's mailbox.
+ "message": { # An email message. # The message content of the draft.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ "id": "A String", # The immutable ID of the draft.
+}
+
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(userId, id, body=None, media_body=None)</code>
+ <pre>Replaces a draft's content.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the draft to update. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # A draft email in the user's mailbox.
+ "message": { # An email message. # The message content of the draft.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ "id": "A String", # The immutable ID of the draft.
+}
+
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ { # A draft email in the user's mailbox.
+ "message": { # An email message. # The message content of the draft.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ "id": "A String", # The immutable ID of the draft.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gmail_v1.users.history.html b/docs/dyn/gmail_v1.users.history.html
new file mode 100644
index 0000000..2e62fe4
--- /dev/null
+++ b/docs/dyn/gmail_v1.users.history.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="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.history.html">history</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#list">list(userId, pageToken=None, maxResults=None, startHistoryId=None, labelId=None)</a></code></p>
+<p class="firstline">Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId).</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="list">list(userId, pageToken=None, maxResults=None, startHistoryId=None, labelId=None)</code>
+ <pre>Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId).
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ pageToken: string, Page token to retrieve a specific page of results in the list.
+ maxResults: integer, The maximum number of history records to return.
+ startHistoryId: string, Required. Returns history records after the specified startHistoryId. The supplied startHistoryId should be obtained from the historyId of a message, thread, or previous list response. History IDs increase chronologically but are not contiguous with random gaps in between valid IDs. Supplying an invalid or out of date startHistoryId typically returns an HTTP 404 error code. A historyId is typically valid for at least a week, but in some circumstances may be valid for only a few hours. If you receive an HTTP 404 error response, your application should perform a full sync. If you receive no nextPageToken in the response, there are no updates to retrieve and you can store the returned historyId for a future request.
+ labelId: string, Only return messages with a label matching the ID.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String", # Page token to retrieve the next page of results in the list.
+ "historyId": "A String", # The ID of the mailbox's current history record.
+ "history": [ # List of history records.
+ { # A record of a change to the user's mailbox. Each history contains a list of the messages that were affected by this change.
+ "messages": [ # The messages that changed in this history record.
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ ],
+ "id": "A String", # The mailbox sequence ID.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gmail_v1.users.html b/docs/dyn/gmail_v1.users.html
new file mode 100644
index 0000000..2f03708
--- /dev/null
+++ b/docs/dyn/gmail_v1.users.html
@@ -0,0 +1,102 @@
+<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="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="gmail_v1.users.drafts.html">drafts()</a></code>
+</p>
+<p class="firstline">Returns the drafts Resource.</p>
+
+<p class="toc_element">
+ <code><a href="gmail_v1.users.history.html">history()</a></code>
+</p>
+<p class="firstline">Returns the history Resource.</p>
+
+<p class="toc_element">
+ <code><a href="gmail_v1.users.labels.html">labels()</a></code>
+</p>
+<p class="firstline">Returns the labels Resource.</p>
+
+<p class="toc_element">
+ <code><a href="gmail_v1.users.messages.html">messages()</a></code>
+</p>
+<p class="firstline">Returns the messages Resource.</p>
+
+<p class="toc_element">
+ <code><a href="gmail_v1.users.threads.html">threads()</a></code>
+</p>
+<p class="firstline">Returns the threads Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gmail_v1.users.labels.html b/docs/dyn/gmail_v1.users.labels.html
new file mode 100644
index 0000000..d1501ec
--- /dev/null
+++ b/docs/dyn/gmail_v1.users.labels.html
@@ -0,0 +1,241 @@
+<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="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.labels.html">labels</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#create">create(userId, body)</a></code></p>
+<p class="firstline">Creates a new label.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(userId, id)</a></code></p>
+<p class="firstline">Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.</p>
+<p class="toc_element">
+ <code><a href="#get">get(userId, id)</a></code></p>
+<p class="firstline">Gets the specified label.</p>
+<p class="toc_element">
+ <code><a href="#list">list(userId)</a></code></p>
+<p class="firstline">Lists all labels in the user's mailbox.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(userId, id, body)</a></code></p>
+<p class="firstline">Updates the specified label. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(userId, id, body)</a></code></p>
+<p class="firstline">Updates the specified label.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="create">create(userId, body)</code>
+ <pre>Creates a new label.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Labels are used to categorize messages and threads within the user's mailbox.
+ "type": "A String", # The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.
+ "messageListVisibility": "A String", # The visibility of the label in the message list in the Gmail web interface.
+ "id": "A String", # The immutable ID of the label.
+ "name": "A String", # The display name of the label.
+ "labelListVisibility": "A String", # The visibility of the label in the label list in the Gmail web interface.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # Labels are used to categorize messages and threads within the user's mailbox.
+ "type": "A String", # The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.
+ "messageListVisibility": "A String", # The visibility of the label in the message list in the Gmail web interface.
+ "id": "A String", # The immutable ID of the label.
+ "name": "A String", # The display name of the label.
+ "labelListVisibility": "A String", # The visibility of the label in the label list in the Gmail web interface.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(userId, id)</code>
+ <pre>Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the label to delete. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(userId, id)</code>
+ <pre>Gets the specified label.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the label to retrieve. (required)
+
+Returns:
+ An object of the form:
+
+ { # Labels are used to categorize messages and threads within the user's mailbox.
+ "type": "A String", # The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.
+ "messageListVisibility": "A String", # The visibility of the label in the message list in the Gmail web interface.
+ "id": "A String", # The immutable ID of the label.
+ "name": "A String", # The display name of the label.
+ "labelListVisibility": "A String", # The visibility of the label in the label list in the Gmail web interface.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(userId)</code>
+ <pre>Lists all labels in the user's mailbox.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "labels": [ # List of labels.
+ { # Labels are used to categorize messages and threads within the user's mailbox.
+ "type": "A String", # The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.
+ "messageListVisibility": "A String", # The visibility of the label in the message list in the Gmail web interface.
+ "id": "A String", # The immutable ID of the label.
+ "name": "A String", # The display name of the label.
+ "labelListVisibility": "A String", # The visibility of the label in the label list in the Gmail web interface.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(userId, id, body)</code>
+ <pre>Updates the specified label. This method supports patch semantics.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the label to update. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Labels are used to categorize messages and threads within the user's mailbox.
+ "type": "A String", # The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.
+ "messageListVisibility": "A String", # The visibility of the label in the message list in the Gmail web interface.
+ "id": "A String", # The immutable ID of the label.
+ "name": "A String", # The display name of the label.
+ "labelListVisibility": "A String", # The visibility of the label in the label list in the Gmail web interface.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # Labels are used to categorize messages and threads within the user's mailbox.
+ "type": "A String", # The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.
+ "messageListVisibility": "A String", # The visibility of the label in the message list in the Gmail web interface.
+ "id": "A String", # The immutable ID of the label.
+ "name": "A String", # The display name of the label.
+ "labelListVisibility": "A String", # The visibility of the label in the label list in the Gmail web interface.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(userId, id, body)</code>
+ <pre>Updates the specified label.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the label to update. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Labels are used to categorize messages and threads within the user's mailbox.
+ "type": "A String", # The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.
+ "messageListVisibility": "A String", # The visibility of the label in the message list in the Gmail web interface.
+ "id": "A String", # The immutable ID of the label.
+ "name": "A String", # The display name of the label.
+ "labelListVisibility": "A String", # The visibility of the label in the label list in the Gmail web interface.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # Labels are used to categorize messages and threads within the user's mailbox.
+ "type": "A String", # The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.
+ "messageListVisibility": "A String", # The visibility of the label in the message list in the Gmail web interface.
+ "id": "A String", # The immutable ID of the label.
+ "name": "A String", # The display name of the label.
+ "labelListVisibility": "A String", # The visibility of the label in the label list in the Gmail web interface.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gmail_v1.users.messages.attachments.html b/docs/dyn/gmail_v1.users.messages.attachments.html
new file mode 100644
index 0000000..0e040b2
--- /dev/null
+++ b/docs/dyn/gmail_v1.users.messages.attachments.html
@@ -0,0 +1,100 @@
+<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="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.messages.html">messages</a> . <a href="gmail_v1.users.messages.attachments.html">attachments</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(userId, messageId, id)</a></code></p>
+<p class="firstline">Gets the specified message attachment.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(userId, messageId, id)</code>
+ <pre>Gets the specified message attachment.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ messageId: string, The ID of the message containing the attachment. (required)
+ id: string, The ID of the attachment. (required)
+
+Returns:
+ An object of the form:
+
+ { # The body of a single MIME message part.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gmail_v1.users.messages.html b/docs/dyn/gmail_v1.users.messages.html
new file mode 100644
index 0000000..c31024d
--- /dev/null
+++ b/docs/dyn/gmail_v1.users.messages.html
@@ -0,0 +1,643 @@
+<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="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.messages.html">messages</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="gmail_v1.users.messages.attachments.html">attachments()</a></code>
+</p>
+<p class="firstline">Returns the attachments Resource.</p>
+
+<p class="toc_element">
+ <code><a href="#delete">delete(userId, id)</a></code></p>
+<p class="firstline">Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead.</p>
+<p class="toc_element">
+ <code><a href="#get">get(userId, id, format=None)</a></code></p>
+<p class="firstline">Gets the specified message.</p>
+<p class="toc_element">
+ <code><a href="#import_">import_(userId, body=None, media_body=None)</a></code></p>
+<p class="firstline">Directly imports a message into only this user's mailbox, similar to receiving via SMTP. Does not send a message.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(userId, body=None, media_body=None)</a></code></p>
+<p class="firstline">Directly inserts a message into only this user's mailbox. Does not send a message.</p>
+<p class="toc_element">
+ <code><a href="#list">list(userId, labelIds=None, q=None, pageToken=None, maxResults=None, includeSpamTrash=None)</a></code></p>
+<p class="firstline">Lists the messages in the user's mailbox.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#modify">modify(userId, id, body)</a></code></p>
+<p class="firstline">Modifies the labels on the specified message.</p>
+<p class="toc_element">
+ <code><a href="#send">send(userId, body=None, media_body=None)</a></code></p>
+<p class="firstline">Sends the specified message to the recipients in the To, Cc, and Bcc headers.</p>
+<p class="toc_element">
+ <code><a href="#trash">trash(userId, id)</a></code></p>
+<p class="firstline">Moves the specified message to the trash.</p>
+<p class="toc_element">
+ <code><a href="#untrash">untrash(userId, id)</a></code></p>
+<p class="firstline">Removes the specified message from the trash.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(userId, id)</code>
+ <pre>Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the message to delete. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(userId, id, format=None)</code>
+ <pre>Gets the specified message.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the message to retrieve. (required)
+ format: string, The format to return the message in.
+ Allowed values
+ full -
+ minimal -
+ raw -
+
+Returns:
+ An object of the form:
+
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="import_">import_(userId, body=None, media_body=None)</code>
+ <pre>Directly imports a message into only this user's mailbox, similar to receiving via SMTP. Does not send a message.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+}
+
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(userId, body=None, media_body=None)</code>
+ <pre>Directly inserts a message into only this user's mailbox. Does not send a message.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+}
+
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(userId, labelIds=None, q=None, pageToken=None, maxResults=None, includeSpamTrash=None)</code>
+ <pre>Lists the messages in the user's mailbox.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ labelIds: string, Only return messages with labels that match all of the specified label IDs. (repeated)
+ q: string, Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
+ pageToken: string, Page token to retrieve a specific page of results in the list.
+ maxResults: integer, Maximum number of messages to return.
+ includeSpamTrash: boolean, Include messages from SPAM and TRASH in the results.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String", # Token to retrieve the next page of results in the list.
+ "resultSizeEstimate": 42, # Estimated total number of results.
+ "messages": [ # List of messages.
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="modify">modify(userId, id, body)</code>
+ <pre>Modifies the labels on the specified message.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the message to modify. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "removeLabelIds": [ # A list IDs of labels to remove from this message.
+ "A String",
+ ],
+ "addLabelIds": [ # A list of IDs of labels to add to this message.
+ "A String",
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="send">send(userId, body=None, media_body=None)</code>
+ <pre>Sends the specified message to the recipients in the To, Cc, and Bcc headers.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+}
+
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+ An object of the form:
+
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="trash">trash(userId, id)</code>
+ <pre>Moves the specified message to the trash.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the message to Trash. (required)
+
+Returns:
+ An object of the form:
+
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="untrash">untrash(userId, id)</code>
+ <pre>Removes the specified message from the trash.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the message to remove from Trash. (required)
+
+Returns:
+ An object of the form:
+
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/gmail_v1.users.threads.html b/docs/dyn/gmail_v1.users.threads.html
new file mode 100644
index 0000000..6973432
--- /dev/null
+++ b/docs/dyn/gmail_v1.users.threads.html
@@ -0,0 +1,410 @@
+<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="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.threads.html">threads</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(userId, id)</a></code></p>
+<p class="firstline">Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead.</p>
+<p class="toc_element">
+ <code><a href="#get">get(userId, id)</a></code></p>
+<p class="firstline">Gets the specified thread.</p>
+<p class="toc_element">
+ <code><a href="#list">list(userId, labelIds=None, q=None, pageToken=None, maxResults=None, includeSpamTrash=None)</a></code></p>
+<p class="firstline">Lists the threads in the user's mailbox.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#modify">modify(userId, id, body)</a></code></p>
+<p class="firstline">Modifies the labels applied to the thread. This applies to all messages in the thread.</p>
+<p class="toc_element">
+ <code><a href="#trash">trash(userId, id)</a></code></p>
+<p class="firstline">Moves the specified thread to the trash.</p>
+<p class="toc_element">
+ <code><a href="#untrash">untrash(userId, id)</a></code></p>
+<p class="firstline">Removes the specified thread from the trash.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(userId, id)</code>
+ <pre>Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, ID of the Thread to delete. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(userId, id)</code>
+ <pre>Gets the specified thread.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the thread to retrieve. (required)
+
+Returns:
+ An object of the form:
+
+ { # A collection of messages representing a conversation.
+ "snippet": "A String", # A short part of the message text.
+ "messages": [ # The list of messages in the thread.
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ ],
+ "id": "A String", # The unique ID of the thread.
+ "historyId": "A String", # The ID of the last history record that modified this thread.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(userId, labelIds=None, q=None, pageToken=None, maxResults=None, includeSpamTrash=None)</code>
+ <pre>Lists the threads in the user's mailbox.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ labelIds: string, Only return threads with labels that match all of the specified label IDs. (repeated)
+ q: string, Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
+ pageToken: string, Page token to retrieve a specific page of results in the list.
+ maxResults: integer, Maximum number of threads to return.
+ includeSpamTrash: boolean, Include threads from SPAM and TRASH in the results.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String", # Page token to retrieve the next page of results in the list.
+ "resultSizeEstimate": 42, # Estimated total number of results.
+ "threads": [ # List of threads.
+ { # A collection of messages representing a conversation.
+ "snippet": "A String", # A short part of the message text.
+ "messages": [ # The list of messages in the thread.
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ ],
+ "id": "A String", # The unique ID of the thread.
+ "historyId": "A String", # The ID of the last history record that modified this thread.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="modify">modify(userId, id, body)</code>
+ <pre>Modifies the labels applied to the thread. This applies to all messages in the thread.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the thread to modify. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "removeLabelIds": [ # A list of IDs of labels to remove from this thread.
+ "A String",
+ ],
+ "addLabelIds": [ # A list of IDs of labels to add to this thread.
+ "A String",
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # A collection of messages representing a conversation.
+ "snippet": "A String", # A short part of the message text.
+ "messages": [ # The list of messages in the thread.
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ ],
+ "id": "A String", # The unique ID of the thread.
+ "historyId": "A String", # The ID of the last history record that modified this thread.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="trash">trash(userId, id)</code>
+ <pre>Moves the specified thread to the trash.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the thread to Trash. (required)
+
+Returns:
+ An object of the form:
+
+ { # A collection of messages representing a conversation.
+ "snippet": "A String", # A short part of the message text.
+ "messages": [ # The list of messages in the thread.
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ ],
+ "id": "A String", # The unique ID of the thread.
+ "historyId": "A String", # The ID of the last history record that modified this thread.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="untrash">untrash(userId, id)</code>
+ <pre>Removes the specified thread from the trash.
+
+Args:
+ userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required)
+ id: string, The ID of the thread to remove from Trash. (required)
+
+Returns:
+ An object of the form:
+
+ { # A collection of messages representing a conversation.
+ "snippet": "A String", # A short part of the message text.
+ "messages": [ # The list of messages in the thread.
+ { # An email message.
+ "historyId": "A String", # The ID of the last history record that modified this message.
+ "payload": { # A single MIME message part. # The parsed email structure in the message parts.
+ "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts.
+ "data": "A String", # The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
+ "attachmentId": "A String", # When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
+ "size": 42, # Total number of bytes in the body of the message part.
+ },
+ "mimeType": "A String", # The MIME type of the message part.
+ "partId": "A String", # The immutable ID of the message part.
+ "filename": "A String", # The filename of the attachment. Only present if this message part represents an attachment.
+ "headers": [ # List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.
+ {
+ "name": "A String", # The name of the header before the : separator. For example, To.
+ "value": "A String", # The value of the header after the : separator. For example, someuser@example.com.
+ },
+ ],
+ "parts": [ # The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.
+ # Object with schema name: MessagePart
+ ],
+ },
+ "snippet": "A String", # A short part of the message text.
+ "raw": "A String", # The entire email message in an RFC 2822 formatted and URL-safe base64 encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
+ "sizeEstimate": 42, # Estimated size in bytes of the message.
+ "threadId": "A String", # The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
+ # - The requested threadId must be specified on the Message or Draft.Message you supply with your request.
+ # - The References and In-Reply-To headers must be set in compliance with the <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard.
+ # - The Subject headers must match.
+ "labelIds": [ # List of IDs of labels applied to this message.
+ "A String",
+ ],
+ "id": "A String", # The immutable ID of the message.
+ },
+ ],
+ "id": "A String", # The unique ID of the thread.
+ "historyId": "A String", # The ID of the last history record that modified this thread.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/identitytoolkit_v3.relyingparty.html b/docs/dyn/identitytoolkit_v3.relyingparty.html
index 24429ca..339a9a5 100644
--- a/docs/dyn/identitytoolkit_v3.relyingparty.html
+++ b/docs/dyn/identitytoolkit_v3.relyingparty.html
@@ -133,11 +133,9 @@
{ # Response of creating the IDP authentication URL.
"kind": "identitytoolkit#CreateAuthUriResponse", # The fixed string identitytoolkit#CreateAuthUriResponse".
- "providers": [ # Existing IDP's for the user.
- "A String",
- ],
"registered": True or False, # Whether the user is registered if the identifier is an email.
"providerId": "A String", # The provider ID of the auth URI.
+ "forExistingProvider": True or False, # True if the authUri is for user's existing provider.
"authUri": "A String", # The URI used by the IDP to authenticate the user.
}</pre>
</div>
@@ -375,7 +373,7 @@
The object takes the form of:
{ # Request to upload user account in batch.
- "hashAlgorithm": "A String",
+ "hashAlgorithm": "A String", # The password hash algorithm.
"users": [ # The account info to be stored.
{ # Template for an individual account info.
"displayName": "A String", # The name of the user.
@@ -397,10 +395,10 @@
"email": "A String", # The email of the user.
},
],
- "signerKey": "A String",
- "memoryCost": 42,
- "saltSeparator": "A String",
- "rounds": 42,
+ "signerKey": "A String", # The key for to hash the password.
+ "memoryCost": 42, # Memory cost for hash calculation. Used by scrypt similar algorithms.
+ "saltSeparator": "A String", # The salt separator.
+ "rounds": 42, # Rounds for hash calculation. Used by scrypt and similar algorithms.
}
diff --git a/docs/dyn/manager_v1beta2.deployments.html b/docs/dyn/manager_v1beta2.deployments.html
new file mode 100644
index 0000000..16299f3
--- /dev/null
+++ b/docs/dyn/manager_v1beta2.deployments.html
@@ -0,0 +1,405 @@
+<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="manager_v1beta2.html">Deployment Manager API</a> . <a href="manager_v1beta2.deployments.html">deployments</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(projectId, region, deploymentName)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#get">get(projectId, region, deploymentName)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#insert">insert(projectId, region, body)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#list">list(projectId, region, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(projectId, region, deploymentName)</code>
+ <pre>
+
+Args:
+ projectId: string, A parameter (required)
+ region: string, A parameter (required)
+ deploymentName: string, A parameter (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(projectId, region, deploymentName)</code>
+ <pre>
+
+Args:
+ projectId: string, A parameter (required)
+ region: string, A parameter (required)
+ deploymentName: string, A parameter (required)
+
+Returns:
+ An object of the form:
+
+ { # A deployment represents a physical instantiation of a Template.
+ "description": "A String", # A user-supplied description of this Deployment.
+ "templateName": "A String", # The name of the Template on which this deployment is based.
+ "overrides": [ # The set of parameter overrides to apply to the corresponding Template before deploying.
+ { # A specification for overriding parameters in a Template that corresponds to the Deployment.
+ "path": "A String", # A JSON Path expression that specifies which parameter should be overridden.
+ "value": "A String", # The new value to assign to the overridden parameter.
+ },
+ ],
+ "modules": { # [Output Only] List of status for the modules in this deployment.
+ "a_key": { # [Output Only] Aggregate status for a module. # Name of the module.
+ "healthCheckModuleStatus": { # [Output Only] The status of the HealthCheckModule, set for type HEALTH_CHECK.
+ "healthCheckUrl": "A String", # [Output Only] The HealthCheck URL.
+ },
+ "replicaPoolModuleStatus": { # [Output Only] The status of the ReplicaPoolModule, set for type VM.
+ "resourceViewUrl": "A String", # [Output Only] The URL of the Resource Group associated with this ReplicaPool.
+ "replicaPoolUrl": "A String", # [Output Only] The URL of the associated ReplicaPool resource.
+ },
+ "networkModuleStatus": { # [Output Only] The status of the NetworkModule, set for type NETWORK.
+ "networkUrl": "A String", # [Output Only] The URL of the corresponding Network resource.
+ },
+ "state": { # [Output Only] The current state of a replica or module. # [Output Only] The current state of the module.
+ "status": "A String", # [Output Only] The status of the deployment. Possible values include:
+ # - UNKNOWN
+ # - DEPLOYING
+ # - DEPLOYED
+ # - DEPLOYMENT_FAILED
+ # - DELETING
+ # - DELETED
+ # - DELETE_FAILED
+ "details": "A String", # [Output Only] Human readable details about the current state.
+ },
+ "autoscalingModuleStatus": { # [Output Only] The status of the AutoscalingModule, set for type AUTOSCALING.
+ "autoscalingConfigUrl": "A String", # [Output Only] The URL of the corresponding Autoscaling configuration.
+ },
+ "firewallModuleStatus": { # [Output Only] The status of the FirewallModule, set for type FIREWALL.
+ "firewallUrl": "A String", # [Output Only] The URL of the corresponding Firewall resource.
+ },
+ "type": "A String", # [Output Only] The type of the module.
+ "lbModuleStatus": { # [Output Only] The status of the LbModule, set for type LOAD_BALANCING.
+ "forwardingRuleUrl": "A String", # [Output Only] The URL of the corresponding ForwardingRule in GCE.
+ "targetPoolUrl": "A String", # [Output Only] The URL of the corresponding TargetPool resource in GCE.
+ },
+ },
+ },
+ "state": { # [Output Only] The current state of a replica or module. # [Output Only] Current status of this deployment.
+ "status": "A String", # [Output Only] The status of the deployment. Possible values include:
+ # - UNKNOWN
+ # - DEPLOYING
+ # - DEPLOYED
+ # - DEPLOYMENT_FAILED
+ # - DELETING
+ # - DELETED
+ # - DELETE_FAILED
+ "details": "A String", # [Output Only] Human readable details about the current state.
+ },
+ "creationDate": "A String", # [Output Only] The time when this deployment was created.
+ "name": "A String", # Name of this deployment. The name must conform to the following regular expression: [a-zA-Z0-9-_]{1,64}
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(projectId, region, body)</code>
+ <pre>
+
+Args:
+ projectId: string, A parameter (required)
+ region: string, A parameter (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A deployment represents a physical instantiation of a Template.
+ "description": "A String", # A user-supplied description of this Deployment.
+ "templateName": "A String", # The name of the Template on which this deployment is based.
+ "overrides": [ # The set of parameter overrides to apply to the corresponding Template before deploying.
+ { # A specification for overriding parameters in a Template that corresponds to the Deployment.
+ "path": "A String", # A JSON Path expression that specifies which parameter should be overridden.
+ "value": "A String", # The new value to assign to the overridden parameter.
+ },
+ ],
+ "modules": { # [Output Only] List of status for the modules in this deployment.
+ "a_key": { # [Output Only] Aggregate status for a module. # Name of the module.
+ "healthCheckModuleStatus": { # [Output Only] The status of the HealthCheckModule, set for type HEALTH_CHECK.
+ "healthCheckUrl": "A String", # [Output Only] The HealthCheck URL.
+ },
+ "replicaPoolModuleStatus": { # [Output Only] The status of the ReplicaPoolModule, set for type VM.
+ "resourceViewUrl": "A String", # [Output Only] The URL of the Resource Group associated with this ReplicaPool.
+ "replicaPoolUrl": "A String", # [Output Only] The URL of the associated ReplicaPool resource.
+ },
+ "networkModuleStatus": { # [Output Only] The status of the NetworkModule, set for type NETWORK.
+ "networkUrl": "A String", # [Output Only] The URL of the corresponding Network resource.
+ },
+ "state": { # [Output Only] The current state of a replica or module. # [Output Only] The current state of the module.
+ "status": "A String", # [Output Only] The status of the deployment. Possible values include:
+ # - UNKNOWN
+ # - DEPLOYING
+ # - DEPLOYED
+ # - DEPLOYMENT_FAILED
+ # - DELETING
+ # - DELETED
+ # - DELETE_FAILED
+ "details": "A String", # [Output Only] Human readable details about the current state.
+ },
+ "autoscalingModuleStatus": { # [Output Only] The status of the AutoscalingModule, set for type AUTOSCALING.
+ "autoscalingConfigUrl": "A String", # [Output Only] The URL of the corresponding Autoscaling configuration.
+ },
+ "firewallModuleStatus": { # [Output Only] The status of the FirewallModule, set for type FIREWALL.
+ "firewallUrl": "A String", # [Output Only] The URL of the corresponding Firewall resource.
+ },
+ "type": "A String", # [Output Only] The type of the module.
+ "lbModuleStatus": { # [Output Only] The status of the LbModule, set for type LOAD_BALANCING.
+ "forwardingRuleUrl": "A String", # [Output Only] The URL of the corresponding ForwardingRule in GCE.
+ "targetPoolUrl": "A String", # [Output Only] The URL of the corresponding TargetPool resource in GCE.
+ },
+ },
+ },
+ "state": { # [Output Only] The current state of a replica or module. # [Output Only] Current status of this deployment.
+ "status": "A String", # [Output Only] The status of the deployment. Possible values include:
+ # - UNKNOWN
+ # - DEPLOYING
+ # - DEPLOYED
+ # - DEPLOYMENT_FAILED
+ # - DELETING
+ # - DELETED
+ # - DELETE_FAILED
+ "details": "A String", # [Output Only] Human readable details about the current state.
+ },
+ "creationDate": "A String", # [Output Only] The time when this deployment was created.
+ "name": "A String", # Name of this deployment. The name must conform to the following regular expression: [a-zA-Z0-9-_]{1,64}
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # A deployment represents a physical instantiation of a Template.
+ "description": "A String", # A user-supplied description of this Deployment.
+ "templateName": "A String", # The name of the Template on which this deployment is based.
+ "overrides": [ # The set of parameter overrides to apply to the corresponding Template before deploying.
+ { # A specification for overriding parameters in a Template that corresponds to the Deployment.
+ "path": "A String", # A JSON Path expression that specifies which parameter should be overridden.
+ "value": "A String", # The new value to assign to the overridden parameter.
+ },
+ ],
+ "modules": { # [Output Only] List of status for the modules in this deployment.
+ "a_key": { # [Output Only] Aggregate status for a module. # Name of the module.
+ "healthCheckModuleStatus": { # [Output Only] The status of the HealthCheckModule, set for type HEALTH_CHECK.
+ "healthCheckUrl": "A String", # [Output Only] The HealthCheck URL.
+ },
+ "replicaPoolModuleStatus": { # [Output Only] The status of the ReplicaPoolModule, set for type VM.
+ "resourceViewUrl": "A String", # [Output Only] The URL of the Resource Group associated with this ReplicaPool.
+ "replicaPoolUrl": "A String", # [Output Only] The URL of the associated ReplicaPool resource.
+ },
+ "networkModuleStatus": { # [Output Only] The status of the NetworkModule, set for type NETWORK.
+ "networkUrl": "A String", # [Output Only] The URL of the corresponding Network resource.
+ },
+ "state": { # [Output Only] The current state of a replica or module. # [Output Only] The current state of the module.
+ "status": "A String", # [Output Only] The status of the deployment. Possible values include:
+ # - UNKNOWN
+ # - DEPLOYING
+ # - DEPLOYED
+ # - DEPLOYMENT_FAILED
+ # - DELETING
+ # - DELETED
+ # - DELETE_FAILED
+ "details": "A String", # [Output Only] Human readable details about the current state.
+ },
+ "autoscalingModuleStatus": { # [Output Only] The status of the AutoscalingModule, set for type AUTOSCALING.
+ "autoscalingConfigUrl": "A String", # [Output Only] The URL of the corresponding Autoscaling configuration.
+ },
+ "firewallModuleStatus": { # [Output Only] The status of the FirewallModule, set for type FIREWALL.
+ "firewallUrl": "A String", # [Output Only] The URL of the corresponding Firewall resource.
+ },
+ "type": "A String", # [Output Only] The type of the module.
+ "lbModuleStatus": { # [Output Only] The status of the LbModule, set for type LOAD_BALANCING.
+ "forwardingRuleUrl": "A String", # [Output Only] The URL of the corresponding ForwardingRule in GCE.
+ "targetPoolUrl": "A String", # [Output Only] The URL of the corresponding TargetPool resource in GCE.
+ },
+ },
+ },
+ "state": { # [Output Only] The current state of a replica or module. # [Output Only] Current status of this deployment.
+ "status": "A String", # [Output Only] The status of the deployment. Possible values include:
+ # - UNKNOWN
+ # - DEPLOYING
+ # - DEPLOYED
+ # - DEPLOYMENT_FAILED
+ # - DELETING
+ # - DELETED
+ # - DELETE_FAILED
+ "details": "A String", # [Output Only] Human readable details about the current state.
+ },
+ "creationDate": "A String", # [Output Only] The time when this deployment was created.
+ "name": "A String", # Name of this deployment. The name must conform to the following regular expression: [a-zA-Z0-9-_]{1,64}
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(projectId, region, pageToken=None, maxResults=None)</code>
+ <pre>
+
+Args:
+ projectId: string, A parameter (required)
+ region: string, A parameter (required)
+ pageToken: string, Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
+ maxResults: integer, Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: 50)
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "resources": [
+ { # A deployment represents a physical instantiation of a Template.
+ "description": "A String", # A user-supplied description of this Deployment.
+ "templateName": "A String", # The name of the Template on which this deployment is based.
+ "overrides": [ # The set of parameter overrides to apply to the corresponding Template before deploying.
+ { # A specification for overriding parameters in a Template that corresponds to the Deployment.
+ "path": "A String", # A JSON Path expression that specifies which parameter should be overridden.
+ "value": "A String", # The new value to assign to the overridden parameter.
+ },
+ ],
+ "modules": { # [Output Only] List of status for the modules in this deployment.
+ "a_key": { # [Output Only] Aggregate status for a module. # Name of the module.
+ "healthCheckModuleStatus": { # [Output Only] The status of the HealthCheckModule, set for type HEALTH_CHECK.
+ "healthCheckUrl": "A String", # [Output Only] The HealthCheck URL.
+ },
+ "replicaPoolModuleStatus": { # [Output Only] The status of the ReplicaPoolModule, set for type VM.
+ "resourceViewUrl": "A String", # [Output Only] The URL of the Resource Group associated with this ReplicaPool.
+ "replicaPoolUrl": "A String", # [Output Only] The URL of the associated ReplicaPool resource.
+ },
+ "networkModuleStatus": { # [Output Only] The status of the NetworkModule, set for type NETWORK.
+ "networkUrl": "A String", # [Output Only] The URL of the corresponding Network resource.
+ },
+ "state": { # [Output Only] The current state of a replica or module. # [Output Only] The current state of the module.
+ "status": "A String", # [Output Only] The status of the deployment. Possible values include:
+ # - UNKNOWN
+ # - DEPLOYING
+ # - DEPLOYED
+ # - DEPLOYMENT_FAILED
+ # - DELETING
+ # - DELETED
+ # - DELETE_FAILED
+ "details": "A String", # [Output Only] Human readable details about the current state.
+ },
+ "autoscalingModuleStatus": { # [Output Only] The status of the AutoscalingModule, set for type AUTOSCALING.
+ "autoscalingConfigUrl": "A String", # [Output Only] The URL of the corresponding Autoscaling configuration.
+ },
+ "firewallModuleStatus": { # [Output Only] The status of the FirewallModule, set for type FIREWALL.
+ "firewallUrl": "A String", # [Output Only] The URL of the corresponding Firewall resource.
+ },
+ "type": "A String", # [Output Only] The type of the module.
+ "lbModuleStatus": { # [Output Only] The status of the LbModule, set for type LOAD_BALANCING.
+ "forwardingRuleUrl": "A String", # [Output Only] The URL of the corresponding ForwardingRule in GCE.
+ "targetPoolUrl": "A String", # [Output Only] The URL of the corresponding TargetPool resource in GCE.
+ },
+ },
+ },
+ "state": { # [Output Only] The current state of a replica or module. # [Output Only] Current status of this deployment.
+ "status": "A String", # [Output Only] The status of the deployment. Possible values include:
+ # - UNKNOWN
+ # - DEPLOYING
+ # - DEPLOYED
+ # - DEPLOYMENT_FAILED
+ # - DELETING
+ # - DELETED
+ # - DELETE_FAILED
+ "details": "A String", # [Output Only] Human readable details about the current state.
+ },
+ "creationDate": "A String", # [Output Only] The time when this deployment was created.
+ "name": "A String", # Name of this deployment. The name must conform to the following regular expression: [a-zA-Z0-9-_]{1,64}
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/manager_v1beta2.html b/docs/dyn/manager_v1beta2.html
new file mode 100644
index 0000000..f8fbc2d
--- /dev/null
+++ b/docs/dyn/manager_v1beta2.html
@@ -0,0 +1,87 @@
+<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="manager_v1beta2.html">Deployment Manager API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="manager_v1beta2.deployments.html">deployments()</a></code>
+</p>
+<p class="firstline">Returns the deployments Resource.</p>
+
+<p class="toc_element">
+ <code><a href="manager_v1beta2.templates.html">templates()</a></code>
+</p>
+<p class="firstline">Returns the templates Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/manager_v1beta2.templates.html b/docs/dyn/manager_v1beta2.templates.html
new file mode 100644
index 0000000..0579ddb
--- /dev/null
+++ b/docs/dyn/manager_v1beta2.templates.html
@@ -0,0 +1,801 @@
+<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="manager_v1beta2.html">Deployment Manager API</a> . <a href="manager_v1beta2.templates.html">templates</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(projectId, templateName)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#get">get(projectId, templateName)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#insert">insert(projectId, body)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#list">list(projectId, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline"></p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(projectId, templateName)</code>
+ <pre>
+
+Args:
+ projectId: string, A parameter (required)
+ templateName: string, A parameter (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(projectId, templateName)</code>
+ <pre>
+
+Args:
+ projectId: string, A parameter (required)
+ templateName: string, A parameter (required)
+
+Returns:
+ An object of the form:
+
+ { # A Template represents a complete configuration for a Deployment.
+ "modules": { # A list of modules for this Template.
+ "a_key": { # A module in a configuration. A module represents a single homogeneous, possibly replicated task. # Name of the module. The name must conform to the following regular expression: [a-zA-Z0-9-_]{1,64}
+ "lbModule": {
+ "description": "A String",
+ "portRange": "A String",
+ "ipProtocol": "A String",
+ "healthChecks": [
+ "A String",
+ ],
+ "ipAddress": "A String",
+ "targetModules": [
+ "A String",
+ ],
+ },
+ "networkModule": {
+ "IPv4Range": "A String", # Required; The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16.
+ "gatewayIPv4": "A String", # An optional address that is used for default routing to other networks. This must be within the range specified by IPv4Range, and is typicall the first usable address in that range. If not specified, the default value is the first usable address in IPv4Range.
+ "description": "A String", # The description of the network.
+ },
+ "firewallModule": { # A Firewall resource
+ "network": "A String", # The NetworkModule to which this firewall should apply. If not specified, or if specified as 'default', this firewall will be applied to the 'default' network.
+ "sourceTags": [ # Source Tags to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "sourceRanges": [ # Source IP ranges to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "targetTags": [ # Target Tags to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "allowed": [ # The allowed ports or port ranges.
+ { # An allowed port resource.
+ "IPProtocol": "A String", # ?tcp?, ?udp? or ?icmp?
+ "ports": [ # List of ports or port ranges (Example inputs include: ["22"], [?33?, "12345-12349"].
+ "A String",
+ ],
+ },
+ ],
+ "description": "A String", # The description of the firewall (optional)
+ },
+ "healthCheckModule": {
+ "description": "A String",
+ "timeoutSec": 42,
+ "checkIntervalSec": 42,
+ "unhealthyThreshold": 42,
+ "healthyThreshold": 42,
+ "host": "A String",
+ "path": "A String",
+ "port": 42,
+ },
+ "autoscalingModule": {
+ "maxNumReplicas": 42,
+ "description": "A String",
+ "targetModule": "A String",
+ "targetUtilization": 3.14, # target_utilization should be in range [0,1].
+ "signalType": "A String",
+ "coolDownPeriodSec": 42,
+ "minNumReplicas": 42,
+ },
+ "replicaPoolModule": {
+ "numReplicas": 42, # Number of replicas in this module.
+ "healthChecks": [ # The Health Checks to configure for the ReplicaPoolModule
+ "A String",
+ ],
+ "resourceView": "A String", # [Output Only] The name of the Resource View associated with a ReplicaPoolModule. This field will be generated by the service.
+ "envVariables": { # A list of environment variables.
+ "a_key": { # An environment variable. # Name of the environment variable. The name must conform to the following regular expression: [a-zA-Z_]+[a-zA-Z0-9_]+.
+ "hidden": True or False, # Whether this variable is hidden or visible.
+ "value": "A String", # Value of the environment variable.
+ },
+ },
+ "replicaPoolParams": { # Configuration information for a ReplicaPools resource. Specifying an item within will determine the ReplicaPools API version used for a ReplicaPoolModule. Only one may be specified. # Information for a ReplicaPoolModule.
+ "v1beta1": { # Configuration information for a ReplicaPools v1beta1 API resource. Directly maps to ReplicaPool InitTemplate. # ReplicaPoolParams specifications for use with ReplicaPools v1beta1.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<five_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The fully-qualified URL of a source image to use to create this disk.
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # How to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted.
+ },
+ ],
+ "autoRestart": True or False, # Whether these replicas should be restarted if they experience a failure. The default value is true.
+ "canIpForward": True or False, # Enables IP Forwarding
+ "description": "A String", # An optional textual description of the resource.
+ "zone": "A String", # The zone for this ReplicaPool.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool.
+ "source": "A String", # The fully-qualified URL of the Persistent Disk resource. It must be in the same zone as the Pool.
+ "attachment": { # How to attach a disk to a Replica. # Optional. How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. Either a complete URL, or the resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # The base name for instances within this ReplicaPool.
+ "initAction": "A String", # Name of the Action to be run during initialization of a ReplicaPoolModule.
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. (Currently only ONE_TO_ONE_NAT is legal.)
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "name": "A String", # Name of the interface.
+ "network": "A String", # The name of the NetworkModule to which this interface applies. If not specified, or specified as 'default', this will use the 'default' network.
+ },
+ ],
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # List of OAuth2 scopes to obtain for the service account.
+ "A String",
+ ],
+ "email": "A String", # Service account email address.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this module. Valid values ("AUTOSCALING", "FIREWALL", "HEALTH_CHECK", "LOAD_BALANCING", "NETWORK", "REPLICA_POOL")
+ },
+ },
+ "description": "A String", # A user-supplied description of this Template.
+ "actions": { # Action definitions for use in Module intents in this Template.
+ "a_key": { # An Action encapsulates a set of commands as a single runnable module with additional information needed during run-time. # The name of this action, used when specifying Actions in Module definitions.
+ "timeoutMs": 42, # The timeout in milliseconds for this action to run.
+ "commands": [ # A list of commands to run sequentially for this action.
+ "A String",
+ ],
+ },
+ },
+ "name": "A String", # Name of this Template. The name must conform to the expression: [a-zA-Z0-9-_]{1,64}
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(projectId, body)</code>
+ <pre>
+
+Args:
+ projectId: string, A parameter (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Template represents a complete configuration for a Deployment.
+ "modules": { # A list of modules for this Template.
+ "a_key": { # A module in a configuration. A module represents a single homogeneous, possibly replicated task. # Name of the module. The name must conform to the following regular expression: [a-zA-Z0-9-_]{1,64}
+ "lbModule": {
+ "description": "A String",
+ "portRange": "A String",
+ "ipProtocol": "A String",
+ "healthChecks": [
+ "A String",
+ ],
+ "ipAddress": "A String",
+ "targetModules": [
+ "A String",
+ ],
+ },
+ "networkModule": {
+ "IPv4Range": "A String", # Required; The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16.
+ "gatewayIPv4": "A String", # An optional address that is used for default routing to other networks. This must be within the range specified by IPv4Range, and is typicall the first usable address in that range. If not specified, the default value is the first usable address in IPv4Range.
+ "description": "A String", # The description of the network.
+ },
+ "firewallModule": { # A Firewall resource
+ "network": "A String", # The NetworkModule to which this firewall should apply. If not specified, or if specified as 'default', this firewall will be applied to the 'default' network.
+ "sourceTags": [ # Source Tags to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "sourceRanges": [ # Source IP ranges to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "targetTags": [ # Target Tags to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "allowed": [ # The allowed ports or port ranges.
+ { # An allowed port resource.
+ "IPProtocol": "A String", # ?tcp?, ?udp? or ?icmp?
+ "ports": [ # List of ports or port ranges (Example inputs include: ["22"], [?33?, "12345-12349"].
+ "A String",
+ ],
+ },
+ ],
+ "description": "A String", # The description of the firewall (optional)
+ },
+ "healthCheckModule": {
+ "description": "A String",
+ "timeoutSec": 42,
+ "checkIntervalSec": 42,
+ "unhealthyThreshold": 42,
+ "healthyThreshold": 42,
+ "host": "A String",
+ "path": "A String",
+ "port": 42,
+ },
+ "autoscalingModule": {
+ "maxNumReplicas": 42,
+ "description": "A String",
+ "targetModule": "A String",
+ "targetUtilization": 3.14, # target_utilization should be in range [0,1].
+ "signalType": "A String",
+ "coolDownPeriodSec": 42,
+ "minNumReplicas": 42,
+ },
+ "replicaPoolModule": {
+ "numReplicas": 42, # Number of replicas in this module.
+ "healthChecks": [ # The Health Checks to configure for the ReplicaPoolModule
+ "A String",
+ ],
+ "resourceView": "A String", # [Output Only] The name of the Resource View associated with a ReplicaPoolModule. This field will be generated by the service.
+ "envVariables": { # A list of environment variables.
+ "a_key": { # An environment variable. # Name of the environment variable. The name must conform to the following regular expression: [a-zA-Z_]+[a-zA-Z0-9_]+.
+ "hidden": True or False, # Whether this variable is hidden or visible.
+ "value": "A String", # Value of the environment variable.
+ },
+ },
+ "replicaPoolParams": { # Configuration information for a ReplicaPools resource. Specifying an item within will determine the ReplicaPools API version used for a ReplicaPoolModule. Only one may be specified. # Information for a ReplicaPoolModule.
+ "v1beta1": { # Configuration information for a ReplicaPools v1beta1 API resource. Directly maps to ReplicaPool InitTemplate. # ReplicaPoolParams specifications for use with ReplicaPools v1beta1.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<five_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The fully-qualified URL of a source image to use to create this disk.
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # How to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted.
+ },
+ ],
+ "autoRestart": True or False, # Whether these replicas should be restarted if they experience a failure. The default value is true.
+ "canIpForward": True or False, # Enables IP Forwarding
+ "description": "A String", # An optional textual description of the resource.
+ "zone": "A String", # The zone for this ReplicaPool.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool.
+ "source": "A String", # The fully-qualified URL of the Persistent Disk resource. It must be in the same zone as the Pool.
+ "attachment": { # How to attach a disk to a Replica. # Optional. How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. Either a complete URL, or the resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # The base name for instances within this ReplicaPool.
+ "initAction": "A String", # Name of the Action to be run during initialization of a ReplicaPoolModule.
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. (Currently only ONE_TO_ONE_NAT is legal.)
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "name": "A String", # Name of the interface.
+ "network": "A String", # The name of the NetworkModule to which this interface applies. If not specified, or specified as 'default', this will use the 'default' network.
+ },
+ ],
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # List of OAuth2 scopes to obtain for the service account.
+ "A String",
+ ],
+ "email": "A String", # Service account email address.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this module. Valid values ("AUTOSCALING", "FIREWALL", "HEALTH_CHECK", "LOAD_BALANCING", "NETWORK", "REPLICA_POOL")
+ },
+ },
+ "description": "A String", # A user-supplied description of this Template.
+ "actions": { # Action definitions for use in Module intents in this Template.
+ "a_key": { # An Action encapsulates a set of commands as a single runnable module with additional information needed during run-time. # The name of this action, used when specifying Actions in Module definitions.
+ "timeoutMs": 42, # The timeout in milliseconds for this action to run.
+ "commands": [ # A list of commands to run sequentially for this action.
+ "A String",
+ ],
+ },
+ },
+ "name": "A String", # Name of this Template. The name must conform to the expression: [a-zA-Z0-9-_]{1,64}
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # A Template represents a complete configuration for a Deployment.
+ "modules": { # A list of modules for this Template.
+ "a_key": { # A module in a configuration. A module represents a single homogeneous, possibly replicated task. # Name of the module. The name must conform to the following regular expression: [a-zA-Z0-9-_]{1,64}
+ "lbModule": {
+ "description": "A String",
+ "portRange": "A String",
+ "ipProtocol": "A String",
+ "healthChecks": [
+ "A String",
+ ],
+ "ipAddress": "A String",
+ "targetModules": [
+ "A String",
+ ],
+ },
+ "networkModule": {
+ "IPv4Range": "A String", # Required; The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16.
+ "gatewayIPv4": "A String", # An optional address that is used for default routing to other networks. This must be within the range specified by IPv4Range, and is typicall the first usable address in that range. If not specified, the default value is the first usable address in IPv4Range.
+ "description": "A String", # The description of the network.
+ },
+ "firewallModule": { # A Firewall resource
+ "network": "A String", # The NetworkModule to which this firewall should apply. If not specified, or if specified as 'default', this firewall will be applied to the 'default' network.
+ "sourceTags": [ # Source Tags to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "sourceRanges": [ # Source IP ranges to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "targetTags": [ # Target Tags to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "allowed": [ # The allowed ports or port ranges.
+ { # An allowed port resource.
+ "IPProtocol": "A String", # ?tcp?, ?udp? or ?icmp?
+ "ports": [ # List of ports or port ranges (Example inputs include: ["22"], [?33?, "12345-12349"].
+ "A String",
+ ],
+ },
+ ],
+ "description": "A String", # The description of the firewall (optional)
+ },
+ "healthCheckModule": {
+ "description": "A String",
+ "timeoutSec": 42,
+ "checkIntervalSec": 42,
+ "unhealthyThreshold": 42,
+ "healthyThreshold": 42,
+ "host": "A String",
+ "path": "A String",
+ "port": 42,
+ },
+ "autoscalingModule": {
+ "maxNumReplicas": 42,
+ "description": "A String",
+ "targetModule": "A String",
+ "targetUtilization": 3.14, # target_utilization should be in range [0,1].
+ "signalType": "A String",
+ "coolDownPeriodSec": 42,
+ "minNumReplicas": 42,
+ },
+ "replicaPoolModule": {
+ "numReplicas": 42, # Number of replicas in this module.
+ "healthChecks": [ # The Health Checks to configure for the ReplicaPoolModule
+ "A String",
+ ],
+ "resourceView": "A String", # [Output Only] The name of the Resource View associated with a ReplicaPoolModule. This field will be generated by the service.
+ "envVariables": { # A list of environment variables.
+ "a_key": { # An environment variable. # Name of the environment variable. The name must conform to the following regular expression: [a-zA-Z_]+[a-zA-Z0-9_]+.
+ "hidden": True or False, # Whether this variable is hidden or visible.
+ "value": "A String", # Value of the environment variable.
+ },
+ },
+ "replicaPoolParams": { # Configuration information for a ReplicaPools resource. Specifying an item within will determine the ReplicaPools API version used for a ReplicaPoolModule. Only one may be specified. # Information for a ReplicaPoolModule.
+ "v1beta1": { # Configuration information for a ReplicaPools v1beta1 API resource. Directly maps to ReplicaPool InitTemplate. # ReplicaPoolParams specifications for use with ReplicaPools v1beta1.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<five_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The fully-qualified URL of a source image to use to create this disk.
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # How to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted.
+ },
+ ],
+ "autoRestart": True or False, # Whether these replicas should be restarted if they experience a failure. The default value is true.
+ "canIpForward": True or False, # Enables IP Forwarding
+ "description": "A String", # An optional textual description of the resource.
+ "zone": "A String", # The zone for this ReplicaPool.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool.
+ "source": "A String", # The fully-qualified URL of the Persistent Disk resource. It must be in the same zone as the Pool.
+ "attachment": { # How to attach a disk to a Replica. # Optional. How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. Either a complete URL, or the resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # The base name for instances within this ReplicaPool.
+ "initAction": "A String", # Name of the Action to be run during initialization of a ReplicaPoolModule.
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. (Currently only ONE_TO_ONE_NAT is legal.)
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "name": "A String", # Name of the interface.
+ "network": "A String", # The name of the NetworkModule to which this interface applies. If not specified, or specified as 'default', this will use the 'default' network.
+ },
+ ],
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # List of OAuth2 scopes to obtain for the service account.
+ "A String",
+ ],
+ "email": "A String", # Service account email address.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this module. Valid values ("AUTOSCALING", "FIREWALL", "HEALTH_CHECK", "LOAD_BALANCING", "NETWORK", "REPLICA_POOL")
+ },
+ },
+ "description": "A String", # A user-supplied description of this Template.
+ "actions": { # Action definitions for use in Module intents in this Template.
+ "a_key": { # An Action encapsulates a set of commands as a single runnable module with additional information needed during run-time. # The name of this action, used when specifying Actions in Module definitions.
+ "timeoutMs": 42, # The timeout in milliseconds for this action to run.
+ "commands": [ # A list of commands to run sequentially for this action.
+ "A String",
+ ],
+ },
+ },
+ "name": "A String", # Name of this Template. The name must conform to the expression: [a-zA-Z0-9-_]{1,64}
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(projectId, pageToken=None, maxResults=None)</code>
+ <pre>
+
+Args:
+ projectId: string, A parameter (required)
+ pageToken: string, Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
+ maxResults: integer, Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: 50)
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "resources": [
+ { # A Template represents a complete configuration for a Deployment.
+ "modules": { # A list of modules for this Template.
+ "a_key": { # A module in a configuration. A module represents a single homogeneous, possibly replicated task. # Name of the module. The name must conform to the following regular expression: [a-zA-Z0-9-_]{1,64}
+ "lbModule": {
+ "description": "A String",
+ "portRange": "A String",
+ "ipProtocol": "A String",
+ "healthChecks": [
+ "A String",
+ ],
+ "ipAddress": "A String",
+ "targetModules": [
+ "A String",
+ ],
+ },
+ "networkModule": {
+ "IPv4Range": "A String", # Required; The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16.
+ "gatewayIPv4": "A String", # An optional address that is used for default routing to other networks. This must be within the range specified by IPv4Range, and is typicall the first usable address in that range. If not specified, the default value is the first usable address in IPv4Range.
+ "description": "A String", # The description of the network.
+ },
+ "firewallModule": { # A Firewall resource
+ "network": "A String", # The NetworkModule to which this firewall should apply. If not specified, or if specified as 'default', this firewall will be applied to the 'default' network.
+ "sourceTags": [ # Source Tags to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "sourceRanges": [ # Source IP ranges to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "targetTags": [ # Target Tags to apply this firewall to, see the GCE Spec for details on syntax
+ "A String",
+ ],
+ "allowed": [ # The allowed ports or port ranges.
+ { # An allowed port resource.
+ "IPProtocol": "A String", # ?tcp?, ?udp? or ?icmp?
+ "ports": [ # List of ports or port ranges (Example inputs include: ["22"], [?33?, "12345-12349"].
+ "A String",
+ ],
+ },
+ ],
+ "description": "A String", # The description of the firewall (optional)
+ },
+ "healthCheckModule": {
+ "description": "A String",
+ "timeoutSec": 42,
+ "checkIntervalSec": 42,
+ "unhealthyThreshold": 42,
+ "healthyThreshold": 42,
+ "host": "A String",
+ "path": "A String",
+ "port": 42,
+ },
+ "autoscalingModule": {
+ "maxNumReplicas": 42,
+ "description": "A String",
+ "targetModule": "A String",
+ "targetUtilization": 3.14, # target_utilization should be in range [0,1].
+ "signalType": "A String",
+ "coolDownPeriodSec": 42,
+ "minNumReplicas": 42,
+ },
+ "replicaPoolModule": {
+ "numReplicas": 42, # Number of replicas in this module.
+ "healthChecks": [ # The Health Checks to configure for the ReplicaPoolModule
+ "A String",
+ ],
+ "resourceView": "A String", # [Output Only] The name of the Resource View associated with a ReplicaPoolModule. This field will be generated by the service.
+ "envVariables": { # A list of environment variables.
+ "a_key": { # An environment variable. # Name of the environment variable. The name must conform to the following regular expression: [a-zA-Z_]+[a-zA-Z0-9_]+.
+ "hidden": True or False, # Whether this variable is hidden or visible.
+ "value": "A String", # Value of the environment variable.
+ },
+ },
+ "replicaPoolParams": { # Configuration information for a ReplicaPools resource. Specifying an item within will determine the ReplicaPools API version used for a ReplicaPoolModule. Only one may be specified. # Information for a ReplicaPoolModule.
+ "v1beta1": { # Configuration information for a ReplicaPools v1beta1 API resource. Directly maps to ReplicaPool InitTemplate. # ReplicaPoolParams specifications for use with ReplicaPools v1beta1.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<five_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The fully-qualified URL of a source image to use to create this disk.
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # How to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted.
+ },
+ ],
+ "autoRestart": True or False, # Whether these replicas should be restarted if they experience a failure. The default value is true.
+ "canIpForward": True or False, # Enables IP Forwarding
+ "description": "A String", # An optional textual description of the resource.
+ "zone": "A String", # The zone for this ReplicaPool.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool.
+ "source": "A String", # The fully-qualified URL of the Persistent Disk resource. It must be in the same zone as the Pool.
+ "attachment": { # How to attach a disk to a Replica. # Optional. How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. Either a complete URL, or the resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # The base name for instances within this ReplicaPool.
+ "initAction": "A String", # Name of the Action to be run during initialization of a ReplicaPoolModule.
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. (Currently only ONE_TO_ONE_NAT is legal.)
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "name": "A String", # Name of the interface.
+ "network": "A String", # The name of the NetworkModule to which this interface applies. If not specified, or specified as 'default', this will use the 'default' network.
+ },
+ ],
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # List of OAuth2 scopes to obtain for the service account.
+ "A String",
+ ],
+ "email": "A String", # Service account email address.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this module. Valid values ("AUTOSCALING", "FIREWALL", "HEALTH_CHECK", "LOAD_BALANCING", "NETWORK", "REPLICA_POOL")
+ },
+ },
+ "description": "A String", # A user-supplied description of this Template.
+ "actions": { # Action definitions for use in Module intents in this Template.
+ "a_key": { # An Action encapsulates a set of commands as a single runnable module with additional information needed during run-time. # The name of this action, used when specifying Actions in Module definitions.
+ "timeoutMs": 42, # The timeout in milliseconds for this action to run.
+ "commands": [ # A list of commands to run sequentially for this action.
+ "A String",
+ ],
+ },
+ },
+ "name": "A String", # Name of this Template. The name must conform to the expression: [a-zA-Z0-9-_]{1,64}
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/mapsengine_v1.assets.html b/docs/dyn/mapsengine_v1.assets.html
index 79dbb26..4df1b5a 100644
--- a/docs/dyn/mapsengine_v1.assets.html
+++ b/docs/dyn/mapsengine_v1.assets.html
@@ -83,7 +83,7 @@
<code><a href="#get">get(id)</a></code></p>
<p class="firstline">Return metadata for a particular asset.</p>
<p class="toc_element">
- <code><a href="#list">list(modifiedAfter=None, createdAfter=None, type=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
+ <code><a href="#list">list(modifiedBefore=None, createdBefore=None, projectId=None, pageToken=None, type=None, createdAfter=None, tags=None, maxResults=None, bbox=None, modifiedAfter=None, creatorEmail=None)</a></code></p>
<p class="firstline">Return all assets readable by the current user.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -103,42 +103,44 @@
#
# More detailed information about an asset can be obtained by querying the asset's particular endpoint.
"resource": "A String", # The URL to query to retrieve the asset's complete object. The assets endpoint only returns high-level information about a resource.
- "name": "A String", # The asset's name.
+ "description": "A String", # The asset's description.
"tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
"A String",
],
"projectId": "A String", # The ID of the project to which the asset belongs.
"creationTime": "A String", # The creation time of this asset. The value is an RFC 3339-formatted date-time value (for example, 1970-01-01T00:00:00Z).
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this asset. The numbers represent latitude and longitude in decimal degrees.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this asset. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
"lastModifiedTime": "A String", # The last modified time of this asset. The value is an RFC 3339-formatted date-time value (for example, 1970-01-01T00:00:00Z).
"type": "A String", # The type of asset. One of raster, rasterCollection, table, map, or layer.
"id": "A String", # The asset's globally unique ID.
- "description": "A String", # The asset's description.
+ "name": "A String", # The asset's name.
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, type=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
+ <code class="details" id="list">list(modifiedBefore=None, createdBefore=None, projectId=None, pageToken=None, type=None, createdAfter=None, tags=None, maxResults=None, bbox=None, modifiedAfter=None, creatorEmail=None)</code>
<pre>Return all assets readable by the current user.
Args:
- modifiedAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
- createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
+ modifiedBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.
+ createdBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.
+ projectId: string, The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
type: string, An asset type restriction. If set, only resources of this type will be returned.
Allowed values
layer - Return layers.
map - Return maps.
rasterCollection - Return raster collections.
table - Return tables.
- pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
- projectId: string, The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
+ tags: string, A comma separated list of tags. Returned assets will contain all the tags from the list.
maxResults: integer, The maximum number of items to include in a single response page. The maximum supported value is 100.
- createdBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.
bbox: string, A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
+ modifiedAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
creatorEmail: string, An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
- modifiedBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.
Returns:
An object of the form:
@@ -150,19 +152,20 @@
#
# More detailed information about an asset can be obtained by querying the asset's particular endpoint.
"resource": "A String", # The URL to query to retrieve the asset's complete object. The assets endpoint only returns high-level information about a resource.
- "name": "A String", # The asset's name.
+ "description": "A String", # The asset's description.
"tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
"A String",
],
"projectId": "A String", # The ID of the project to which the asset belongs.
"creationTime": "A String", # The creation time of this asset. The value is an RFC 3339-formatted date-time value (for example, 1970-01-01T00:00:00Z).
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this asset. The numbers represent latitude and longitude in decimal degrees.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this asset. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
"lastModifiedTime": "A String", # The last modified time of this asset. The value is an RFC 3339-formatted date-time value (for example, 1970-01-01T00:00:00Z).
"type": "A String", # The type of asset. One of raster, rasterCollection, table, map, or layer.
"id": "A String", # The asset's globally unique ID.
- "description": "A String", # The asset's description.
+ "name": "A String", # The asset's name.
},
],
}</pre>
diff --git a/docs/dyn/mapsengine_v1.assets.parents.html b/docs/dyn/mapsengine_v1.assets.parents.html
index 2fbab5c..bd98ae6 100644
--- a/docs/dyn/mapsengine_v1.assets.parents.html
+++ b/docs/dyn/mapsengine_v1.assets.parents.html
@@ -95,7 +95,7 @@
{ # The response returned by a call to parents.List.
"nextPageToken": "A String", # Next page token.
- "parents": [ # Resources returned.
+ "parents": [ # The parent assets.
{ # A list of the parents of an asset.
"id": "A String", # The ID of this parent.
},
diff --git a/docs/dyn/mapsengine_v1.layers.html b/docs/dyn/mapsengine_v1.layers.html
index 15f8b26..6a27876 100644
--- a/docs/dyn/mapsengine_v1.layers.html
+++ b/docs/dyn/mapsengine_v1.layers.html
@@ -80,25 +80,51 @@
<p class="firstline">Returns the parents Resource.</p>
<p class="toc_element">
+ <code><a href="#cancelProcessing">cancelProcessing(id)</a></code></p>
+<p class="firstline">Cancel processing on a layer asset.</p>
+<p class="toc_element">
<code><a href="#create">create(body, process=None)</a></code></p>
<p class="firstline">Create a layer asset.</p>
<p class="toc_element">
+ <code><a href="#delete">delete(id)</a></code></p>
+<p class="firstline">Delete a layer.</p>
+<p class="toc_element">
<code><a href="#get">get(id, version=None)</a></code></p>
<p class="firstline">Return metadata for a particular layer.</p>
<p class="toc_element">
- <code><a href="#list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
+ <code><a href="#list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
<p class="firstline">Return all layers readable by the current user.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
+ <code><a href="#patch">patch(id, body)</a></code></p>
+<p class="firstline">Mutate a layer asset.</p>
+<p class="toc_element">
<code><a href="#process">process(id)</a></code></p>
<p class="firstline">Process a layer asset.</p>
<p class="toc_element">
<code><a href="#publish">publish(id)</a></code></p>
<p class="firstline">Publish a layer asset.</p>
+<p class="toc_element">
+ <code><a href="#unpublish">unpublish(id)</a></code></p>
+<p class="firstline">Unpublish a layer asset.</p>
<h3>Method Details</h3>
<div class="method">
+ <code class="details" id="cancelProcessing">cancelProcessing(id)</code>
+ <pre>Cancel processing on a layer asset.
+
+Args:
+ id: string, The ID of the layer. (required)
+
+Returns:
+ An object of the form:
+
+ { # The response returned by a call to any asset's Process method.
+ }</pre>
+</div>
+
+<div class="method">
<code class="details" id="create">create(body, process=None)</code>
<pre>Create a layer asset.
@@ -107,12 +133,120 @@
The object takes the form of:
{ # A Layer combines multiple datasources, with styling information, for presentation on a map.
+ "style": { # A vector style contains styling information for vector layer. # The Styling information for a vector layer.
+ "featureInfo": { # A feature info contains information about individual feature. # Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.
+ "content": "A String", # HTML template of the info window. If not provided, a default template with all attributes will be generated.
+ },
+ "type": "A String", # The type of the vector style. Currently, only displayRule is supported.
+ "displayRules": [
+ { # A display rule of the vector style.
+ "pointOptions": { # Style for points. # Style applied to points. Required for Point Geometry.
+ "label": { # Text label style. # Label style for the point.
+ "opacity": 3.14, # Opacity of the text.
+ "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
+ "outline": { # Basic color used in styling. # Outline color of the text.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
+ "color": "A String", # Color of the text. If not provided, default to black.
+ "column": "A String", # The column value of the feature to be displayed.
+ "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
+ },
+ "icon": { # Style for icon, this is part of point style. # Icon for the point; if it isn't null, exactly one field in 'icon' must be set.
+ "id": "A String", # Custom icon id.
+ "name": "A String", # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon names for valid icon names. For example, to specify small_red, set name to 'gx_small_red'.
+ },
+ },
+ "name": "A String", # Display rule name. Name is not unique and cannot be used for identification purpose.
+ "polygonOptions": { # Style for polygons. # Style applied to polygons. Required for Polygon Geometry.
+ "stroke": { # Border in line style. Both color and width are required. # Border of the polygon. 0 < border.width <= 10.
+ "color": "A String", # Color of the border.
+ "opacity": 3.14, # Opacity of the border.
+ "width": 3.14, # Width of the border, in pixels.
+ },
+ "fill": { # Basic color used in styling. # Fill color of the polygon. If not provided, the polygon will be transparent and not visible if there is no border.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ },
+ "lineOptions": { # Style for lines. # Style applied to lines. Required for LineString Geometry.
+ "dash": [ # Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap. If dash is not provided, then it means a solid line. Dash can contain up to 10 values and must contain even number of values.
+ 3.14,
+ ],
+ "stroke": { # Stroke of the line.
+ "color": "A String", # Color of the line.
+ "opacity": 3.14, # Opacity of the line.
+ "width": 3.14, # Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line will be invisible.
+ },
+ "border": { # Border in line style. Both color and width are required. # Border of the line. 0 < border.width <= 5.
+ "color": "A String", # Color of the border.
+ "opacity": 3.14, # Opacity of the border.
+ "width": 3.14, # Width of the border, in pixels.
+ },
+ "label": { # Text label style. # Label style for the line.
+ "opacity": 3.14, # Opacity of the text.
+ "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
+ "outline": { # Basic color used in styling. # Outline color of the text.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
+ "color": "A String", # Color of the text. If not provided, default to black.
+ "column": "A String", # The column value of the feature to be displayed.
+ "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
+ },
+ },
+ "zoomLevels": { # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. # The zoom levels that this display rule apply.
+ "max": 42, # Maximum zoom level.
+ "min": 42, # Minimum zoom level.
+ },
+ "filters": [ # This display rule will only be applied to features that match all of the filters here. If filters is empty, then the rule applies to all features.
+ { # Conditions for filtering features.
+ "column": "A String", # The column name to filter on.
+ "operator": "A String", # Operation used to evaluate the filter.
+ "value": "", # Value to be evaluated against attribute.
+ },
+ ],
+ },
+ ],
+ },
+ "description": "A String", # The description of this Layer, supplied by the author.
+ "processingStatus": "A String", # The processing status of this layer.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "datasourceType": "A String", # The type of the datasources used to build this Layer.
+ "tags": [ # Tags of this Layer.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "name": "A String", # The name of this Layer, supplied by the author.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Layer. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "projectId": "A String", # The ID of the project that this Layer is in.
+ "lastModifiedTime": "A String", # The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this Layer.
+ "datasources": [ # An array of datasources used to build this Layer. If datasourceType is "image", then each element in this array is a reference to an Image or RasterCollection. If datasourceType is "table" then each element in this array is a reference to a Vector Table.
+ {
+ "id": "A String", # The ID of a datasource.
+ },
+ ],
+}
+
+ process: boolean, Whether to queue the created layer for processing.
+
+Returns:
+ An object of the form:
+
+ { # A Layer combines multiple datasources, with styling information, for presentation on a map.
"style": { # A vector style contains styling information for vector layer. # The Styling information for a vector layer.
"featureInfo": { # A feature info contains information about individual feature. # Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.
"content": "A String", # HTML template of the info window. If not provided, a default template with all attributes will be generated.
},
"type": "A String", # The type of the vector style. Currently, only displayRule is supported.
- "displayRules": [ # Display rules of the vector style. The first matched rule will apply to the features. If no display rule is provided, a default display rule will be generated according to Geometry type.
+ "displayRules": [
{ # A display rule of the vector style.
"pointOptions": { # Style for points. # Style applied to points. Required for Point Geometry.
"label": { # Text label style. # Label style for the point.
@@ -127,7 +261,7 @@
"column": "A String", # The column value of the feature to be displayed.
"size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
},
- "icon": { # Style for icon, this is part of point style. # Icon for the point; exactly one field in 'icon' must be set.
+ "icon": { # Style for icon, this is part of point style. # Icon for the point; if it isn't null, exactly one field in 'icon' must be set.
"id": "A String", # Custom icon id.
"name": "A String", # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon names for valid icon names. For example, to specify small_red, set name to 'gx_small_red'.
},
@@ -187,133 +321,36 @@
},
"description": "A String", # The description of this Layer, supplied by the author.
"processingStatus": "A String", # The processing status of this layer.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "datasourceType": "A String", # The type of the datasources used to build this Layer. One of either "table" or "image".
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "datasourceType": "A String", # The type of the datasources used to build this Layer.
"tags": [ # Tags of this Layer.
"A String",
],
"creationTime": "A String", # The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"name": "A String", # The name of this Layer, supplied by the author.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Layer. The numbers represent latitudes and longitudes in decimal degrees.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Layer. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
"projectId": "A String", # The ID of the project that this Layer is in.
"lastModifiedTime": "A String", # The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
"id": "A String", # A globally unique ID, used to refer to this Layer.
"datasources": [ # An array of datasources used to build this Layer. If datasourceType is "image", then each element in this array is a reference to an Image or RasterCollection. If datasourceType is "table" then each element in this array is a reference to a Vector Table.
{
"id": "A String", # The ID of a datasource.
},
],
- }
+ }</pre>
+</div>
- process: boolean, Whether to queue the created layer for processing.
+<div class="method">
+ <code class="details" id="delete">delete(id)</code>
+ <pre>Delete a layer.
-Returns:
- An object of the form:
-
- { # A Layer combines multiple datasources, with styling information, for presentation on a map.
- "style": { # A vector style contains styling information for vector layer. # The Styling information for a vector layer.
- "featureInfo": { # A feature info contains information about individual feature. # Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.
- "content": "A String", # HTML template of the info window. If not provided, a default template with all attributes will be generated.
- },
- "type": "A String", # The type of the vector style. Currently, only displayRule is supported.
- "displayRules": [ # Display rules of the vector style. The first matched rule will apply to the features. If no display rule is provided, a default display rule will be generated according to Geometry type.
- { # A display rule of the vector style.
- "pointOptions": { # Style for points. # Style applied to points. Required for Point Geometry.
- "label": { # Text label style. # Label style for the point.
- "opacity": 3.14, # Opacity of the text.
- "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
- "outline": { # Basic color used in styling. # Outline color of the text.
- "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
- "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
- },
- "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
- "color": "A String", # Color of the text. If not provided, default to black.
- "column": "A String", # The column value of the feature to be displayed.
- "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
- },
- "icon": { # Style for icon, this is part of point style. # Icon for the point; exactly one field in 'icon' must be set.
- "id": "A String", # Custom icon id.
- "name": "A String", # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon names for valid icon names. For example, to specify small_red, set name to 'gx_small_red'.
- },
- },
- "name": "A String", # Display rule name. Name is not unique and cannot be used for identification purpose.
- "polygonOptions": { # Style for polygons. # Style applied to polygons. Required for Polygon Geometry.
- "stroke": { # Border in line style. Both color and width are required. # Border of the polygon. 0 < border.width <= 10.
- "color": "A String", # Color of the border.
- "opacity": 3.14, # Opacity of the border.
- "width": 3.14, # Width of the border, in pixels.
- },
- "fill": { # Basic color used in styling. # Fill color of the polygon. If not provided, the polygon will be transparent and not visible if there is no border.
- "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
- "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
- },
- },
- "lineOptions": { # Style for lines. # Style applied to lines. Required for LineString Geometry.
- "dash": [ # Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap. If dash is not provided, then it means a solid line. Dash can contain up to 10 values and must contain even number of values.
- 3.14,
- ],
- "stroke": { # Stroke of the line.
- "color": "A String", # Color of the line.
- "opacity": 3.14, # Opacity of the line.
- "width": 3.14, # Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line will be invisible.
- },
- "border": { # Border in line style. Both color and width are required. # Border of the line. 0 < border.width <= 5.
- "color": "A String", # Color of the border.
- "opacity": 3.14, # Opacity of the border.
- "width": 3.14, # Width of the border, in pixels.
- },
- "label": { # Text label style. # Label style for the line.
- "opacity": 3.14, # Opacity of the text.
- "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
- "outline": { # Basic color used in styling. # Outline color of the text.
- "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
- "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
- },
- "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
- "color": "A String", # Color of the text. If not provided, default to black.
- "column": "A String", # The column value of the feature to be displayed.
- "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
- },
- },
- "zoomLevels": { # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. # The zoom levels that this display rule apply.
- "max": 42, # Maximum zoom level.
- "min": 42, # Minimum zoom level.
- },
- "filters": [ # This display rule will only be applied to features that match all of the filters here. If filters is empty, then the rule applies to all features.
- { # Conditions for filtering features.
- "column": "A String", # The column name to filter on.
- "operator": "A String", # Operation used to evaluate the filter.
- "value": "", # Value to be evaluated against attribute.
- },
- ],
- },
- ],
- },
- "description": "A String", # The description of this Layer, supplied by the author.
- "processingStatus": "A String", # The processing status of this layer.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "datasourceType": "A String", # The type of the datasources used to build this Layer. One of either "table" or "image".
- "tags": [ # Tags of this Layer.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "name": "A String", # The name of this Layer, supplied by the author.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Layer. The numbers represent latitudes and longitudes in decimal degrees.
- 3.14,
- ],
- "projectId": "A String", # The ID of the project that this Layer is in.
- "lastModifiedTime": "A String", # The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this Layer.
- "datasources": [ # An array of datasources used to build this Layer. If datasourceType is "image", then each element in this array is a reference to an Image or RasterCollection. If datasourceType is "table" then each element in this array is a reference to a Vector Table.
- {
- "id": "A String", # The ID of a datasource.
- },
- ],
- }</pre>
+Args:
+ id: string, The ID of the layer. Only the layer creator or project owner are permitted to delete. If the layer is published, or included in a map, the request will fail. Unpublish the layer, and remove it from all maps prior to deleting. (required)
+</pre>
</div>
<div class="method">
@@ -331,118 +368,120 @@
An object of the form:
{ # A Layer combines multiple datasources, with styling information, for presentation on a map.
- "style": { # A vector style contains styling information for vector layer. # The Styling information for a vector layer.
- "featureInfo": { # A feature info contains information about individual feature. # Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.
- "content": "A String", # HTML template of the info window. If not provided, a default template with all attributes will be generated.
- },
- "type": "A String", # The type of the vector style. Currently, only displayRule is supported.
- "displayRules": [ # Display rules of the vector style. The first matched rule will apply to the features. If no display rule is provided, a default display rule will be generated according to Geometry type.
- { # A display rule of the vector style.
- "pointOptions": { # Style for points. # Style applied to points. Required for Point Geometry.
- "label": { # Text label style. # Label style for the point.
- "opacity": 3.14, # Opacity of the text.
- "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
- "outline": { # Basic color used in styling. # Outline color of the text.
- "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
- "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
- },
- "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
- "color": "A String", # Color of the text. If not provided, default to black.
- "column": "A String", # The column value of the feature to be displayed.
- "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
- },
- "icon": { # Style for icon, this is part of point style. # Icon for the point; exactly one field in 'icon' must be set.
- "id": "A String", # Custom icon id.
- "name": "A String", # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon names for valid icon names. For example, to specify small_red, set name to 'gx_small_red'.
- },
- },
- "name": "A String", # Display rule name. Name is not unique and cannot be used for identification purpose.
- "polygonOptions": { # Style for polygons. # Style applied to polygons. Required for Polygon Geometry.
- "stroke": { # Border in line style. Both color and width are required. # Border of the polygon. 0 < border.width <= 10.
- "color": "A String", # Color of the border.
- "opacity": 3.14, # Opacity of the border.
- "width": 3.14, # Width of the border, in pixels.
- },
- "fill": { # Basic color used in styling. # Fill color of the polygon. If not provided, the polygon will be transparent and not visible if there is no border.
+ "style": { # A vector style contains styling information for vector layer. # The Styling information for a vector layer.
+ "featureInfo": { # A feature info contains information about individual feature. # Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.
+ "content": "A String", # HTML template of the info window. If not provided, a default template with all attributes will be generated.
+ },
+ "type": "A String", # The type of the vector style. Currently, only displayRule is supported.
+ "displayRules": [
+ { # A display rule of the vector style.
+ "pointOptions": { # Style for points. # Style applied to points. Required for Point Geometry.
+ "label": { # Text label style. # Label style for the point.
+ "opacity": 3.14, # Opacity of the text.
+ "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
+ "outline": { # Basic color used in styling. # Outline color of the text.
"color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
"opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
},
+ "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
+ "color": "A String", # Color of the text. If not provided, default to black.
+ "column": "A String", # The column value of the feature to be displayed.
+ "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
},
- "lineOptions": { # Style for lines. # Style applied to lines. Required for LineString Geometry.
- "dash": [ # Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap. If dash is not provided, then it means a solid line. Dash can contain up to 10 values and must contain even number of values.
- 3.14,
- ],
- "stroke": { # Stroke of the line.
- "color": "A String", # Color of the line.
- "opacity": 3.14, # Opacity of the line.
- "width": 3.14, # Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line will be invisible.
- },
- "border": { # Border in line style. Both color and width are required. # Border of the line. 0 < border.width <= 5.
- "color": "A String", # Color of the border.
- "opacity": 3.14, # Opacity of the border.
- "width": 3.14, # Width of the border, in pixels.
- },
- "label": { # Text label style. # Label style for the line.
- "opacity": 3.14, # Opacity of the text.
- "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
- "outline": { # Basic color used in styling. # Outline color of the text.
- "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
- "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
- },
- "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
- "color": "A String", # Color of the text. If not provided, default to black.
- "column": "A String", # The column value of the feature to be displayed.
- "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
- },
+ "icon": { # Style for icon, this is part of point style. # Icon for the point; if it isn't null, exactly one field in 'icon' must be set.
+ "id": "A String", # Custom icon id.
+ "name": "A String", # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon names for valid icon names. For example, to specify small_red, set name to 'gx_small_red'.
},
- "zoomLevels": { # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. # The zoom levels that this display rule apply.
- "max": 42, # Maximum zoom level.
- "min": 42, # Minimum zoom level.
- },
- "filters": [ # This display rule will only be applied to features that match all of the filters here. If filters is empty, then the rule applies to all features.
- { # Conditions for filtering features.
- "column": "A String", # The column name to filter on.
- "operator": "A String", # Operation used to evaluate the filter.
- "value": "", # Value to be evaluated against attribute.
- },
- ],
},
- ],
- },
- "description": "A String", # The description of this Layer, supplied by the author.
- "processingStatus": "A String", # The processing status of this layer.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "datasourceType": "A String", # The type of the datasources used to build this Layer. One of either "table" or "image".
- "tags": [ # Tags of this Layer.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "name": "A String", # The name of this Layer, supplied by the author.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Layer. The numbers represent latitudes and longitudes in decimal degrees.
- 3.14,
- ],
- "projectId": "A String", # The ID of the project that this Layer is in.
- "lastModifiedTime": "A String", # The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this Layer.
- "datasources": [ # An array of datasources used to build this Layer. If datasourceType is "image", then each element in this array is a reference to an Image or RasterCollection. If datasourceType is "table" then each element in this array is a reference to a Vector Table.
- {
- "id": "A String", # The ID of a datasource.
+ "name": "A String", # Display rule name. Name is not unique and cannot be used for identification purpose.
+ "polygonOptions": { # Style for polygons. # Style applied to polygons. Required for Polygon Geometry.
+ "stroke": { # Border in line style. Both color and width are required. # Border of the polygon. 0 < border.width <= 10.
+ "color": "A String", # Color of the border.
+ "opacity": 3.14, # Opacity of the border.
+ "width": 3.14, # Width of the border, in pixels.
+ },
+ "fill": { # Basic color used in styling. # Fill color of the polygon. If not provided, the polygon will be transparent and not visible if there is no border.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ },
+ "lineOptions": { # Style for lines. # Style applied to lines. Required for LineString Geometry.
+ "dash": [ # Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap. If dash is not provided, then it means a solid line. Dash can contain up to 10 values and must contain even number of values.
+ 3.14,
+ ],
+ "stroke": { # Stroke of the line.
+ "color": "A String", # Color of the line.
+ "opacity": 3.14, # Opacity of the line.
+ "width": 3.14, # Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line will be invisible.
+ },
+ "border": { # Border in line style. Both color and width are required. # Border of the line. 0 < border.width <= 5.
+ "color": "A String", # Color of the border.
+ "opacity": 3.14, # Opacity of the border.
+ "width": 3.14, # Width of the border, in pixels.
+ },
+ "label": { # Text label style. # Label style for the line.
+ "opacity": 3.14, # Opacity of the text.
+ "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
+ "outline": { # Basic color used in styling. # Outline color of the text.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
+ "color": "A String", # Color of the text. If not provided, default to black.
+ "column": "A String", # The column value of the feature to be displayed.
+ "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
+ },
+ },
+ "zoomLevels": { # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. # The zoom levels that this display rule apply.
+ "max": 42, # Maximum zoom level.
+ "min": 42, # Minimum zoom level.
+ },
+ "filters": [ # This display rule will only be applied to features that match all of the filters here. If filters is empty, then the rule applies to all features.
+ { # Conditions for filtering features.
+ "column": "A String", # The column name to filter on.
+ "operator": "A String", # Operation used to evaluate the filter.
+ "value": "", # Value to be evaluated against attribute.
+ },
+ ],
},
],
- }</pre>
+ },
+ "description": "A String", # The description of this Layer, supplied by the author.
+ "processingStatus": "A String", # The processing status of this layer.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "datasourceType": "A String", # The type of the datasources used to build this Layer.
+ "tags": [ # Tags of this Layer.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "name": "A String", # The name of this Layer, supplied by the author.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Layer. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "projectId": "A String", # The ID of the project that this Layer is in.
+ "lastModifiedTime": "A String", # The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this Layer.
+ "datasources": [ # An array of datasources used to build this Layer. If datasourceType is "image", then each element in this array is a reference to an Image or RasterCollection. If datasourceType is "table" then each element in this array is a reference to a Vector Table.
+ {
+ "id": "A String", # The ID of a datasource.
+ },
+ ],
+ }</pre>
</div>
<div class="method">
- <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
+ <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
<pre>Return all layers readable by the current user.
Args:
modifiedAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
- pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
+ tags: string, A comma separated list of tags. Returned assets will contain all the tags from the list.
projectId: string, The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
maxResults: integer, The maximum number of items to include in a single response page. The maximum supported value is 100.
+ pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
createdBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.
bbox: string, A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
creatorEmail: string, An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
@@ -454,106 +493,107 @@
{ # The response returned by a call to layers.List.
"layers": [ # Resources returned.
{ # A Layer combines multiple datasources, with styling information, for presentation on a map.
- "style": { # A vector style contains styling information for vector layer. # The Styling information for a vector layer.
- "featureInfo": { # A feature info contains information about individual feature. # Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.
- "content": "A String", # HTML template of the info window. If not provided, a default template with all attributes will be generated.
- },
- "type": "A String", # The type of the vector style. Currently, only displayRule is supported.
- "displayRules": [ # Display rules of the vector style. The first matched rule will apply to the features. If no display rule is provided, a default display rule will be generated according to Geometry type.
- { # A display rule of the vector style.
- "pointOptions": { # Style for points. # Style applied to points. Required for Point Geometry.
- "label": { # Text label style. # Label style for the point.
- "opacity": 3.14, # Opacity of the text.
- "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
- "outline": { # Basic color used in styling. # Outline color of the text.
- "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
- "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
- },
- "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
- "color": "A String", # Color of the text. If not provided, default to black.
- "column": "A String", # The column value of the feature to be displayed.
- "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
- },
- "icon": { # Style for icon, this is part of point style. # Icon for the point; exactly one field in 'icon' must be set.
- "id": "A String", # Custom icon id.
- "name": "A String", # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon names for valid icon names. For example, to specify small_red, set name to 'gx_small_red'.
- },
- },
- "name": "A String", # Display rule name. Name is not unique and cannot be used for identification purpose.
- "polygonOptions": { # Style for polygons. # Style applied to polygons. Required for Polygon Geometry.
- "stroke": { # Border in line style. Both color and width are required. # Border of the polygon. 0 < border.width <= 10.
- "color": "A String", # Color of the border.
- "opacity": 3.14, # Opacity of the border.
- "width": 3.14, # Width of the border, in pixels.
- },
- "fill": { # Basic color used in styling. # Fill color of the polygon. If not provided, the polygon will be transparent and not visible if there is no border.
+ "style": { # A vector style contains styling information for vector layer. # The Styling information for a vector layer.
+ "featureInfo": { # A feature info contains information about individual feature. # Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.
+ "content": "A String", # HTML template of the info window. If not provided, a default template with all attributes will be generated.
+ },
+ "type": "A String", # The type of the vector style. Currently, only displayRule is supported.
+ "displayRules": [
+ { # A display rule of the vector style.
+ "pointOptions": { # Style for points. # Style applied to points. Required for Point Geometry.
+ "label": { # Text label style. # Label style for the point.
+ "opacity": 3.14, # Opacity of the text.
+ "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
+ "outline": { # Basic color used in styling. # Outline color of the text.
"color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
"opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
},
+ "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
+ "color": "A String", # Color of the text. If not provided, default to black.
+ "column": "A String", # The column value of the feature to be displayed.
+ "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
},
- "lineOptions": { # Style for lines. # Style applied to lines. Required for LineString Geometry.
- "dash": [ # Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap. If dash is not provided, then it means a solid line. Dash can contain up to 10 values and must contain even number of values.
- 3.14,
- ],
- "stroke": { # Stroke of the line.
- "color": "A String", # Color of the line.
- "opacity": 3.14, # Opacity of the line.
- "width": 3.14, # Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line will be invisible.
- },
- "border": { # Border in line style. Both color and width are required. # Border of the line. 0 < border.width <= 5.
- "color": "A String", # Color of the border.
- "opacity": 3.14, # Opacity of the border.
- "width": 3.14, # Width of the border, in pixels.
- },
- "label": { # Text label style. # Label style for the line.
- "opacity": 3.14, # Opacity of the text.
- "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
- "outline": { # Basic color used in styling. # Outline color of the text.
- "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
- "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
- },
- "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
- "color": "A String", # Color of the text. If not provided, default to black.
- "column": "A String", # The column value of the feature to be displayed.
- "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
- },
+ "icon": { # Style for icon, this is part of point style. # Icon for the point; if it isn't null, exactly one field in 'icon' must be set.
+ "id": "A String", # Custom icon id.
+ "name": "A String", # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon names for valid icon names. For example, to specify small_red, set name to 'gx_small_red'.
},
- "zoomLevels": { # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. # The zoom levels that this display rule apply.
- "max": 42, # Maximum zoom level.
- "min": 42, # Minimum zoom level.
- },
- "filters": [ # This display rule will only be applied to features that match all of the filters here. If filters is empty, then the rule applies to all features.
- { # Conditions for filtering features.
- "column": "A String", # The column name to filter on.
- "operator": "A String", # Operation used to evaluate the filter.
- "value": "", # Value to be evaluated against attribute.
- },
- ],
},
- ],
- },
- "description": "A String", # The description of this Layer, supplied by the author.
- "processingStatus": "A String", # The processing status of this layer.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "datasourceType": "A String", # The type of the datasources used to build this Layer. One of either "table" or "image".
- "tags": [ # Tags of this Layer.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "name": "A String", # The name of this Layer, supplied by the author.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Layer. The numbers represent latitudes and longitudes in decimal degrees.
- 3.14,
- ],
- "projectId": "A String", # The ID of the project that this Layer is in.
- "lastModifiedTime": "A String", # The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this Layer.
- "datasources": [ # An array of datasources used to build this Layer. If datasourceType is "image", then each element in this array is a reference to an Image or RasterCollection. If datasourceType is "table" then each element in this array is a reference to a Vector Table.
- {
- "id": "A String", # The ID of a datasource.
+ "name": "A String", # Display rule name. Name is not unique and cannot be used for identification purpose.
+ "polygonOptions": { # Style for polygons. # Style applied to polygons. Required for Polygon Geometry.
+ "stroke": { # Border in line style. Both color and width are required. # Border of the polygon. 0 < border.width <= 10.
+ "color": "A String", # Color of the border.
+ "opacity": 3.14, # Opacity of the border.
+ "width": 3.14, # Width of the border, in pixels.
+ },
+ "fill": { # Basic color used in styling. # Fill color of the polygon. If not provided, the polygon will be transparent and not visible if there is no border.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ },
+ "lineOptions": { # Style for lines. # Style applied to lines. Required for LineString Geometry.
+ "dash": [ # Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap. If dash is not provided, then it means a solid line. Dash can contain up to 10 values and must contain even number of values.
+ 3.14,
+ ],
+ "stroke": { # Stroke of the line.
+ "color": "A String", # Color of the line.
+ "opacity": 3.14, # Opacity of the line.
+ "width": 3.14, # Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line will be invisible.
+ },
+ "border": { # Border in line style. Both color and width are required. # Border of the line. 0 < border.width <= 5.
+ "color": "A String", # Color of the border.
+ "opacity": 3.14, # Opacity of the border.
+ "width": 3.14, # Width of the border, in pixels.
+ },
+ "label": { # Text label style. # Label style for the line.
+ "opacity": 3.14, # Opacity of the text.
+ "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
+ "outline": { # Basic color used in styling. # Outline color of the text.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
+ "color": "A String", # Color of the text. If not provided, default to black.
+ "column": "A String", # The column value of the feature to be displayed.
+ "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
+ },
+ },
+ "zoomLevels": { # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. # The zoom levels that this display rule apply.
+ "max": 42, # Maximum zoom level.
+ "min": 42, # Minimum zoom level.
+ },
+ "filters": [ # This display rule will only be applied to features that match all of the filters here. If filters is empty, then the rule applies to all features.
+ { # Conditions for filtering features.
+ "column": "A String", # The column name to filter on.
+ "operator": "A String", # Operation used to evaluate the filter.
+ "value": "", # Value to be evaluated against attribute.
+ },
+ ],
},
],
},
+ "description": "A String", # The description of this Layer, supplied by the author.
+ "processingStatus": "A String", # The processing status of this layer.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "datasourceType": "A String", # The type of the datasources used to build this Layer.
+ "tags": [ # Tags of this Layer.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "name": "A String", # The name of this Layer, supplied by the author.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Layer. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "projectId": "A String", # The ID of the project that this Layer is in.
+ "lastModifiedTime": "A String", # The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this Layer.
+ "datasources": [ # An array of datasources used to build this Layer. If datasourceType is "image", then each element in this array is a reference to an Image or RasterCollection. If datasourceType is "table" then each element in this array is a reference to a Vector Table.
+ {
+ "id": "A String", # The ID of a datasource.
+ },
+ ],
+ },
],
"nextPageToken": "A String", # Next page token.
}</pre>
@@ -574,6 +614,121 @@
</div>
<div class="method">
+ <code class="details" id="patch">patch(id, body)</code>
+ <pre>Mutate a layer asset.
+
+Args:
+ id: string, The ID of the layer. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Layer combines multiple datasources, with styling information, for presentation on a map.
+ "style": { # A vector style contains styling information for vector layer. # The Styling information for a vector layer.
+ "featureInfo": { # A feature info contains information about individual feature. # Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.
+ "content": "A String", # HTML template of the info window. If not provided, a default template with all attributes will be generated.
+ },
+ "type": "A String", # The type of the vector style. Currently, only displayRule is supported.
+ "displayRules": [
+ { # A display rule of the vector style.
+ "pointOptions": { # Style for points. # Style applied to points. Required for Point Geometry.
+ "label": { # Text label style. # Label style for the point.
+ "opacity": 3.14, # Opacity of the text.
+ "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
+ "outline": { # Basic color used in styling. # Outline color of the text.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
+ "color": "A String", # Color of the text. If not provided, default to black.
+ "column": "A String", # The column value of the feature to be displayed.
+ "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
+ },
+ "icon": { # Style for icon, this is part of point style. # Icon for the point; if it isn't null, exactly one field in 'icon' must be set.
+ "id": "A String", # Custom icon id.
+ "name": "A String", # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon names for valid icon names. For example, to specify small_red, set name to 'gx_small_red'.
+ },
+ },
+ "name": "A String", # Display rule name. Name is not unique and cannot be used for identification purpose.
+ "polygonOptions": { # Style for polygons. # Style applied to polygons. Required for Polygon Geometry.
+ "stroke": { # Border in line style. Both color and width are required. # Border of the polygon. 0 < border.width <= 10.
+ "color": "A String", # Color of the border.
+ "opacity": 3.14, # Opacity of the border.
+ "width": 3.14, # Width of the border, in pixels.
+ },
+ "fill": { # Basic color used in styling. # Fill color of the polygon. If not provided, the polygon will be transparent and not visible if there is no border.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ },
+ "lineOptions": { # Style for lines. # Style applied to lines. Required for LineString Geometry.
+ "dash": [ # Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap. If dash is not provided, then it means a solid line. Dash can contain up to 10 values and must contain even number of values.
+ 3.14,
+ ],
+ "stroke": { # Stroke of the line.
+ "color": "A String", # Color of the line.
+ "opacity": 3.14, # Opacity of the line.
+ "width": 3.14, # Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line will be invisible.
+ },
+ "border": { # Border in line style. Both color and width are required. # Border of the line. 0 < border.width <= 5.
+ "color": "A String", # Color of the border.
+ "opacity": 3.14, # Opacity of the border.
+ "width": 3.14, # Width of the border, in pixels.
+ },
+ "label": { # Text label style. # Label style for the line.
+ "opacity": 3.14, # Opacity of the text.
+ "fontStyle": "A String", # Font style of the label, defaults to 'normal'.
+ "outline": { # Basic color used in styling. # Outline color of the text.
+ "color": "A String", # The CSS style color, can be in format of "red" or "#7733EE".
+ "opacity": 3.14, # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.
+ },
+ "fontWeight": "A String", # Font weight of the label, defaults to 'normal'.
+ "color": "A String", # Color of the text. If not provided, default to black.
+ "column": "A String", # The column value of the feature to be displayed.
+ "size": 3.14, # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.
+ },
+ },
+ "zoomLevels": { # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. # The zoom levels that this display rule apply.
+ "max": 42, # Maximum zoom level.
+ "min": 42, # Minimum zoom level.
+ },
+ "filters": [ # This display rule will only be applied to features that match all of the filters here. If filters is empty, then the rule applies to all features.
+ { # Conditions for filtering features.
+ "column": "A String", # The column name to filter on.
+ "operator": "A String", # Operation used to evaluate the filter.
+ "value": "", # Value to be evaluated against attribute.
+ },
+ ],
+ },
+ ],
+ },
+ "description": "A String", # The description of this Layer, supplied by the author.
+ "processingStatus": "A String", # The processing status of this layer.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "datasourceType": "A String", # The type of the datasources used to build this Layer.
+ "tags": [ # Tags of this Layer.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "name": "A String", # The name of this Layer, supplied by the author.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Layer. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "projectId": "A String", # The ID of the project that this Layer is in.
+ "lastModifiedTime": "A String", # The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this Layer.
+ "datasources": [ # An array of datasources used to build this Layer. If datasourceType is "image", then each element in this array is a reference to an Image or RasterCollection. If datasourceType is "table" then each element in this array is a reference to a Vector Table.
+ {
+ "id": "A String", # The ID of a datasource.
+ },
+ ],
+}
+
+</pre>
+</div>
+
+<div class="method">
<code class="details" id="process">process(id)</code>
<pre>Process a layer asset.
@@ -601,4 +756,18 @@
}</pre>
</div>
+<div class="method">
+ <code class="details" id="unpublish">unpublish(id)</code>
+ <pre>Unpublish a layer asset.
+
+Args:
+ id: string, The ID of the layer. (required)
+
+Returns:
+ An object of the form:
+
+ { # The response returned by a call to any asset's Publish method.
+ }</pre>
+</div>
+
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/mapsengine_v1.layers.parents.html b/docs/dyn/mapsengine_v1.layers.parents.html
index e68e1f5..c34035b 100644
--- a/docs/dyn/mapsengine_v1.layers.parents.html
+++ b/docs/dyn/mapsengine_v1.layers.parents.html
@@ -95,7 +95,7 @@
{ # The response returned by a call to parents.List.
"nextPageToken": "A String", # Next page token.
- "parents": [ # Resources returned.
+ "parents": [ # The parent assets.
{ # A list of the parents of an asset.
"id": "A String", # The ID of this parent.
},
diff --git a/docs/dyn/mapsengine_v1.maps.html b/docs/dyn/mapsengine_v1.maps.html
index 63f2347..e972972 100644
--- a/docs/dyn/mapsengine_v1.maps.html
+++ b/docs/dyn/mapsengine_v1.maps.html
@@ -75,16 +75,113 @@
<h1><a href="mapsengine_v1.html">Google Maps Engine API</a> . <a href="mapsengine_v1.maps.html">maps</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
+ <code><a href="#create">create(body)</a></code></p>
+<p class="firstline">Create a map asset.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(id)</a></code></p>
+<p class="firstline">Delete a map.</p>
+<p class="toc_element">
<code><a href="#get">get(id, version=None)</a></code></p>
<p class="firstline">Return metadata for a particular map.</p>
<p class="toc_element">
- <code><a href="#list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
+ <code><a href="#list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
<p class="firstline">Return all maps readable by the current user.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(id, body)</a></code></p>
+<p class="firstline">Mutate a map asset.</p>
+<p class="toc_element">
+ <code><a href="#publish">publish(id)</a></code></p>
+<p class="firstline">Publish a map asset.</p>
+<p class="toc_element">
+ <code><a href="#unpublish">unpublish(id)</a></code></p>
+<p class="firstline">Unpublish a map asset.</p>
<h3>Method Details</h3>
<div class="method">
+ <code class="details" id="create">create(body)</code>
+ <pre>Create a map asset.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Map is a collection of Layers, optionally contained within folders.
+ "description": "A String", # The description of this Map, supplied by the author.
+ "defaultViewport": [ # A rectangular geographic bounds. # An array of four numbers (west, south, east, north) which defines the rectangular bounding box of the default viewport. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "processingStatus": "A String", # The processing status of this map. Map processing is automatically started once a map becomes ready for processing.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this Map is in.
+ "tags": [ # Tags of this Map.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishingStatus": "A String", # The publishing status of this map.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Map. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "versions": [ # Deprecated: An array containing the available versions of this Map. Currently may only contain "published". The publishingStatus field should be used instead.
+ "published",
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this Map.
+ "contents": [ # The contents of this Map.
+ {
+ },
+ ],
+ "name": "A String", # The name of this Map, supplied by the author.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A Map is a collection of Layers, optionally contained within folders.
+ "description": "A String", # The description of this Map, supplied by the author.
+ "defaultViewport": [ # A rectangular geographic bounds. # An array of four numbers (west, south, east, north) which defines the rectangular bounding box of the default viewport. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "processingStatus": "A String", # The processing status of this map. Map processing is automatically started once a map becomes ready for processing.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this Map is in.
+ "tags": [ # Tags of this Map.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishingStatus": "A String", # The publishing status of this map.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Map. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "versions": [ # Deprecated: An array containing the available versions of this Map. Currently may only contain "published". The publishingStatus field should be used instead.
+ "published",
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this Map.
+ "contents": [ # The contents of this Map.
+ {
+ },
+ ],
+ "name": "A String", # The name of this Map, supplied by the author.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(id)</code>
+ <pre>Delete a map.
+
+Args:
+ id: string, The ID of the map. Only the map creator or project owner are permitted to delete. If the map is published the request will fail. Unpublish the map prior to deleting. (required)
+</pre>
+</div>
+
+<div class="method">
<code class="details" id="get">get(id, version=None)</code>
<pre>Return metadata for a particular map.
@@ -100,24 +197,29 @@
{ # A Map is a collection of Layers, optionally contained within folders.
"description": "A String", # The description of this Map, supplied by the author.
- "defaultViewport": [ # An array of four numbers (west, south, east, north) which defines the rectangular bounding box of the default viewport. The numbers represent latitude and longitude in decimal degrees.
+ "defaultViewport": [ # A rectangular geographic bounds. # An array of four numbers (west, south, east, north) which defines the rectangular bounding box of the default viewport. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
+ "processingStatus": "A String", # The processing status of this map. Map processing is automatically started once a map becomes ready for processing.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this Map is in.
"tags": [ # Tags of this Map.
"A String",
],
- "projectId": "A String", # The ID of the project that this Map is in.
- "versions": [ # An array containing the available versions of this Map. Currently may only contain "published".
- "A String",
- ],
"creationTime": "A String", # The creation time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Map. The numbers represent latitude and longitude in decimal degrees.
+ "publishingStatus": "A String", # The publishing status of this map.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Map. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
+ "versions": [ # Deprecated: An array containing the available versions of this Map. Currently may only contain "published". The publishingStatus field should be used instead.
+ "published",
+ ],
"lastModifiedTime": "A String", # The last modified time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
"id": "A String", # A globally unique ID, used to refer to this Map.
"contents": [ # The contents of this Map.
- { # A map item.
+ {
},
],
"name": "A String", # The name of this Map, supplied by the author.
@@ -125,15 +227,16 @@
</div>
<div class="method">
- <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
+ <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
<pre>Return all maps readable by the current user.
Args:
modifiedAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
- pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
+ tags: string, A comma separated list of tags. Returned assets will contain all the tags from the list.
projectId: string, The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
maxResults: integer, The maximum number of items to include in a single response page. The maximum supported value is 100.
+ pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
createdBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.
bbox: string, A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
creatorEmail: string, An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
@@ -147,24 +250,29 @@
"maps": [ # Resources returned.
{ # A Map is a collection of Layers, optionally contained within folders.
"description": "A String", # The description of this Map, supplied by the author.
- "defaultViewport": [ # An array of four numbers (west, south, east, north) which defines the rectangular bounding box of the default viewport. The numbers represent latitude and longitude in decimal degrees.
+ "defaultViewport": [ # A rectangular geographic bounds. # An array of four numbers (west, south, east, north) which defines the rectangular bounding box of the default viewport. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
+ "processingStatus": "A String", # The processing status of this map. Map processing is automatically started once a map becomes ready for processing.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this Map is in.
"tags": [ # Tags of this Map.
"A String",
],
- "projectId": "A String", # The ID of the project that this Map is in.
- "versions": [ # An array containing the available versions of this Map. Currently may only contain "published".
- "A String",
- ],
"creationTime": "A String", # The creation time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Map. The numbers represent latitude and longitude in decimal degrees.
+ "publishingStatus": "A String", # The publishing status of this map.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Map. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
+ "versions": [ # Deprecated: An array containing the available versions of this Map. Currently may only contain "published". The publishingStatus field should be used instead.
+ "published",
+ ],
"lastModifiedTime": "A String", # The last modified time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
"id": "A String", # A globally unique ID, used to refer to this Map.
"contents": [ # The contents of this Map.
- { # A map item.
+ {
},
],
"name": "A String", # The name of this Map, supplied by the author.
@@ -187,4 +295,74 @@
</pre>
</div>
+<div class="method">
+ <code class="details" id="patch">patch(id, body)</code>
+ <pre>Mutate a map asset.
+
+Args:
+ id: string, The ID of the map. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Map is a collection of Layers, optionally contained within folders.
+ "description": "A String", # The description of this Map, supplied by the author.
+ "defaultViewport": [ # A rectangular geographic bounds. # An array of four numbers (west, south, east, north) which defines the rectangular bounding box of the default viewport. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "processingStatus": "A String", # The processing status of this map. Map processing is automatically started once a map becomes ready for processing.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this Map is in.
+ "tags": [ # Tags of this Map.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishingStatus": "A String", # The publishing status of this map.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Map. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "versions": [ # Deprecated: An array containing the available versions of this Map. Currently may only contain "published". The publishingStatus field should be used instead.
+ "published",
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this Map.
+ "contents": [ # The contents of this Map.
+ {
+ },
+ ],
+ "name": "A String", # The name of this Map, supplied by the author.
+}
+
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="publish">publish(id)</code>
+ <pre>Publish a map asset.
+
+Args:
+ id: string, The ID of the map. (required)
+
+Returns:
+ An object of the form:
+
+ { # The response returned by a call to any asset's Publish method.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="unpublish">unpublish(id)</code>
+ <pre>Unpublish a map asset.
+
+Args:
+ id: string, The ID of the map. (required)
+
+Returns:
+ An object of the form:
+
+ { # The response returned by a call to any asset's Publish method.
+ }</pre>
+</div>
+
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/mapsengine_v1.rasterCollections.html b/docs/dyn/mapsengine_v1.rasterCollections.html
index a87d758..2b43d74 100644
--- a/docs/dyn/mapsengine_v1.rasterCollections.html
+++ b/docs/dyn/mapsengine_v1.rasterCollections.html
@@ -85,19 +85,45 @@
<p class="firstline">Returns the rasters Resource.</p>
<p class="toc_element">
+ <code><a href="#cancelProcessing">cancelProcessing(id)</a></code></p>
+<p class="firstline">Cancel processing on a raster collection asset.</p>
+<p class="toc_element">
<code><a href="#create">create(body)</a></code></p>
<p class="firstline">Create a raster collection asset.</p>
<p class="toc_element">
+ <code><a href="#delete">delete(id)</a></code></p>
+<p class="firstline">Delete a raster collection.</p>
+<p class="toc_element">
<code><a href="#get">get(id)</a></code></p>
<p class="firstline">Return metadata for a particular raster collection.</p>
<p class="toc_element">
- <code><a href="#list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
+ <code><a href="#list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
<p class="firstline">Return all raster collections readable by the current user.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(id, body)</a></code></p>
+<p class="firstline">Mutate a raster collection asset.</p>
+<p class="toc_element">
+ <code><a href="#process">process(id)</a></code></p>
+<p class="firstline">Process a raster collection asset.</p>
<h3>Method Details</h3>
<div class="method">
+ <code class="details" id="cancelProcessing">cancelProcessing(id)</code>
+ <pre>Cancel processing on a raster collection asset.
+
+Args:
+ id: string, The ID of the raster collection. (required)
+
+Returns:
+ An object of the form:
+
+ { # The response returned by a call to any asset's Process method.
+ }</pre>
+</div>
+
+<div class="method">
<code class="details" id="create">create(body)</code>
<pre>Create a raster collection asset.
@@ -106,46 +132,59 @@
The object takes the form of:
{ # A raster collection groups multiple Raster resources for inclusion in a Layer.
- "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
- "description": "A String", # The description of this RasterCollection, supplied by the author.
- "tags": [ # Tags of this RasterCollection.
- "A String",
- ],
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project that this RasterCollection is in.
- "creationTime": "A String", # The creation time of this rasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "rasterType": "A String", # The type of rasters contained within this RasterCollection.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitudes and longitudes in decimal degrees.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this rasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
- "mosaic": True or False, # True if this RasterCollection is a mosaic.
- "name": "A String", # The name of this RasterCollection, supplied by the author.
- }
+ "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
+ "description": "A String", # The description of this RasterCollection, supplied by the author.
+ "processingStatus": "A String", # The processing status of this RasterCollection.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this RasterCollection is in.
+ "tags": [ # Tags of this RasterCollection.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "rasterType": "A String", # The type of rasters contained within this RasterCollection.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
+ "mosaic": True or False, # True if this RasterCollection is a mosaic.
+ "name": "A String", # The name of this RasterCollection, supplied by the author.
+}
Returns:
An object of the form:
{ # A raster collection groups multiple Raster resources for inclusion in a Layer.
- "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
- "description": "A String", # The description of this RasterCollection, supplied by the author.
- "tags": [ # Tags of this RasterCollection.
- "A String",
- ],
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project that this RasterCollection is in.
- "creationTime": "A String", # The creation time of this rasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "rasterType": "A String", # The type of rasters contained within this RasterCollection.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitudes and longitudes in decimal degrees.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this rasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
- "mosaic": True or False, # True if this RasterCollection is a mosaic.
- "name": "A String", # The name of this RasterCollection, supplied by the author.
- }</pre>
+ "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
+ "description": "A String", # The description of this RasterCollection, supplied by the author.
+ "processingStatus": "A String", # The processing status of this RasterCollection.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this RasterCollection is in.
+ "tags": [ # Tags of this RasterCollection.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "rasterType": "A String", # The type of rasters contained within this RasterCollection.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
+ "mosaic": True or False, # True if this RasterCollection is a mosaic.
+ "name": "A String", # The name of this RasterCollection, supplied by the author.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(id)</code>
+ <pre>Delete a raster collection.
+
+Args:
+ id: string, The ID of the raster collection. Only the raster collection creator or project owner are permitted to delete. If the rastor collection is included in a layer, the request will fail. Remove the raster collection from all layers prior to deleting. (required)
+</pre>
</div>
<div class="method">
@@ -159,35 +198,38 @@
An object of the form:
{ # A raster collection groups multiple Raster resources for inclusion in a Layer.
- "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
- "description": "A String", # The description of this RasterCollection, supplied by the author.
- "tags": [ # Tags of this RasterCollection.
- "A String",
- ],
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project that this RasterCollection is in.
- "creationTime": "A String", # The creation time of this rasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "rasterType": "A String", # The type of rasters contained within this RasterCollection.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitudes and longitudes in decimal degrees.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this rasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
- "mosaic": True or False, # True if this RasterCollection is a mosaic.
- "name": "A String", # The name of this RasterCollection, supplied by the author.
- }</pre>
+ "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
+ "description": "A String", # The description of this RasterCollection, supplied by the author.
+ "processingStatus": "A String", # The processing status of this RasterCollection.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this RasterCollection is in.
+ "tags": [ # Tags of this RasterCollection.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "rasterType": "A String", # The type of rasters contained within this RasterCollection.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
+ "mosaic": True or False, # True if this RasterCollection is a mosaic.
+ "name": "A String", # The name of this RasterCollection, supplied by the author.
+ }</pre>
</div>
<div class="method">
- <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
+ <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
<pre>Return all raster collections readable by the current user.
Args:
modifiedAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
- pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
+ tags: string, A comma separated list of tags. Returned assets will contain all the tags from the list.
projectId: string, The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
maxResults: integer, The maximum number of items to include in a single response page. The maximum supported value is 100.
+ pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
createdBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.
bbox: string, A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
creatorEmail: string, An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
@@ -200,23 +242,25 @@
"nextPageToken": "A String", # Next page token.
"rasterCollections": [ # Resources returned.
{ # A raster collection groups multiple Raster resources for inclusion in a Layer.
- "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
- "description": "A String", # The description of this RasterCollection, supplied by the author.
- "tags": [ # Tags of this RasterCollection.
- "A String",
- ],
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project that this RasterCollection is in.
- "creationTime": "A String", # The creation time of this rasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "rasterType": "A String", # The type of rasters contained within this RasterCollection.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitudes and longitudes in decimal degrees.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this rasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
- "mosaic": True or False, # True if this RasterCollection is a mosaic.
- "name": "A String", # The name of this RasterCollection, supplied by the author.
- },
+ "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
+ "description": "A String", # The description of this RasterCollection, supplied by the author.
+ "processingStatus": "A String", # The processing status of this RasterCollection.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this RasterCollection is in.
+ "tags": [ # Tags of this RasterCollection.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "rasterType": "A String", # The type of rasters contained within this RasterCollection.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
+ "mosaic": True or False, # True if this RasterCollection is a mosaic.
+ "name": "A String", # The name of this RasterCollection, supplied by the author.
+ },
],
}</pre>
</div>
@@ -235,4 +279,51 @@
</pre>
</div>
+<div class="method">
+ <code class="details" id="patch">patch(id, body)</code>
+ <pre>Mutate a raster collection asset.
+
+Args:
+ id: string, The ID of the raster collection. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A raster collection groups multiple Raster resources for inclusion in a Layer.
+ "attribution": "A String", # The name of the attribution to be used for this RasterCollection.
+ "description": "A String", # The description of this RasterCollection, supplied by the author.
+ "processingStatus": "A String", # The processing status of this RasterCollection.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this RasterCollection is in.
+ "tags": [ # Tags of this RasterCollection.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "rasterType": "A String", # The type of rasters contained within this RasterCollection.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this RasterCollection. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "id": "A String", # A globally unique ID, used to refer to this RasterCollection.
+ "mosaic": True or False, # True if this RasterCollection is a mosaic.
+ "name": "A String", # The name of this RasterCollection, supplied by the author.
+}
+
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="process">process(id)</code>
+ <pre>Process a raster collection asset.
+
+Args:
+ id: string, The ID of the raster collection. (required)
+
+Returns:
+ An object of the form:
+
+ { # The response returned by a call to any asset's Process method.
+ }</pre>
+</div>
+
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/mapsengine_v1.rasterCollections.parents.html b/docs/dyn/mapsengine_v1.rasterCollections.parents.html
index 4486a5e..be7ce67 100644
--- a/docs/dyn/mapsengine_v1.rasterCollections.parents.html
+++ b/docs/dyn/mapsengine_v1.rasterCollections.parents.html
@@ -95,7 +95,7 @@
{ # The response returned by a call to parents.List.
"nextPageToken": "A String", # Next page token.
- "parents": [ # Resources returned.
+ "parents": [ # The parent assets.
{ # A list of the parents of an asset.
"id": "A String", # The ID of this parent.
},
diff --git a/docs/dyn/mapsengine_v1.rasterCollections.rasters.html b/docs/dyn/mapsengine_v1.rasterCollections.rasters.html
index a0131ea..cbc4e70 100644
--- a/docs/dyn/mapsengine_v1.rasterCollections.rasters.html
+++ b/docs/dyn/mapsengine_v1.rasterCollections.rasters.html
@@ -75,21 +75,78 @@
<h1><a href="mapsengine_v1.html">Google Maps Engine API</a> . <a href="mapsengine_v1.rasterCollections.html">rasterCollections</a> . <a href="mapsengine_v1.rasterCollections.rasters.html">rasters</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#list">list(id, modifiedAfter=None, createdAfter=None, pageToken=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
+ <code><a href="#batchDelete">batchDelete(id, body)</a></code></p>
+<p class="firstline">Remove rasters from an existing raster collection.</p>
+<p class="toc_element">
+ <code><a href="#batchInsert">batchInsert(id, body)</a></code></p>
+<p class="firstline">Add rasters to an existing raster collection. Rasters must be successfully processed in order to be added to a raster collection.</p>
+<p class="toc_element">
+ <code><a href="#list">list(id, modifiedAfter=None, pageToken=None, createdAfter=None, tags=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
<p class="firstline">Return all rasters within a raster collection.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="list">list(id, modifiedAfter=None, createdAfter=None, pageToken=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
+ <code class="details" id="batchDelete">batchDelete(id, body)</code>
+ <pre>Remove rasters from an existing raster collection.
+
+Up to 50 rasters can be included in a single batchDelete request. Each batchDelete request is atomic.
+
+Args:
+ id: string, The ID of the raster collection to which these rasters belong. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The request sent to rasterCollections.Rasters.BatchDelete.
+ "ids": [ # An array of Raster asset IDs to be removed from this RasterCollection.
+ "A String",
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The response returned by a call to rasterCollections.rasters.batchDelete.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="batchInsert">batchInsert(id, body)</code>
+ <pre>Add rasters to an existing raster collection. Rasters must be successfully processed in order to be added to a raster collection.
+
+Up to 50 rasters can be included in a single batchInsert request. Each batchInsert request is atomic.
+
+Args:
+ id: string, The ID of the raster collection to which these rasters belong. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The request sent to rasterCollections.Rasters.BatchInsert.
+ "ids": [ # An array of Raster asset IDs to be added to this RasterCollection.
+ "A String",
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The response returned by a call to rasterCollections.rasters.batchInsert.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(id, modifiedAfter=None, pageToken=None, createdAfter=None, tags=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
<pre>Return all rasters within a raster collection.
Args:
id: string, The ID of the raster collection to which these rasters belong. (required)
modifiedAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
- createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
+ createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
+ tags: string, A comma separated list of tags. Returned assets will contain all the tags from the list.
maxResults: integer, The maximum number of items to include in a single response page. The maximum supported value is 100.
createdBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.
bbox: string, A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
@@ -110,7 +167,7 @@
"rasterType": "image", # The type of this Raster. Always "image" today.
"projectId": "A String", # The ID of the project that this Raster is in.
"creationTime": "A String", # The creation time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Raster. The numbers represent latitudes and longitudes in decimal degrees.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Raster. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
"lastModifiedTime": "A String", # The last modified time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
diff --git a/docs/dyn/mapsengine_v1.rasters.html b/docs/dyn/mapsengine_v1.rasters.html
index 006eab7..a24f148 100644
--- a/docs/dyn/mapsengine_v1.rasters.html
+++ b/docs/dyn/mapsengine_v1.rasters.html
@@ -85,13 +85,28 @@
<p class="firstline">Returns the parents Resource.</p>
<p class="toc_element">
+ <code><a href="#delete">delete(id)</a></code></p>
+<p class="firstline">Delete a raster.</p>
+<p class="toc_element">
<code><a href="#get">get(id)</a></code></p>
<p class="firstline">Return metadata for a single raster.</p>
<p class="toc_element">
+ <code><a href="#patch">patch(id, body)</a></code></p>
+<p class="firstline">Mutate a raster asset.</p>
+<p class="toc_element">
<code><a href="#upload">upload(body)</a></code></p>
<p class="firstline">Create a skeleton raster asset for upload.</p>
<h3>Method Details</h3>
<div class="method">
+ <code class="details" id="delete">delete(id)</code>
+ <pre>Delete a raster.
+
+Args:
+ id: string, The ID of the raster. Only the raster creator or project owner are permitted to delete. If the raster is included in a layer or mosaic, the request will fail. Remove it from all parents prior to deleting. (required)
+</pre>
+</div>
+
+<div class="method">
<code class="details" id="get">get(id)</code>
<pre>Return metadata for a single raster.
@@ -111,36 +126,76 @@
],
"attribution": "A String", # The name of the attribution to be used for this Raster.
"description": "A String", # The description of this Raster, supplied by the author.
- "processingStatus": "A String", # The processing status of this Raster. The raster processing status values can be:
- #
- # 'notReady': The raster is not ready to be processed - some files have not been uploaded.
- # 'ready': The raster is queued for processing.
- # 'processing': The raster is currently processing.
- # 'complete': Processing has completed successfully.
- # 'failed': Processing failed to complete.
- "draftAccessList": "A String", # The Map Editors access list to share this Raster with.
+ "processingStatus": "A String", # The processing status of this Raster.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
"projectId": "A String", # The ID of the project that this Raster is in.
"tags": [ # Tags of this Raster.
"A String",
],
"creationTime": "A String", # The creation time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"name": "A String", # The name of this Raster, supplied by the author.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
"acquisitionTime": { # Acquisition time represents acquired time of a raster. # The acquisition time of this Raster.
"start": "A String", # The acquisition time, or start time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
"end": "A String", # The end time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
- "precision": "A String", # The precision of acquisition time. Valid values include: 'year', 'month', 'day', 'hour', 'minute' and 'second'.
+ "precision": "A String", # The precision of acquisition time.
},
- "maskType": "autoMask", # The mask processing type of this Raster. Valid values include "autoMask", "alphaChannelMask", "noMask", "imageMask".
+ "maskType": "autoMask", # The mask processing type of this Raster.
"lastModifiedTime": "A String", # The last modified time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"id": "A String", # A globally unique ID, used to refer to this Raster.
- "rasterType": "image", # The type of this Raster. Always "image" today.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Raster. The numbers represent latitudes and longitudes in decimal degrees.
+ "rasterType": "A String", # The type of this Raster. Always "image" today.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Raster. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
}</pre>
</div>
<div class="method">
+ <code class="details" id="patch">patch(id, body)</code>
+ <pre>Mutate a raster asset.
+
+Args:
+ id: string, The ID of the raster. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A geo-referenced raster.
+ "files": [ # The files associated with this Raster.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "attribution": "A String", # The name of the attribution to be used for this Raster.
+ "description": "A String", # The description of this Raster, supplied by the author.
+ "processingStatus": "A String", # The processing status of this Raster.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project that this Raster is in.
+ "tags": [ # Tags of this Raster.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "name": "A String", # The name of this Raster, supplied by the author.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "acquisitionTime": { # Acquisition time represents acquired time of a raster. # The acquisition time of this Raster.
+ "start": "A String", # The acquisition time, or start time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
+ "end": "A String", # The end time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
+ "precision": "A String", # The precision of acquisition time.
+ },
+ "maskType": "autoMask", # The mask processing type of this Raster.
+ "lastModifiedTime": "A String", # The last modified time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "id": "A String", # A globally unique ID, used to refer to this Raster.
+ "rasterType": "A String", # The type of this Raster. Always "image" today.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Raster. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ }
+
+</pre>
+</div>
+
+<div class="method">
<code class="details" id="upload">upload(body)</code>
<pre>Create a skeleton raster asset for upload.
@@ -158,30 +213,25 @@
],
"attribution": "A String", # The name of the attribution to be used for this Raster.
"description": "A String", # The description of this Raster, supplied by the author.
- "processingStatus": "A String", # The processing status of this Raster. The raster processing status values can be:
- #
- # 'notReady': The raster is not ready to be processed - some files have not been uploaded.
- # 'ready': The raster is queued for processing.
- # 'processing': The raster is currently processing.
- # 'complete': Processing has completed successfully.
- # 'failed': Processing failed to complete.
- "draftAccessList": "A String", # The Map Editors access list to share this Raster with.
+ "processingStatus": "A String", # The processing status of this Raster.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
"projectId": "A String", # The ID of the project that this Raster is in.
"tags": [ # Tags of this Raster.
"A String",
],
"creationTime": "A String", # The creation time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"name": "A String", # The name of this Raster, supplied by the author.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
"acquisitionTime": { # Acquisition time represents acquired time of a raster. # The acquisition time of this Raster.
"start": "A String", # The acquisition time, or start time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
"end": "A String", # The end time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
- "precision": "A String", # The precision of acquisition time. Valid values include: 'year', 'month', 'day', 'hour', 'minute' and 'second'.
+ "precision": "A String", # The precision of acquisition time.
},
- "maskType": "autoMask", # The mask processing type of this Raster. Valid values include "autoMask", "alphaChannelMask", "noMask", "imageMask".
+ "maskType": "autoMask", # The mask processing type of this Raster.
"lastModifiedTime": "A String", # The last modified time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"id": "A String", # A globally unique ID, used to refer to this Raster.
- "rasterType": "image", # The type of this Raster. Always "image" today.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Raster. The numbers represent latitudes and longitudes in decimal degrees.
+ "rasterType": "A String", # The type of this Raster. Always "image" today.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Raster. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
}
@@ -200,30 +250,25 @@
],
"attribution": "A String", # The name of the attribution to be used for this Raster.
"description": "A String", # The description of this Raster, supplied by the author.
- "processingStatus": "A String", # The processing status of this Raster. The raster processing status values can be:
- #
- # 'notReady': The raster is not ready to be processed - some files have not been uploaded.
- # 'ready': The raster is queued for processing.
- # 'processing': The raster is currently processing.
- # 'complete': Processing has completed successfully.
- # 'failed': Processing failed to complete.
- "draftAccessList": "A String", # The Map Editors access list to share this Raster with.
+ "processingStatus": "A String", # The processing status of this Raster.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
"projectId": "A String", # The ID of the project that this Raster is in.
"tags": [ # Tags of this Raster.
"A String",
],
"creationTime": "A String", # The creation time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"name": "A String", # The name of this Raster, supplied by the author.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
"acquisitionTime": { # Acquisition time represents acquired time of a raster. # The acquisition time of this Raster.
"start": "A String", # The acquisition time, or start time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
"end": "A String", # The end time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
- "precision": "A String", # The precision of acquisition time. Valid values include: 'year', 'month', 'day', 'hour', 'minute' and 'second'.
+ "precision": "A String", # The precision of acquisition time.
},
- "maskType": "autoMask", # The mask processing type of this Raster. Valid values include "autoMask", "alphaChannelMask", "noMask", "imageMask".
+ "maskType": "autoMask", # The mask processing type of this Raster.
"lastModifiedTime": "A String", # The last modified time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"id": "A String", # A globally unique ID, used to refer to this Raster.
- "rasterType": "image", # The type of this Raster. Always "image" today.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this Raster. The numbers represent latitudes and longitudes in decimal degrees.
+ "rasterType": "A String", # The type of this Raster. Always "image" today.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this Raster. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
}</pre>
diff --git a/docs/dyn/mapsengine_v1.rasters.parents.html b/docs/dyn/mapsengine_v1.rasters.parents.html
index dd88be5..dea225c 100644
--- a/docs/dyn/mapsengine_v1.rasters.parents.html
+++ b/docs/dyn/mapsengine_v1.rasters.parents.html
@@ -95,7 +95,7 @@
{ # The response returned by a call to parents.List.
"nextPageToken": "A String", # Next page token.
- "parents": [ # Resources returned.
+ "parents": [ # The parent assets.
{ # A list of the parents of an asset.
"id": "A String", # The ID of this parent.
},
diff --git a/docs/dyn/mapsengine_v1.tables.features.html b/docs/dyn/mapsengine_v1.tables.features.html
index 1a3871f..f5368a6 100644
--- a/docs/dyn/mapsengine_v1.tables.features.html
+++ b/docs/dyn/mapsengine_v1.tables.features.html
@@ -134,11 +134,11 @@
{ # The request sent to features.Insert.
"features": [
{ # A feature within a table.
- "geometry": { # A geometry object # The geometry member of this Feature.
+ "geometry": { # The geometry member of this Feature.
},
"type": "Feature", # Identifies this object as a feature.
"properties": { # The properties associated with a feature. # Key/value pairs of this Feature.
- "a_key": "",
+ "a_key": "", # An arbitrary key-value pair. The key must be the name of a column in the table's schema, and the type of the value must correspond to the type specified in the schema.
},
},
],
@@ -173,11 +173,11 @@
{ # The request sent to features.BatchPatch.
"features": [
{ # A feature within a table.
- "geometry": { # A geometry object # The geometry member of this Feature.
+ "geometry": { # The geometry member of this Feature.
},
"type": "Feature", # Identifies this object as a feature.
"properties": { # The properties associated with a feature. # Key/value pairs of this Feature.
- "a_key": "",
+ "a_key": "", # An arbitrary key-value pair. The key must be the name of a column in the table's schema, and the type of the value must correspond to the type specified in the schema.
},
},
],
@@ -203,11 +203,11 @@
An object of the form:
{ # A feature within a table.
- "geometry": { # A geometry object # The geometry member of this Feature.
+ "geometry": { # The geometry member of this Feature.
},
"type": "Feature", # Identifies this object as a feature.
"properties": { # The properties associated with a feature. # Key/value pairs of this Feature.
- "a_key": "",
+ "a_key": "", # An arbitrary key-value pair. The key must be the name of a column in the table's schema, and the type of the value must correspond to the type specified in the schema.
},
}</pre>
</div>
@@ -221,7 +221,7 @@
orderBy: string, An SQL-like order by clause used to sort results. If this parameter is not included, the order of features is undefined.
intersects: string, A geometry literal that specifies the spatial restriction of the query.
pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
- maxResults: integer, The maximum number of items to include in the response, used for paging.
+ maxResults: integer, The maximum number of items to include in the response, used for paging. The maximum supported value is 1000.
version: string, The table version to access. See Accessing Public Data for information.
Allowed values
draft - The draft version.
@@ -240,29 +240,20 @@
"type": "FeatureCollection",
"features": [ # Resources returned.
{ # A feature within a table.
- "geometry": { # A geometry object # The geometry member of this Feature.
+ "geometry": { # The geometry member of this Feature.
},
"type": "Feature", # Identifies this object as a feature.
"properties": { # The properties associated with a feature. # Key/value pairs of this Feature.
- "a_key": "",
+ "a_key": "", # An arbitrary key-value pair. The key must be the name of a column in the table's schema, and the type of the value must correspond to the type specified in the schema.
},
},
],
"schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The feature schema.
"primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
"primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
{
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
+ "type": "A String", # The type of data stored in this column.
"name": "A String", # The column name.
},
],
diff --git a/docs/dyn/mapsengine_v1.tables.html b/docs/dyn/mapsengine_v1.tables.html
index 17f75dc..dba1a5f 100644
--- a/docs/dyn/mapsengine_v1.tables.html
+++ b/docs/dyn/mapsengine_v1.tables.html
@@ -93,15 +93,21 @@
<code><a href="#create">create(body)</a></code></p>
<p class="firstline">Create a table asset.</p>
<p class="toc_element">
+ <code><a href="#delete">delete(id)</a></code></p>
+<p class="firstline">Delete a table.</p>
+<p class="toc_element">
<code><a href="#get">get(id, version=None)</a></code></p>
<p class="firstline">Return metadata for a particular table, including the schema.</p>
<p class="toc_element">
- <code><a href="#list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
+ <code><a href="#list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
<p class="firstline">Return all tables readable by the current user.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
+ <code><a href="#patch">patch(id, body)</a></code></p>
+<p class="firstline">Mutate a table asset.</p>
+<p class="toc_element">
<code><a href="#upload">upload(body)</a></code></p>
<p class="firstline">Create a placeholder table asset to which table files can be uploaded.</p>
<h3>Method Details</h3>
@@ -114,6 +120,47 @@
The object takes the form of:
{ # A collection of geographic features, and associated metadata.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
+ },
+ ],
+ },
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A collection of geographic features, and associated metadata.
"files": [ # The files associated with this table.
{ # A single File, which is a component of an Asset.
"size": "A String", # The size of the file in bytes.
@@ -124,100 +171,40 @@
"schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
"primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
"primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
{
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
+ "type": "A String", # The type of data stored in this column.
"name": "A String", # The column name.
},
],
},
"description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
"projectId": "A String", # The ID of the project to which the table belongs.
"tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
"A String",
],
"creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
"lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
"id": "A String", # A globally unique ID, used to refer to this table.
"name": "A String", # The name of this table, supplied by the author.
- }
+ }</pre>
+</div>
+<div class="method">
+ <code class="details" id="delete">delete(id)</code>
+ <pre>Delete a table.
-Returns:
- An object of the form:
-
- { # A collection of geographic features, and associated metadata.
- "files": [ # The files associated with this table.
- { # A single File, which is a component of an Asset.
- "size": "A String", # The size of the file in bytes.
- "uploadStatus": "A String", # The upload status of the file.
- "filename": "A String", # The name of the file.
- },
- ],
- "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
- "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
- "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
- {
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
- "name": "A String", # The column name.
- },
- ],
- },
- "description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project to which the table belongs.
- "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this table.
- "name": "A String", # The name of this table, supplied by the author.
- }</pre>
+Args:
+ id: string, The ID of the table. Only the table creator or project owner are permitted to delete. If the table is included in a layer, the request will fail. Remove it from all layers prior to deleting. (required)
+</pre>
</div>
<div class="method">
@@ -235,67 +222,54 @@
An object of the form:
{ # A collection of geographic features, and associated metadata.
- "files": [ # The files associated with this table.
- { # A single File, which is a component of an Asset.
- "size": "A String", # The size of the file in bytes.
- "uploadStatus": "A String", # The upload status of the file.
- "filename": "A String", # The name of the file.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
},
],
- "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
- "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
- "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
- {
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
- "name": "A String", # The column name.
- },
- ],
- },
- "description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project to which the table belongs.
- "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this table.
- "name": "A String", # The name of this table, supplied by the author.
- }</pre>
+ },
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+ }</pre>
</div>
<div class="method">
- <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
+ <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
<pre>Return all tables readable by the current user.
Args:
modifiedAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
- pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
+ tags: string, A comma separated list of tags. Returned assets will contain all the tags from the list.
projectId: string, The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
maxResults: integer, The maximum number of items to include in a single response page. The maximum supported value is 100.
+ pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
createdBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.
bbox: string, A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
creatorEmail: string, An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
@@ -308,55 +282,41 @@
"nextPageToken": "A String", # Next page token.
"tables": [ # Resources returned.
{ # A collection of geographic features, and associated metadata.
- "files": [ # The files associated with this table.
- { # A single File, which is a component of an Asset.
- "size": "A String", # The size of the file in bytes.
- "uploadStatus": "A String", # The upload status of the file.
- "filename": "A String", # The name of the file.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
},
],
- "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
- "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
- "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
- {
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
- "name": "A String", # The column name.
- },
- ],
- },
- "description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project to which the table belongs.
- "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this table.
- "name": "A String", # The name of this table, supplied by the author.
},
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+ },
],
}</pre>
</div>
@@ -376,6 +336,55 @@
</div>
<div class="method">
+ <code class="details" id="patch">patch(id, body)</code>
+ <pre>Mutate a table asset.
+
+Args:
+ id: string, The ID of the table. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A collection of geographic features, and associated metadata.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
+ },
+ ],
+ },
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+}
+
+</pre>
+</div>
+
+<div class="method">
<code class="details" id="upload">upload(body)</code>
<pre>Create a placeholder table asset to which table files can be uploaded.
Once the placeholder has been created, files are uploaded to the https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files endpoint.
@@ -386,6 +395,47 @@
The object takes the form of:
{ # A collection of geographic features, and associated metadata.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
+ },
+ ],
+ },
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A collection of geographic features, and associated metadata.
"files": [ # The files associated with this table.
{ # A single File, which is a component of an Asset.
"size": "A String", # The size of the file in bytes.
@@ -396,100 +446,31 @@
"schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
"primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
"primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
{
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
+ "type": "A String", # The type of data stored in this column.
"name": "A String", # The column name.
},
],
},
"description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
"projectId": "A String", # The ID of the project to which the table belongs.
"tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
"A String",
],
"creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
"lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
"id": "A String", # A globally unique ID, used to refer to this table.
"name": "A String", # The name of this table, supplied by the author.
- }
-
-
-Returns:
- An object of the form:
-
- { # A collection of geographic features, and associated metadata.
- "files": [ # The files associated with this table.
- { # A single File, which is a component of an Asset.
- "size": "A String", # The size of the file in bytes.
- "uploadStatus": "A String", # The upload status of the file.
- "filename": "A String", # The name of the file.
- },
- ],
- "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
- "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
- "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
- {
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
- "name": "A String", # The column name.
- },
- ],
- },
- "description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project to which the table belongs.
- "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this table.
- "name": "A String", # The name of this table, supplied by the author.
- }</pre>
+ }</pre>
</div>
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/mapsengine_v1.tables.parents.html b/docs/dyn/mapsengine_v1.tables.parents.html
index 2e8c2b2..d37fc93 100644
--- a/docs/dyn/mapsengine_v1.tables.parents.html
+++ b/docs/dyn/mapsengine_v1.tables.parents.html
@@ -95,7 +95,7 @@
{ # The response returned by a call to parents.List.
"nextPageToken": "A String", # Next page token.
- "parents": [ # Resources returned.
+ "parents": [ # The parent assets.
{ # A list of the parents of an asset.
"id": "A String", # The ID of this parent.
},
diff --git a/docs/dyn/mirror_v1.html b/docs/dyn/mirror_v1.html
index 4cef53e..f0a382b 100644
--- a/docs/dyn/mirror_v1.html
+++ b/docs/dyn/mirror_v1.html
@@ -90,6 +90,11 @@
<p class="firstline">Returns the locations Resource.</p>
<p class="toc_element">
+ <code><a href="mirror_v1.settings.html">settings()</a></code>
+</p>
+<p class="firstline">Returns the settings Resource.</p>
+
+<p class="toc_element">
<code><a href="mirror_v1.subscriptions.html">subscriptions()</a></code>
</p>
<p class="firstline">Returns the subscriptions Resource.</p>
diff --git a/docs/dyn/mirror_v1.settings.html b/docs/dyn/mirror_v1.settings.html
new file mode 100644
index 0000000..6baa327
--- /dev/null
+++ b/docs/dyn/mirror_v1.settings.html
@@ -0,0 +1,100 @@
+<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="mirror_v1.html">Google Mirror API</a> . <a href="mirror_v1.settings.html">settings</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(id=None)</a></code></p>
+<p class="firstline">Gets a single setting by ID.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(id=None)</code>
+ <pre>Gets a single setting by ID.
+
+Args:
+ id: string, The ID of the setting. The following IDs are valid:
+- locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content. (required)
+
+Returns:
+ An object of the form:
+
+ { # A setting for Glass.
+ "kind": "mirror#setting", # The type of resource. This is always mirror#setting.
+ "id": "A String", # The setting's ID. The following IDs are valid:
+ # - locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content.
+ "value": "A String", # The setting value, as a string.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/mirror_v1.subscriptions.html b/docs/dyn/mirror_v1.subscriptions.html
index 5fa9a79..fa172ce 100644
--- a/docs/dyn/mirror_v1.subscriptions.html
+++ b/docs/dyn/mirror_v1.subscriptions.html
@@ -133,6 +133,7 @@
"collection": "A String", # The collection to subscribe to. Allowed values are:
# - timeline - Changes in the timeline including insertion, deletion, and updates.
# - locations - Location updates.
+ # - settings - Settings updates.
"verifyToken": "A String", # A secret token sent to the subscriber in notifications so that it can verify that the notification was generated by Google.
"userToken": "A String", # An opaque token sent to the subscriber in notifications so that it can determine the ID of the user.
"operation": [ # A list of operations that should be subscribed to. An empty list indicates that all operations on the collection should be subscribed to. Allowed values are:
@@ -179,6 +180,7 @@
"collection": "A String", # The collection to subscribe to. Allowed values are:
# - timeline - Changes in the timeline including insertion, deletion, and updates.
# - locations - Location updates.
+ # - settings - Settings updates.
"verifyToken": "A String", # A secret token sent to the subscriber in notifications so that it can verify that the notification was generated by Google.
"userToken": "A String", # An opaque token sent to the subscriber in notifications so that it can determine the ID of the user.
"operation": [ # A list of operations that should be subscribed to. An empty list indicates that all operations on the collection should be subscribed to. Allowed values are:
@@ -233,6 +235,7 @@
"collection": "A String", # The collection to subscribe to. Allowed values are:
# - timeline - Changes in the timeline including insertion, deletion, and updates.
# - locations - Location updates.
+ # - settings - Settings updates.
"verifyToken": "A String", # A secret token sent to the subscriber in notifications so that it can verify that the notification was generated by Google.
"userToken": "A String", # An opaque token sent to the subscriber in notifications so that it can determine the ID of the user.
"operation": [ # A list of operations that should be subscribed to. An empty list indicates that all operations on the collection should be subscribed to. Allowed values are:
@@ -288,6 +291,7 @@
"collection": "A String", # The collection to subscribe to. Allowed values are:
# - timeline - Changes in the timeline including insertion, deletion, and updates.
# - locations - Location updates.
+ # - settings - Settings updates.
"verifyToken": "A String", # A secret token sent to the subscriber in notifications so that it can verify that the notification was generated by Google.
"userToken": "A String", # An opaque token sent to the subscriber in notifications so that it can determine the ID of the user.
"operation": [ # A list of operations that should be subscribed to. An empty list indicates that all operations on the collection should be subscribed to. Allowed values are:
@@ -334,6 +338,7 @@
"collection": "A String", # The collection to subscribe to. Allowed values are:
# - timeline - Changes in the timeline including insertion, deletion, and updates.
# - locations - Location updates.
+ # - settings - Settings updates.
"verifyToken": "A String", # A secret token sent to the subscriber in notifications so that it can verify that the notification was generated by Google.
"userToken": "A String", # An opaque token sent to the subscriber in notifications so that it can determine the ID of the user.
"operation": [ # A list of operations that should be subscribed to. An empty list indicates that all operations on the collection should be subscribed to. Allowed values are:
diff --git a/docs/dyn/pagespeedonline_v1.pagespeedapi.html b/docs/dyn/pagespeedonline_v1.pagespeedapi.html
index 5ce2117..129f17a 100644
--- a/docs/dyn/pagespeedonline_v1.pagespeedapi.html
+++ b/docs/dyn/pagespeedonline_v1.pagespeedapi.html
@@ -75,11 +75,11 @@
<h1><a href="pagespeedonline_v1.html">PageSpeed Insights API</a> . <a href="pagespeedonline_v1.pagespeedapi.html">pagespeedapi</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#runpagespeed">runpagespeed(url, screenshot=None, locale=None, rule=None, snapshots=None, strategy=None, filter_third_party_resources=None)</a></code></p>
+ <code><a href="#runpagespeed">runpagespeed(url, screenshot=None, locale=None, rule=None, strategy=None, filter_third_party_resources=None)</a></code></p>
<p class="firstline">Runs Page Speed analysis on the page at the specified URL, and returns a Page Speed score, a list of suggestions to make that page faster, and other information.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="runpagespeed">runpagespeed(url, screenshot=None, locale=None, rule=None, snapshots=None, strategy=None, filter_third_party_resources=None)</code>
+ <code class="details" id="runpagespeed">runpagespeed(url, screenshot=None, locale=None, rule=None, strategy=None, filter_third_party_resources=None)</code>
<pre>Runs Page Speed analysis on the page at the specified URL, and returns a Page Speed score, a list of suggestions to make that page faster, and other information.
Args:
@@ -87,7 +87,6 @@
screenshot: boolean, Indicates if binary data containing a screenshot should be included
locale: string, The locale used to localize formatted results
rule: string, A Page Speed rule to run; if none are given, all rules are run (repeated)
- snapshots: boolean, Indicates if binary data containing snapshot images should be included
strategy: string, The analysis strategy to use
Allowed values
desktop - Fetch and analyze the URL for desktop browsers
diff --git a/docs/dyn/plusDomains_v1.activities.html b/docs/dyn/plusDomains_v1.activities.html
index 9f230fc..1dc3790 100644
--- a/docs/dyn/plusDomains_v1.activities.html
+++ b/docs/dyn/plusDomains_v1.activities.html
@@ -233,6 +233,7 @@
},
"kind": "plus#place", # Identifies this resource as a place. Value: "plus#place".
"displayName": "A String", # The display name of the place.
+ "id": "A String", # The id of the place.
"address": { # The physical address of the place.
"formatted": "A String", # The formatted address for display.
},
@@ -389,6 +390,7 @@
},
"kind": "plus#place", # Identifies this resource as a place. Value: "plus#place".
"displayName": "A String", # The display name of the place.
+ "id": "A String", # The id of the place.
"address": { # The physical address of the place.
"formatted": "A String", # The formatted address for display.
},
@@ -540,6 +542,7 @@
},
"kind": "plus#place", # Identifies this resource as a place. Value: "plus#place".
"displayName": "A String", # The display name of the place.
+ "id": "A String", # The id of the place.
"address": { # The physical address of the place.
"formatted": "A String", # The formatted address for display.
},
@@ -707,6 +710,7 @@
},
"kind": "plus#place", # Identifies this resource as a place. Value: "plus#place".
"displayName": "A String", # The display name of the place.
+ "id": "A String", # The id of the place.
"address": { # The physical address of the place.
"formatted": "A String", # The formatted address for display.
},
diff --git a/docs/dyn/plusDomains_v1.people.html b/docs/dyn/plusDomains_v1.people.html
index 453887b..806ccbb 100644
--- a/docs/dyn/plusDomains_v1.people.html
+++ b/docs/dyn/plusDomains_v1.people.html
@@ -110,13 +110,14 @@
"braggingRights": "A String", # The "bragging rights" line of this person.
"image": { # The representation of the person's profile photo.
"url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+ "isDefault": True or False, # Whether the person's profile photo is the default one
},
"domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
"id": "A String", # The ID of this person.
"occupation": "A String", # The occupation of this person.
"verified": True or False, # Whether the person or Google+ Page has been verified.
"tagline": "A String", # The brief description (tagline) of this person.
- "currentLocation": "A String", # The current location for this person.
+ "currentLocation": "A String", # (this field is not currently used)
"etag": "A String", # ETag of this response for caching purposes.
"circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
"objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
@@ -239,13 +240,14 @@
"braggingRights": "A String", # The "bragging rights" line of this person.
"image": { # The representation of the person's profile photo.
"url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+ "isDefault": True or False, # Whether the person's profile photo is the default one
},
"domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
"id": "A String", # The ID of this person.
"occupation": "A String", # The occupation of this person.
"verified": True or False, # Whether the person or Google+ Page has been verified.
"tagline": "A String", # The brief description (tagline) of this person.
- "currentLocation": "A String", # The current location for this person.
+ "currentLocation": "A String", # (this field is not currently used)
"etag": "A String", # ETag of this response for caching purposes.
"circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
"objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
@@ -371,13 +373,14 @@
"braggingRights": "A String", # The "bragging rights" line of this person.
"image": { # The representation of the person's profile photo.
"url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+ "isDefault": True or False, # Whether the person's profile photo is the default one
},
"domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
"id": "A String", # The ID of this person.
"occupation": "A String", # The occupation of this person.
"verified": True or False, # Whether the person or Google+ Page has been verified.
"tagline": "A String", # The brief description (tagline) of this person.
- "currentLocation": "A String", # The current location for this person.
+ "currentLocation": "A String", # (this field is not currently used)
"etag": "A String", # ETag of this response for caching purposes.
"circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
"objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
@@ -512,13 +515,14 @@
"braggingRights": "A String", # The "bragging rights" line of this person.
"image": { # The representation of the person's profile photo.
"url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+ "isDefault": True or False, # Whether the person's profile photo is the default one
},
"domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
"id": "A String", # The ID of this person.
"occupation": "A String", # The occupation of this person.
"verified": True or False, # Whether the person or Google+ Page has been verified.
"tagline": "A String", # The brief description (tagline) of this person.
- "currentLocation": "A String", # The current location for this person.
+ "currentLocation": "A String", # (this field is not currently used)
"etag": "A String", # ETag of this response for caching purposes.
"circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
"objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
diff --git a/docs/dyn/plus_v1.activities.html b/docs/dyn/plus_v1.activities.html
index a90f7cc..7f33bf5 100644
--- a/docs/dyn/plus_v1.activities.html
+++ b/docs/dyn/plus_v1.activities.html
@@ -223,6 +223,7 @@
},
"kind": "plus#place", # Identifies this resource as a place. Value: "plus#place".
"displayName": "A String", # The display name of the place.
+ "id": "A String", # The id of the place.
"address": { # The physical address of the place.
"formatted": "A String", # The formatted address for display.
},
@@ -377,6 +378,7 @@
},
"kind": "plus#place", # Identifies this resource as a place. Value: "plus#place".
"displayName": "A String", # The display name of the place.
+ "id": "A String", # The id of the place.
"address": { # The physical address of the place.
"formatted": "A String", # The formatted address for display.
},
@@ -554,6 +556,7 @@
},
"kind": "plus#place", # Identifies this resource as a place. Value: "plus#place".
"displayName": "A String", # The display name of the place.
+ "id": "A String", # The id of the place.
"address": { # The physical address of the place.
"formatted": "A String", # The formatted address for display.
},
diff --git a/docs/dyn/plus_v1.moments.html b/docs/dyn/plus_v1.moments.html
index bcffab3..9670004 100644
--- a/docs/dyn/plus_v1.moments.html
+++ b/docs/dyn/plus_v1.moments.html
@@ -76,7 +76,7 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#insert">insert(userId, collection, body, debug=None)</a></code></p>
-<p class="firstline">Record a moment representing a user's activity such as making a purchase or commenting on a blog.</p>
+<p class="firstline">Record a moment representing a user's action such as making a purchase or commenting on a blog.</p>
<p class="toc_element">
<code><a href="#list">list(userId, collection, pageToken=None, maxResults=None, targetUrl=None, type=None)</a></code></p>
<p class="firstline">List all of the moments for a particular user.</p>
@@ -89,10 +89,10 @@
<h3>Method Details</h3>
<div class="method">
<code class="details" id="insert">insert(userId, collection, body, debug=None)</code>
- <pre>Record a moment representing a user's activity such as making a purchase or commenting on a blog.
+ <pre>Record a moment representing a user's action such as making a purchase or commenting on a blog.
Args:
- userId: string, The ID of the user to record activities for. The only valid values are "me" and the ID of the authenticated user. (required)
+ userId: string, The ID of the user to record actions for. The only valid values are "me" and the ID of the authenticated user. (required)
collection: string, The collection to which to write moments. (required)
Allowed values
vault - The default collection for writing new moments.
@@ -120,7 +120,7 @@
# Object with schema name: ItemScope
],
"thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
- "id": "A String", # An identifier for the target. Your app can choose how to identify targets. The target.id is required if you are writing an activity that does not have a corresponding web page or target.url property.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
"postOfficeBoxNumber": "A String", # Post office box number.
"attendees": [ # A person attending the event.
# Object with schema name: ItemScope
@@ -138,7 +138,7 @@
"location": # Object with schema name: ItemScope # The location of the event or organization.
"latitude": 3.14, # Latitude.
"byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
- "type": "A String", # The schema.org URL that best describes the referenced target and matches the type of moment.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
"dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
"contentSize": "A String", # File size in (mega/kilo) bytes.
"contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
@@ -171,7 +171,7 @@
"reviewRating": # Object with schema name: ItemScope # Review rating.
"audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
},
- "result": { # The object generated by performing the action on the target. For example, a user writes a review of a restaurant, the target is the restaurant and the result is the review.
+ "object": { # The object on which the action was performed. Specifying this is equivalent with specifying "target". Note that responses from the server will use the "target" field instead for backward-compatibility with older clients.
"startDate": "A String", # The start date and time of the event (in ISO 8601 date format).
"endDate": "A String", # The end date and time of the event (in ISO 8601 date format).
"text": "A String", # The text that is the result of the app activity. For example, if a user leaves a review of a restaurant, this might be the text of the review.
@@ -189,7 +189,7 @@
# Object with schema name: ItemScope
],
"thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
- "id": "A String", # An identifier for the target. Your app can choose how to identify targets. The target.id is required if you are writing an activity that does not have a corresponding web page or target.url property.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
"postOfficeBoxNumber": "A String", # Post office box number.
"attendees": [ # A person attending the event.
# Object with schema name: ItemScope
@@ -207,7 +207,7 @@
"location": # Object with schema name: ItemScope # The location of the event or organization.
"latitude": 3.14, # Latitude.
"byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
- "type": "A String", # The schema.org URL that best describes the referenced target and matches the type of moment.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
"dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
"contentSize": "A String", # File size in (mega/kilo) bytes.
"contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
@@ -240,7 +240,76 @@
"reviewRating": # Object with schema name: ItemScope # Review rating.
"audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
},
- "type": "A String", # The Google schema for the type of moment to write. For example, http://schemas.google.com/AddActivity.
+ "result": { # The object generated by performing the action on the object. For example, a user writes a review of a restaurant, the object is the restaurant and the result is the review.
+ "startDate": "A String", # The start date and time of the event (in ISO 8601 date format).
+ "endDate": "A String", # The end date and time of the event (in ISO 8601 date format).
+ "text": "A String", # The text that is the result of the app activity. For example, if a user leaves a review of a restaurant, this might be the text of the review.
+ "image": "A String", # A URL to the image that represents this result. For example, if a user writes a review of a restaurant and attaches a photo of their meal, you might use that photo as the result.image.
+ "address": # Object with schema name: ItemScope # Postal address.
+ "birthDate": "A String", # Date of birth.
+ "datePublished": "A String", # The initial date that the result was published. For example, a user writes a comment on a blog, which has a result.dateCreated of when they submit it. If the blog users comment moderation, the result.datePublished value would match the date when the owner approved the message.
+ "addressLocality": "A String", # Address locality.
+ "duration": "A String", # The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
+ "additionalName": [ # An additional name for a Person, can be used for a middle name.
+ "A String",
+ ],
+ "worstRating": "A String", # Worst possible rating value that a result might obtain. This property defines the lower bound for the ratingValue.
+ "contributor": [ # A list of contributors to this result.
+ # Object with schema name: ItemScope
+ ],
+ "thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
+ "postOfficeBoxNumber": "A String", # Post office box number.
+ "attendees": [ # A person attending the event.
+ # Object with schema name: ItemScope
+ ],
+ "author": [ # The person or persons who created this result. In the example of restaurant reviews, this might be the reviewer's name.
+ # Object with schema name: ItemScope
+ ],
+ "associated_media": [ # The encoding.
+ # Object with schema name: ItemScope
+ ],
+ "bestRating": "A String", # Best possible rating value that a result might obtain. This property defines the upper bound for the ratingValue. For example, you might have a 5 star rating scale, you would provide 5 as the value for this property.
+ "addressCountry": "A String", # Address country.
+ "width": "A String", # The width of the media object.
+ "streetAddress": "A String", # Street address.
+ "location": # Object with schema name: ItemScope # The location of the event or organization.
+ "latitude": 3.14, # Latitude.
+ "byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
+ "dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
+ "contentSize": "A String", # File size in (mega/kilo) bytes.
+ "contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
+ "partOfTVSeries": # Object with schema name: ItemScope # Property of http://schema.org/TVEpisode indicating which series the episode belongs to.
+ "description": "A String", # The string that describes the content of the result.
+ "familyName": "A String", # Family name. This property can be used with givenName instead of the name property.
+ "kind": "plus#itemScope", # Identifies this resource as an itemScope.
+ "dateCreated": "A String", # The date the result was created such as the date that a review was first created.
+ "postalCode": "A String", # Postal code.
+ "attendeeCount": 42, # Number of attendees.
+ "inAlbum": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, which album a song is in.
+ "addressRegion": "A String", # Address region.
+ "height": "A String", # The height of the media object.
+ "geo": # Object with schema name: ItemScope # Geo coordinates.
+ "embedUrl": "A String", # A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.
+ "tickerSymbol": "A String", # The exchange traded instrument associated with a Corporation object. The tickerSymbol is expressed as an exchange and an instrument name separated by a space character. For the exchange component of the tickerSymbol attribute, we recommend using the controlled vocabulary of Market Identifier Codes (MIC) specified in ISO15022.
+ "playerType": "A String", # Player type that is required. For example: Flash or Silverlight.
+ "about": # Object with schema name: ItemScope # The subject matter of the content.
+ "givenName": "A String", # Given name. This property can be used with familyName instead of the name property.
+ "name": "A String", # The name of the result. In the example of a restaurant review, this might be the summary the user gave their review such as "Great ambiance, but overpriced."
+ "performers": [ # The main performer or performers of the event-for example, a presenter, musician, or actor.
+ # Object with schema name: ItemScope
+ ],
+ "url": "A String", # The URL that points to the result object. For example, a permalink directly to a restaurant reviewer's comment.
+ "gender": "A String", # Gender of the person.
+ "longitude": 3.14, # Longitude.
+ "thumbnail": # Object with schema name: ItemScope # Thumbnail image for an image or video.
+ "caption": "A String", # The caption for this object.
+ "ratingValue": "A String", # Rating value.
+ "reviewRating": # Object with schema name: ItemScope # Review rating.
+ "audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
+ },
+ "type": "A String", # The schema.org type for the type of moment to write. For example, http://schema.org/AddAction. Note that responses from the server will use the Google schema type instead for backward-compatibility with older clients. For example, http://schemas.google.com/AddActivity.
"id": "A String", # The moment ID.
}
@@ -270,7 +339,7 @@
# Object with schema name: ItemScope
],
"thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
- "id": "A String", # An identifier for the target. Your app can choose how to identify targets. The target.id is required if you are writing an activity that does not have a corresponding web page or target.url property.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
"postOfficeBoxNumber": "A String", # Post office box number.
"attendees": [ # A person attending the event.
# Object with schema name: ItemScope
@@ -288,7 +357,7 @@
"location": # Object with schema name: ItemScope # The location of the event or organization.
"latitude": 3.14, # Latitude.
"byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
- "type": "A String", # The schema.org URL that best describes the referenced target and matches the type of moment.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
"dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
"contentSize": "A String", # File size in (mega/kilo) bytes.
"contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
@@ -321,7 +390,7 @@
"reviewRating": # Object with schema name: ItemScope # Review rating.
"audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
},
- "result": { # The object generated by performing the action on the target. For example, a user writes a review of a restaurant, the target is the restaurant and the result is the review.
+ "object": { # The object on which the action was performed. Specifying this is equivalent with specifying "target". Note that responses from the server will use the "target" field instead for backward-compatibility with older clients.
"startDate": "A String", # The start date and time of the event (in ISO 8601 date format).
"endDate": "A String", # The end date and time of the event (in ISO 8601 date format).
"text": "A String", # The text that is the result of the app activity. For example, if a user leaves a review of a restaurant, this might be the text of the review.
@@ -339,7 +408,7 @@
# Object with schema name: ItemScope
],
"thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
- "id": "A String", # An identifier for the target. Your app can choose how to identify targets. The target.id is required if you are writing an activity that does not have a corresponding web page or target.url property.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
"postOfficeBoxNumber": "A String", # Post office box number.
"attendees": [ # A person attending the event.
# Object with schema name: ItemScope
@@ -357,7 +426,7 @@
"location": # Object with schema name: ItemScope # The location of the event or organization.
"latitude": 3.14, # Latitude.
"byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
- "type": "A String", # The schema.org URL that best describes the referenced target and matches the type of moment.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
"dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
"contentSize": "A String", # File size in (mega/kilo) bytes.
"contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
@@ -390,7 +459,76 @@
"reviewRating": # Object with schema name: ItemScope # Review rating.
"audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
},
- "type": "A String", # The Google schema for the type of moment to write. For example, http://schemas.google.com/AddActivity.
+ "result": { # The object generated by performing the action on the object. For example, a user writes a review of a restaurant, the object is the restaurant and the result is the review.
+ "startDate": "A String", # The start date and time of the event (in ISO 8601 date format).
+ "endDate": "A String", # The end date and time of the event (in ISO 8601 date format).
+ "text": "A String", # The text that is the result of the app activity. For example, if a user leaves a review of a restaurant, this might be the text of the review.
+ "image": "A String", # A URL to the image that represents this result. For example, if a user writes a review of a restaurant and attaches a photo of their meal, you might use that photo as the result.image.
+ "address": # Object with schema name: ItemScope # Postal address.
+ "birthDate": "A String", # Date of birth.
+ "datePublished": "A String", # The initial date that the result was published. For example, a user writes a comment on a blog, which has a result.dateCreated of when they submit it. If the blog users comment moderation, the result.datePublished value would match the date when the owner approved the message.
+ "addressLocality": "A String", # Address locality.
+ "duration": "A String", # The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
+ "additionalName": [ # An additional name for a Person, can be used for a middle name.
+ "A String",
+ ],
+ "worstRating": "A String", # Worst possible rating value that a result might obtain. This property defines the lower bound for the ratingValue.
+ "contributor": [ # A list of contributors to this result.
+ # Object with schema name: ItemScope
+ ],
+ "thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
+ "postOfficeBoxNumber": "A String", # Post office box number.
+ "attendees": [ # A person attending the event.
+ # Object with schema name: ItemScope
+ ],
+ "author": [ # The person or persons who created this result. In the example of restaurant reviews, this might be the reviewer's name.
+ # Object with schema name: ItemScope
+ ],
+ "associated_media": [ # The encoding.
+ # Object with schema name: ItemScope
+ ],
+ "bestRating": "A String", # Best possible rating value that a result might obtain. This property defines the upper bound for the ratingValue. For example, you might have a 5 star rating scale, you would provide 5 as the value for this property.
+ "addressCountry": "A String", # Address country.
+ "width": "A String", # The width of the media object.
+ "streetAddress": "A String", # Street address.
+ "location": # Object with schema name: ItemScope # The location of the event or organization.
+ "latitude": 3.14, # Latitude.
+ "byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
+ "dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
+ "contentSize": "A String", # File size in (mega/kilo) bytes.
+ "contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
+ "partOfTVSeries": # Object with schema name: ItemScope # Property of http://schema.org/TVEpisode indicating which series the episode belongs to.
+ "description": "A String", # The string that describes the content of the result.
+ "familyName": "A String", # Family name. This property can be used with givenName instead of the name property.
+ "kind": "plus#itemScope", # Identifies this resource as an itemScope.
+ "dateCreated": "A String", # The date the result was created such as the date that a review was first created.
+ "postalCode": "A String", # Postal code.
+ "attendeeCount": 42, # Number of attendees.
+ "inAlbum": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, which album a song is in.
+ "addressRegion": "A String", # Address region.
+ "height": "A String", # The height of the media object.
+ "geo": # Object with schema name: ItemScope # Geo coordinates.
+ "embedUrl": "A String", # A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.
+ "tickerSymbol": "A String", # The exchange traded instrument associated with a Corporation object. The tickerSymbol is expressed as an exchange and an instrument name separated by a space character. For the exchange component of the tickerSymbol attribute, we recommend using the controlled vocabulary of Market Identifier Codes (MIC) specified in ISO15022.
+ "playerType": "A String", # Player type that is required. For example: Flash or Silverlight.
+ "about": # Object with schema name: ItemScope # The subject matter of the content.
+ "givenName": "A String", # Given name. This property can be used with familyName instead of the name property.
+ "name": "A String", # The name of the result. In the example of a restaurant review, this might be the summary the user gave their review such as "Great ambiance, but overpriced."
+ "performers": [ # The main performer or performers of the event-for example, a presenter, musician, or actor.
+ # Object with schema name: ItemScope
+ ],
+ "url": "A String", # The URL that points to the result object. For example, a permalink directly to a restaurant reviewer's comment.
+ "gender": "A String", # Gender of the person.
+ "longitude": 3.14, # Longitude.
+ "thumbnail": # Object with schema name: ItemScope # Thumbnail image for an image or video.
+ "caption": "A String", # The caption for this object.
+ "ratingValue": "A String", # Rating value.
+ "reviewRating": # Object with schema name: ItemScope # Review rating.
+ "audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
+ },
+ "type": "A String", # The schema.org type for the type of moment to write. For example, http://schema.org/AddAction. Note that responses from the server will use the Google schema type instead for backward-compatibility with older clients. For example, http://schemas.google.com/AddActivity.
"id": "A String", # The moment ID.
}</pre>
</div>
@@ -438,7 +576,7 @@
# Object with schema name: ItemScope
],
"thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
- "id": "A String", # An identifier for the target. Your app can choose how to identify targets. The target.id is required if you are writing an activity that does not have a corresponding web page or target.url property.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
"postOfficeBoxNumber": "A String", # Post office box number.
"attendees": [ # A person attending the event.
# Object with schema name: ItemScope
@@ -456,7 +594,7 @@
"location": # Object with schema name: ItemScope # The location of the event or organization.
"latitude": 3.14, # Latitude.
"byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
- "type": "A String", # The schema.org URL that best describes the referenced target and matches the type of moment.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
"dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
"contentSize": "A String", # File size in (mega/kilo) bytes.
"contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
@@ -489,7 +627,7 @@
"reviewRating": # Object with schema name: ItemScope # Review rating.
"audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
},
- "result": { # The object generated by performing the action on the target. For example, a user writes a review of a restaurant, the target is the restaurant and the result is the review.
+ "object": { # The object on which the action was performed. Specifying this is equivalent with specifying "target". Note that responses from the server will use the "target" field instead for backward-compatibility with older clients.
"startDate": "A String", # The start date and time of the event (in ISO 8601 date format).
"endDate": "A String", # The end date and time of the event (in ISO 8601 date format).
"text": "A String", # The text that is the result of the app activity. For example, if a user leaves a review of a restaurant, this might be the text of the review.
@@ -507,7 +645,7 @@
# Object with schema name: ItemScope
],
"thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
- "id": "A String", # An identifier for the target. Your app can choose how to identify targets. The target.id is required if you are writing an activity that does not have a corresponding web page or target.url property.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
"postOfficeBoxNumber": "A String", # Post office box number.
"attendees": [ # A person attending the event.
# Object with schema name: ItemScope
@@ -525,7 +663,7 @@
"location": # Object with schema name: ItemScope # The location of the event or organization.
"latitude": 3.14, # Latitude.
"byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
- "type": "A String", # The schema.org URL that best describes the referenced target and matches the type of moment.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
"dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
"contentSize": "A String", # File size in (mega/kilo) bytes.
"contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
@@ -558,7 +696,76 @@
"reviewRating": # Object with schema name: ItemScope # Review rating.
"audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
},
- "type": "A String", # The Google schema for the type of moment to write. For example, http://schemas.google.com/AddActivity.
+ "result": { # The object generated by performing the action on the object. For example, a user writes a review of a restaurant, the object is the restaurant and the result is the review.
+ "startDate": "A String", # The start date and time of the event (in ISO 8601 date format).
+ "endDate": "A String", # The end date and time of the event (in ISO 8601 date format).
+ "text": "A String", # The text that is the result of the app activity. For example, if a user leaves a review of a restaurant, this might be the text of the review.
+ "image": "A String", # A URL to the image that represents this result. For example, if a user writes a review of a restaurant and attaches a photo of their meal, you might use that photo as the result.image.
+ "address": # Object with schema name: ItemScope # Postal address.
+ "birthDate": "A String", # Date of birth.
+ "datePublished": "A String", # The initial date that the result was published. For example, a user writes a comment on a blog, which has a result.dateCreated of when they submit it. If the blog users comment moderation, the result.datePublished value would match the date when the owner approved the message.
+ "addressLocality": "A String", # Address locality.
+ "duration": "A String", # The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
+ "additionalName": [ # An additional name for a Person, can be used for a middle name.
+ "A String",
+ ],
+ "worstRating": "A String", # Worst possible rating value that a result might obtain. This property defines the lower bound for the ratingValue.
+ "contributor": [ # A list of contributors to this result.
+ # Object with schema name: ItemScope
+ ],
+ "thumbnailUrl": "A String", # A URL to a thumbnail image that represents this result.
+ "id": "A String", # An identifier for the object. Your app can choose how to identify objects. The object.id is required if you are writing an action that does not have a corresponding web page or object.url property.
+ "postOfficeBoxNumber": "A String", # Post office box number.
+ "attendees": [ # A person attending the event.
+ # Object with schema name: ItemScope
+ ],
+ "author": [ # The person or persons who created this result. In the example of restaurant reviews, this might be the reviewer's name.
+ # Object with schema name: ItemScope
+ ],
+ "associated_media": [ # The encoding.
+ # Object with schema name: ItemScope
+ ],
+ "bestRating": "A String", # Best possible rating value that a result might obtain. This property defines the upper bound for the ratingValue. For example, you might have a 5 star rating scale, you would provide 5 as the value for this property.
+ "addressCountry": "A String", # Address country.
+ "width": "A String", # The width of the media object.
+ "streetAddress": "A String", # Street address.
+ "location": # Object with schema name: ItemScope # The location of the event or organization.
+ "latitude": 3.14, # Latitude.
+ "byArtist": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the artist that performed this recording.
+ "type": "A String", # The schema.org URL that best describes the referenced object and matches the type of moment.
+ "dateModified": "A String", # The date the result was last modified such as the date that a review was last edited.
+ "contentSize": "A String", # File size in (mega/kilo) bytes.
+ "contentUrl": "A String", # Actual bytes of the media object, for example the image file or video file.
+ "partOfTVSeries": # Object with schema name: ItemScope # Property of http://schema.org/TVEpisode indicating which series the episode belongs to.
+ "description": "A String", # The string that describes the content of the result.
+ "familyName": "A String", # Family name. This property can be used with givenName instead of the name property.
+ "kind": "plus#itemScope", # Identifies this resource as an itemScope.
+ "dateCreated": "A String", # The date the result was created such as the date that a review was first created.
+ "postalCode": "A String", # Postal code.
+ "attendeeCount": 42, # Number of attendees.
+ "inAlbum": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, which album a song is in.
+ "addressRegion": "A String", # Address region.
+ "height": "A String", # The height of the media object.
+ "geo": # Object with schema name: ItemScope # Geo coordinates.
+ "embedUrl": "A String", # A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.
+ "tickerSymbol": "A String", # The exchange traded instrument associated with a Corporation object. The tickerSymbol is expressed as an exchange and an instrument name separated by a space character. For the exchange component of the tickerSymbol attribute, we recommend using the controlled vocabulary of Market Identifier Codes (MIC) specified in ISO15022.
+ "playerType": "A String", # Player type that is required. For example: Flash or Silverlight.
+ "about": # Object with schema name: ItemScope # The subject matter of the content.
+ "givenName": "A String", # Given name. This property can be used with familyName instead of the name property.
+ "name": "A String", # The name of the result. In the example of a restaurant review, this might be the summary the user gave their review such as "Great ambiance, but overpriced."
+ "performers": [ # The main performer or performers of the event-for example, a presenter, musician, or actor.
+ # Object with schema name: ItemScope
+ ],
+ "url": "A String", # The URL that points to the result object. For example, a permalink directly to a restaurant reviewer's comment.
+ "gender": "A String", # Gender of the person.
+ "longitude": 3.14, # Longitude.
+ "thumbnail": # Object with schema name: ItemScope # Thumbnail image for an image or video.
+ "caption": "A String", # The caption for this object.
+ "ratingValue": "A String", # Rating value.
+ "reviewRating": # Object with schema name: ItemScope # Review rating.
+ "audio": # Object with schema name: ItemScope # From http://schema.org/MusicRecording, the audio file.
+ },
+ "type": "A String", # The schema.org type for the type of moment to write. For example, http://schema.org/AddAction. Note that responses from the server will use the Google schema type instead for backward-compatibility with older clients. For example, http://schemas.google.com/AddActivity.
"id": "A String", # The moment ID.
},
],
diff --git a/docs/dyn/plus_v1.people.html b/docs/dyn/plus_v1.people.html
index 9f3adda..e23259e 100644
--- a/docs/dyn/plus_v1.people.html
+++ b/docs/dyn/plus_v1.people.html
@@ -110,13 +110,14 @@
"braggingRights": "A String", # The "bragging rights" line of this person.
"image": { # The representation of the person's profile photo.
"url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+ "isDefault": True or False, # Whether the person's profile photo is the default one
},
"domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
"id": "A String", # The ID of this person.
"occupation": "A String", # The occupation of this person.
"verified": True or False, # Whether the person or Google+ Page has been verified.
"tagline": "A String", # The brief description (tagline) of this person.
- "currentLocation": "A String", # The current location for this person.
+ "currentLocation": "A String", # (this field is not currently used)
"etag": "A String", # ETag of this response for caching purposes.
"circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
"objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
@@ -249,13 +250,14 @@
"braggingRights": "A String", # The "bragging rights" line of this person.
"image": { # The representation of the person's profile photo.
"url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+ "isDefault": True or False, # Whether the person's profile photo is the default one
},
"domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
"id": "A String", # The ID of this person.
"occupation": "A String", # The occupation of this person.
"verified": True or False, # Whether the person or Google+ Page has been verified.
"tagline": "A String", # The brief description (tagline) of this person.
- "currentLocation": "A String", # The current location for this person.
+ "currentLocation": "A String", # (this field is not currently used)
"etag": "A String", # ETag of this response for caching purposes.
"circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
"objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
@@ -389,13 +391,14 @@
"braggingRights": "A String", # The "bragging rights" line of this person.
"image": { # The representation of the person's profile photo.
"url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+ "isDefault": True or False, # Whether the person's profile photo is the default one
},
"domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
"id": "A String", # The ID of this person.
"occupation": "A String", # The occupation of this person.
"verified": True or False, # Whether the person or Google+ Page has been verified.
"tagline": "A String", # The brief description (tagline) of this person.
- "currentLocation": "A String", # The current location for this person.
+ "currentLocation": "A String", # (this field is not currently used)
"etag": "A String", # ETag of this response for caching purposes.
"circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
"objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
@@ -554,13 +557,14 @@
"braggingRights": "A String", # The "bragging rights" line of this person.
"image": { # The representation of the person's profile photo.
"url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+ "isDefault": True or False, # Whether the person's profile photo is the default one
},
"domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
"id": "A String", # The ID of this person.
"occupation": "A String", # The occupation of this person.
"verified": True or False, # Whether the person or Google+ Page has been verified.
"tagline": "A String", # The brief description (tagline) of this person.
- "currentLocation": "A String", # The current location for this person.
+ "currentLocation": "A String", # (this field is not currently used)
"etag": "A String", # ETag of this response for caching purposes.
"circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
"objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
diff --git a/docs/dyn/prediction_v1_6.hostedmodels.html b/docs/dyn/prediction_v1_6.hostedmodels.html
index b4d79fb..69e85d1 100644
--- a/docs/dyn/prediction_v1_6.hostedmodels.html
+++ b/docs/dyn/prediction_v1_6.hostedmodels.html
@@ -110,7 +110,7 @@
"label": "A String", # The class label.
},
],
- "outputValue": "A String", # The estimated regression value (Regression models only).
+ "outputValue": 3.14, # The estimated regression value (Regression models only).
"selfLink": "A String", # A URL to re-request this resource.
}</pre>
</div>
diff --git a/docs/dyn/prediction_v1_6.trainedmodels.html b/docs/dyn/prediction_v1_6.trainedmodels.html
index a0de137..c591ff3 100644
--- a/docs/dyn/prediction_v1_6.trainedmodels.html
+++ b/docs/dyn/prediction_v1_6.trainedmodels.html
@@ -376,7 +376,7 @@
"label": "A String", # The class label.
},
],
- "outputValue": "A String", # The estimated regression value (Regression models only).
+ "outputValue": 3.14, # The estimated regression value (Regression models only).
"selfLink": "A String", # A URL to re-request this resource.
}</pre>
</div>
diff --git a/docs/dyn/pubsub_v1beta1.html b/docs/dyn/pubsub_v1beta1.html
new file mode 100644
index 0000000..15bd4ff
--- /dev/null
+++ b/docs/dyn/pubsub_v1beta1.html
@@ -0,0 +1,87 @@
+<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="pubsub_v1beta1.html">Cloud Pub/Sub API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="pubsub_v1beta1.subscriptions.html">subscriptions()</a></code>
+</p>
+<p class="firstline">Returns the subscriptions Resource.</p>
+
+<p class="toc_element">
+ <code><a href="pubsub_v1beta1.topics.html">topics()</a></code>
+</p>
+<p class="firstline">Returns the topics Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/pubsub_v1beta1.subscriptions.html b/docs/dyn/pubsub_v1beta1.subscriptions.html
new file mode 100644
index 0000000..dbaeb5f
--- /dev/null
+++ b/docs/dyn/pubsub_v1beta1.subscriptions.html
@@ -0,0 +1,320 @@
+<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="pubsub_v1beta1.html">Cloud Pub/Sub API</a> . <a href="pubsub_v1beta1.subscriptions.html">subscriptions</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#acknowledge">acknowledge(body)</a></code></p>
+<p class="firstline">Acknowledges a particular received message: the Pub/Sub system can remove the given message from the subscription. Acknowledging a message whose Ack deadline has expired may succeed, but the message could have been already redelivered. Acknowledging a message more than once will not result in an error. This is only used for messages received via pull.</p>
+<p class="toc_element">
+ <code><a href="#create">create(body)</a></code></p>
+<p class="firstline">Creates a subscription on a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(subscription)</a></code></p>
+<p class="firstline">Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND.</p>
+<p class="toc_element">
+ <code><a href="#get">get(subscription)</a></code></p>
+<p class="firstline">Gets the configuration details of a subscription.</p>
+<p class="toc_element">
+ <code><a href="#list">list(pageToken=None, maxResults=None, query=None)</a></code></p>
+<p class="firstline">Lists matching subscriptions.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#modifyAckDeadline">modifyAckDeadline(body)</a></code></p>
+<p class="firstline">Modifies the Ack deadline for a message received from a pull request.</p>
+<p class="toc_element">
+ <code><a href="#modifyPushConfig">modifyPushConfig(body)</a></code></p>
+<p class="firstline">Modifies the PushConfig for a specified subscription. This method can be used to suspend the flow of messages to an end point by clearing the PushConfig field in the request. Messages will be accumulated for delivery even if no push configuration is defined or while the configuration is modified.</p>
+<p class="toc_element">
+ <code><a href="#pull">pull(body)</a></code></p>
+<p class="firstline">Pulls a single message from the server. If return_immediately is true, and no messages are available in the subscription, this method returns FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no messages are available in a reasonable amount of time (to reduce system load).</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="acknowledge">acknowledge(body)</code>
+ <pre>Acknowledges a particular received message: the Pub/Sub system can remove the given message from the subscription. Acknowledging a message whose Ack deadline has expired may succeed, but the message could have been already redelivered. Acknowledging a message more than once will not result in an error. This is only used for messages received via pull.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "ackId": [ # The Ack ID for the message being acknowledged. This was returned by the Pub/Sub system in the Pull response.
+ "A String",
+ ],
+ "subscription": "A String", # The subscription whose message is being acknowledged.
+ }
+
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="create">create(body)</code>
+ <pre>Creates a subscription on a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A subscription resource.
+ "ackDeadlineSeconds": 42, # For either push or pull delivery, the value is the maximum time after a subscriber receives a message before the subscriber should acknowledge or Nack the message. If the Ack deadline for a message passes without an Ack or a Nack, the Pub/Sub system will eventually redeliver the message. If a subscriber acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it is possible that the message has been already delivered again. Multiple Acks to the message are allowed and will succeed.
+ #
+ # For push delivery, this value is used to set the request timeout for the call to the push endpoint.
+ #
+ # For pull delivery, this value is used as the initial value for the Ack deadline. It may be overridden for a specific pull request (message) with ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub system will not deliver that message to another pull subscriber (on a best-effort basis).
+ "topic": "A String", # The name of the topic from which this subscription is receiving messages.
+ "pushConfig": { # Configuration for a push delivery endpoint. # If push delivery is used with this subscription, this field is used to configure it.
+ "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+ },
+ "name": "A String", # Name of the subscription.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A subscription resource.
+ "ackDeadlineSeconds": 42, # For either push or pull delivery, the value is the maximum time after a subscriber receives a message before the subscriber should acknowledge or Nack the message. If the Ack deadline for a message passes without an Ack or a Nack, the Pub/Sub system will eventually redeliver the message. If a subscriber acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it is possible that the message has been already delivered again. Multiple Acks to the message are allowed and will succeed.
+ #
+ # For push delivery, this value is used to set the request timeout for the call to the push endpoint.
+ #
+ # For pull delivery, this value is used as the initial value for the Ack deadline. It may be overridden for a specific pull request (message) with ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub system will not deliver that message to another pull subscriber (on a best-effort basis).
+ "topic": "A String", # The name of the topic from which this subscription is receiving messages.
+ "pushConfig": { # Configuration for a push delivery endpoint. # If push delivery is used with this subscription, this field is used to configure it.
+ "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+ },
+ "name": "A String", # Name of the subscription.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(subscription)</code>
+ <pre>Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND.
+
+Args:
+ subscription: string, The subscription to delete. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(subscription)</code>
+ <pre>Gets the configuration details of a subscription.
+
+Args:
+ subscription: string, The name of the subscription to get. (required)
+
+Returns:
+ An object of the form:
+
+ { # A subscription resource.
+ "ackDeadlineSeconds": 42, # For either push or pull delivery, the value is the maximum time after a subscriber receives a message before the subscriber should acknowledge or Nack the message. If the Ack deadline for a message passes without an Ack or a Nack, the Pub/Sub system will eventually redeliver the message. If a subscriber acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it is possible that the message has been already delivered again. Multiple Acks to the message are allowed and will succeed.
+ #
+ # For push delivery, this value is used to set the request timeout for the call to the push endpoint.
+ #
+ # For pull delivery, this value is used as the initial value for the Ack deadline. It may be overridden for a specific pull request (message) with ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub system will not deliver that message to another pull subscriber (on a best-effort basis).
+ "topic": "A String", # The name of the topic from which this subscription is receiving messages.
+ "pushConfig": { # Configuration for a push delivery endpoint. # If push delivery is used with this subscription, this field is used to configure it.
+ "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+ },
+ "name": "A String", # Name of the subscription.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(pageToken=None, maxResults=None, query=None)</code>
+ <pre>Lists matching subscriptions.
+
+Args:
+ pageToken: string, The value obtained in the last ListSubscriptionsResponse for continuation.
+ maxResults: integer, Maximum number of subscriptions to return.
+ query: string, A valid label query expression.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String", # If not empty, indicates that there are more subscriptions that match the request and this value should be passed to the next ListSubscriptionsRequest to continue.
+ "subscription": [ # The subscriptions that match the request.
+ { # A subscription resource.
+ "ackDeadlineSeconds": 42, # For either push or pull delivery, the value is the maximum time after a subscriber receives a message before the subscriber should acknowledge or Nack the message. If the Ack deadline for a message passes without an Ack or a Nack, the Pub/Sub system will eventually redeliver the message. If a subscriber acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it is possible that the message has been already delivered again. Multiple Acks to the message are allowed and will succeed.
+ #
+ # For push delivery, this value is used to set the request timeout for the call to the push endpoint.
+ #
+ # For pull delivery, this value is used as the initial value for the Ack deadline. It may be overridden for a specific pull request (message) with ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub system will not deliver that message to another pull subscriber (on a best-effort basis).
+ "topic": "A String", # The name of the topic from which this subscription is receiving messages.
+ "pushConfig": { # Configuration for a push delivery endpoint. # If push delivery is used with this subscription, this field is used to configure it.
+ "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+ },
+ "name": "A String", # Name of the subscription.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="modifyAckDeadline">modifyAckDeadline(body)</code>
+ <pre>Modifies the Ack deadline for a message received from a pull request.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "ackDeadlineSeconds": 42, # The new Ack deadline. Must be >= 1.
+ "ackId": "A String", # The Ack ID.
+ "subscription": "A String", # The name of the subscription from which messages are being pulled.
+ }
+
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="modifyPushConfig">modifyPushConfig(body)</code>
+ <pre>Modifies the PushConfig for a specified subscription. This method can be used to suspend the flow of messages to an end point by clearing the PushConfig field in the request. Messages will be accumulated for delivery even if no push configuration is defined or while the configuration is modified.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "pushConfig": { # Configuration for a push delivery endpoint. # An empty push_config indicates that the Pub/Sub system should pause pushing messages from the given subscription.
+ "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+ },
+ "subscription": "A String", # The name of the subscription.
+ }
+
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="pull">pull(body)</code>
+ <pre>Pulls a single message from the server. If return_immediately is true, and no messages are available in the subscription, this method returns FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no messages are available in a reasonable amount of time (to reduce system load).
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "returnImmediately": True or False, # If this is specified as true the system will respond immediately even if it is not able to return a message in the Pull response. Otherwise the system is allowed to wait until at least one message is available rather than returning FAILED_PRECONDITION. The client may cancel the request if it does not wish to wait any longer for the response.
+ "subscription": "A String", # The subscription from which a message should be pulled.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # Either a PubsubMessage or a truncation event. One of these two must be populated.
+ "pubsubEvent": { # An event indicating a received message or truncation event. # A pubsub message or truncation event.
+ "deleted": True or False, # Indicates that this subscription has been deleted. (Note that pull subscribers will always receive NOT_FOUND in response in their pull request on the subscription, rather than seeing this boolean.)
+ "message": { # A message data and its labels. # A received message.
+ "data": "A String", # The message payload.
+ "label": [ # Optional list of labels for this message. Keys in this collection must be unique.
+ { # A key-value pair applied to a given object.
+ "numValue": "A String", # An integer value.
+ "strValue": "A String", # A string value.
+ "key": "A String", # The key of a label is a syntactically valid URL (as per RFC 1738) with the "scheme" and initial slashes omitted and with the additional restrictions noted below. Each key should be globally unique. The "host" portion is called the "namespace" and is not necessarily resolvable to a network endpoint. Instead, the namespace indicates what system or entity defines the semantics of the label. Namespaces do not restrict the set of objects to which a label may be associated.
+ #
+ # Keys are defined by the following grammar:
+ #
+ # key = hostname "/" kpath kpath = ksegment *[ "/" ksegment ] ksegment = alphadigit | *[ alphadigit | "-" | "_" | "." ]
+ #
+ # where "hostname" and "alphadigit" are defined as in RFC 1738.
+ #
+ # Example key: spanner.google.com/universe
+ },
+ ],
+ },
+ "truncated": True or False, # Indicates that this subscription has been truncated.
+ "subscription": "A String", # The subscription that received the event.
+ },
+ "ackId": "A String", # This ID must be used to acknowledge the received event or message.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/pubsub_v1beta1.topics.html b/docs/dyn/pubsub_v1beta1.topics.html
new file mode 100644
index 0000000..1a10346
--- /dev/null
+++ b/docs/dyn/pubsub_v1beta1.topics.html
@@ -0,0 +1,210 @@
+<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="pubsub_v1beta1.html">Cloud Pub/Sub API</a> . <a href="pubsub_v1beta1.topics.html">topics</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#create">create(body)</a></code></p>
+<p class="firstline">Creates the given topic with the given name.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(topic)</a></code></p>
+<p class="firstline">Deletes the topic with the given name. All subscriptions to this topic are also deleted. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name.</p>
+<p class="toc_element">
+ <code><a href="#get">get(topic)</a></code></p>
+<p class="firstline">Gets the configuration of a topic. Since the topic only has the name attribute, this method is only useful to check the existence of a topic. If other attributes are added in the future, they will be returned here.</p>
+<p class="toc_element">
+ <code><a href="#list">list(pageToken=None, maxResults=None, query=None)</a></code></p>
+<p class="firstline">Lists matching topics.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#publish">publish(body)</a></code></p>
+<p class="firstline">Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="create">create(body)</code>
+ <pre>Creates the given topic with the given name.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A topic resource.
+ "name": "A String", # Name of the topic.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # A topic resource.
+ "name": "A String", # Name of the topic.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(topic)</code>
+ <pre>Deletes the topic with the given name. All subscriptions to this topic are also deleted. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name.
+
+Args:
+ topic: string, Name of the topic to delete. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(topic)</code>
+ <pre>Gets the configuration of a topic. Since the topic only has the name attribute, this method is only useful to check the existence of a topic. If other attributes are added in the future, they will be returned here.
+
+Args:
+ topic: string, The name of the topic to get. (required)
+
+Returns:
+ An object of the form:
+
+ { # A topic resource.
+ "name": "A String", # Name of the topic.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(pageToken=None, maxResults=None, query=None)</code>
+ <pre>Lists matching topics.
+
+Args:
+ pageToken: string, The value obtained in the last ListTopicsResponse for continuation.
+ maxResults: integer, Maximum number of topics to return.
+ query: string, A valid label query expression.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String", # If not empty, indicates that there are more topics that match the request, and this value should be passed to the next ListTopicsRequest to continue.
+ "topic": [ # The resulting topics.
+ { # A topic resource.
+ "name": "A String", # Name of the topic.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="publish">publish(body)</code>
+ <pre>Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "topic": "A String", # The name of the topic for which the message is being added.
+ "message": { # A message data and its labels. # The message to publish.
+ "data": "A String", # The message payload.
+ "label": [ # Optional list of labels for this message. Keys in this collection must be unique.
+ { # A key-value pair applied to a given object.
+ "numValue": "A String", # An integer value.
+ "strValue": "A String", # A string value.
+ "key": "A String", # The key of a label is a syntactically valid URL (as per RFC 1738) with the "scheme" and initial slashes omitted and with the additional restrictions noted below. Each key should be globally unique. The "host" portion is called the "namespace" and is not necessarily resolvable to a network endpoint. Instead, the namespace indicates what system or entity defines the semantics of the label. Namespaces do not restrict the set of objects to which a label may be associated.
+ #
+ # Keys are defined by the following grammar:
+ #
+ # key = hostname "/" kpath kpath = ksegment *[ "/" ksegment ] ksegment = alphadigit | *[ alphadigit | "-" | "_" | "." ]
+ #
+ # where "hostname" and "alphadigit" are defined as in RFC 1738.
+ #
+ # Example key: spanner.google.com/universe
+ },
+ ],
+ },
+ }
+
+</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/replicapool_v1beta1.html b/docs/dyn/replicapool_v1beta1.html
new file mode 100644
index 0000000..676a9d0
--- /dev/null
+++ b/docs/dyn/replicapool_v1beta1.html
@@ -0,0 +1,87 @@
+<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="replicapool_v1beta1.html">Replica Pool API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="replicapool_v1beta1.pools.html">pools()</a></code>
+</p>
+<p class="firstline">Returns the pools Resource.</p>
+
+<p class="toc_element">
+ <code><a href="replicapool_v1beta1.replicas.html">replicas()</a></code>
+</p>
+<p class="firstline">Returns the replicas Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/replicapool_v1beta1.pools.html b/docs/dyn/replicapool_v1beta1.pools.html
new file mode 100644
index 0000000..74ab0b1
--- /dev/null
+++ b/docs/dyn/replicapool_v1beta1.pools.html
@@ -0,0 +1,985 @@
+<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="replicapool_v1beta1.html">Replica Pool API</a> . <a href="replicapool_v1beta1.pools.html">pools</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(projectName, zone, poolName, body)</a></code></p>
+<p class="firstline">Deletes a replica pool.</p>
+<p class="toc_element">
+ <code><a href="#get">get(projectName, zone, poolName)</a></code></p>
+<p class="firstline">Gets information about a single replica pool.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(projectName, zone, body)</a></code></p>
+<p class="firstline">Inserts a new replica pool.</p>
+<p class="toc_element">
+ <code><a href="#list">list(projectName, zone, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">List all replica pools.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#resize">resize(projectName, zone, poolName, numReplicas=None)</a></code></p>
+<p class="firstline">Resize a pool. This is an asynchronous operation, and multiple overlapping resize requests can be made. Replica Pools will use the information from the last resize request.</p>
+<p class="toc_element">
+ <code><a href="#updatetemplate">updatetemplate(projectName, zone, poolName, body)</a></code></p>
+<p class="firstline">Update the template used by the pool.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(projectName, zone, poolName, body)</code>
+ <pre>Deletes a replica pool.
+
+Args:
+ projectName: string, The project ID for this replica pool. (required)
+ zone: string, The zone for this replica pool. (required)
+ poolName: string, The name of the replica pool for this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "abandonInstances": [ # If there are instances you would like to keep, you can specify them here. These instances won't be deleted, but the associated replica objects will be removed.
+ "A String",
+ ],
+ }
+
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(projectName, zone, poolName)</code>
+ <pre>Gets information about a single replica pool.
+
+Args:
+ projectName: string, The project ID for this replica pool. (required)
+ zone: string, The zone for this replica pool. (required)
+ poolName: string, The name of the replica pool for this request. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "autoRestart": True or False, # Whether replicas in this pool should be restarted if they experience a failure. The default value is true.
+ "resourceViews": [ # The list of resource views that should be updated with all the replicas that are managed by this pool.
+ "A String",
+ ],
+ "description": "A String", # An optional description of the replica pool.
+ "labels": [ # A list of labels to attach to this replica pool and all created virtual machines in this replica pool.
+ { # A label to apply to this replica pool.
+ "value": "A String", # The value of this label.
+ "key": "A String", # The key for this label.
+ },
+ ],
+ "targetPool": "A String", # Deprecated, please use target_pools instead.
+ "baseInstanceName": "A String", # The base instance name to use for the replicas in this pool. This must match the regex [a-z]([-a-z0-9]*[a-z0-9])?. If specified, the instances in this replica pool will be named in the format <base-instance-name>-<ID>. The <ID> postfix will be a four character alphanumeric identifier generated by the service.
+ #
+ # If this is not specified by the user, a random base instance name is generated by the service.
+ "numReplicas": 42, # Deprecated! Use initial_num_replicas instead.
+ "template": { # The template used for creating replicas in the pool. # The template to use when creating replicas in this pool. This template is used during initial instance creation of the pool, when growing the pool in size, or when a replica restarts.
+ "action": { # An action that gets executed during initialization of the replicas. # An action to run during initialization of your replicas. An action is run as shell commands which are executed one after the other in the same bash shell, so any state established by one command is inherited by later commands.
+ "timeoutMilliSeconds": 42, # If an action's commands on a particular replica do not finish in the specified timeoutMilliSeconds, the replica is considered to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default is the max allowed value, 1 hour (i.e. 3600000 milliseconds).
+ "commands": [ # A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actions are run. This also marks the virtual machine or replica as a failure.
+ "A String",
+ ],
+ "envVariables": [ # A list of environment variables to use for the commands in this action.
+ { # An environment variable to set for an action.
+ "hidden": True or False, # Deprecated, do not use.
+ "name": "A String", # The name of the environment variable.
+ "value": "A String", # The value of the variable.
+ },
+ ],
+ },
+ "healthChecks": [ # A list of HTTP Health Checks to configure for this replica pool and all virtual machines in this replica pool.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "version": "A String", # A free-form string describing the version of this template. You can provide any versioning string you would like. For example, version1 or template-v1.
+ "vmParams": { # Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource. # The virtual machine parameters to use for creating replicas. You can define settings such as the machine type and the image of replicas in this pool. This is required if replica type is SMART_VM.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<four_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The name or fully-qualified URL of a source image to use to create this disk. If you provide a name of the source image, Replica Pool will look for an image with that name in your project. If you are specifying an image provided by Compute Engine, you will need to provide the full URL with the correct project, such as:
+ # http://www.googleapis.com/compute/v1/projects/debian-cloud/ global/images/debian-wheezy-7-vYYYYMMDD
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted. The default value is true.
+ },
+ ],
+ "canIpForward": True or False, # Enables IP Forwarding, which allows this instance to receive packets destined for a different IP address, and send packets with a different source IP. See IP Forwarding for more information.
+ "description": "A String", # An optional textual description of the instance.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag. Required for updating the list of tags.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.
+ "source": "A String", # The name of the Persistent Disk resource. The Persistent Disk resource must be in the same zone as the Pool.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. The resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # Deprecated. Please use baseInstanceName instead.
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # The list of OAuth2 scopes to obtain for the service account, for example: https://www.googleapis.com/auth/devstorage.full_control
+ "A String",
+ ],
+ "email": "A String", # The service account email address, for example: 123845678986@project.gserviceaccount.com
+ },
+ ],
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine, ONE_TO_ONE_NAT.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services.
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. Currently only ONE_TO_ONE_NAT is supported.
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "network": "A String", # Name the Network resource to which this interface applies.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata. Required for updating the metadata entries for this instance.
+ },
+ },
+ },
+ "healthChecks": [ # Deprecated. Please use template[].healthChecks instead.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "currentNumReplicas": 42, # [Output Only] The current number of replicas in the pool.
+ "initialNumReplicas": 42, # The initial number of replicas this pool should have. You must provide a value greater than or equal to 0.
+ "type": "A String", # Deprecated! Do not set.
+ "targetPools": [ # A list of target pools to update with the replicas that are managed by this pool. If specified, the replicas in this replica pool will be added to the specified target pools for load balancing purposes. The replica pool must live in the same region as the specified target pools. These values must be the target pool resource names, and not fully qualified URLs.
+ "A String",
+ ],
+ "selfLink": "A String", # [Output Only] A self-link to the replica pool.
+ "name": "A String", # The name of the replica pool. Must follow the regex [a-z]([-a-z0-9]*[a-z0-9])? and be 1-28 characters long.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(projectName, zone, body)</code>
+ <pre>Inserts a new replica pool.
+
+Args:
+ projectName: string, The project ID for this replica pool. (required)
+ zone: string, The zone for this replica pool. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "autoRestart": True or False, # Whether replicas in this pool should be restarted if they experience a failure. The default value is true.
+ "resourceViews": [ # The list of resource views that should be updated with all the replicas that are managed by this pool.
+ "A String",
+ ],
+ "description": "A String", # An optional description of the replica pool.
+ "labels": [ # A list of labels to attach to this replica pool and all created virtual machines in this replica pool.
+ { # A label to apply to this replica pool.
+ "value": "A String", # The value of this label.
+ "key": "A String", # The key for this label.
+ },
+ ],
+ "targetPool": "A String", # Deprecated, please use target_pools instead.
+ "baseInstanceName": "A String", # The base instance name to use for the replicas in this pool. This must match the regex [a-z]([-a-z0-9]*[a-z0-9])?. If specified, the instances in this replica pool will be named in the format <base-instance-name>-<ID>. The <ID> postfix will be a four character alphanumeric identifier generated by the service.
+ #
+ # If this is not specified by the user, a random base instance name is generated by the service.
+ "numReplicas": 42, # Deprecated! Use initial_num_replicas instead.
+ "template": { # The template used for creating replicas in the pool. # The template to use when creating replicas in this pool. This template is used during initial instance creation of the pool, when growing the pool in size, or when a replica restarts.
+ "action": { # An action that gets executed during initialization of the replicas. # An action to run during initialization of your replicas. An action is run as shell commands which are executed one after the other in the same bash shell, so any state established by one command is inherited by later commands.
+ "timeoutMilliSeconds": 42, # If an action's commands on a particular replica do not finish in the specified timeoutMilliSeconds, the replica is considered to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default is the max allowed value, 1 hour (i.e. 3600000 milliseconds).
+ "commands": [ # A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actions are run. This also marks the virtual machine or replica as a failure.
+ "A String",
+ ],
+ "envVariables": [ # A list of environment variables to use for the commands in this action.
+ { # An environment variable to set for an action.
+ "hidden": True or False, # Deprecated, do not use.
+ "name": "A String", # The name of the environment variable.
+ "value": "A String", # The value of the variable.
+ },
+ ],
+ },
+ "healthChecks": [ # A list of HTTP Health Checks to configure for this replica pool and all virtual machines in this replica pool.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "version": "A String", # A free-form string describing the version of this template. You can provide any versioning string you would like. For example, version1 or template-v1.
+ "vmParams": { # Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource. # The virtual machine parameters to use for creating replicas. You can define settings such as the machine type and the image of replicas in this pool. This is required if replica type is SMART_VM.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<four_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The name or fully-qualified URL of a source image to use to create this disk. If you provide a name of the source image, Replica Pool will look for an image with that name in your project. If you are specifying an image provided by Compute Engine, you will need to provide the full URL with the correct project, such as:
+ # http://www.googleapis.com/compute/v1/projects/debian-cloud/ global/images/debian-wheezy-7-vYYYYMMDD
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted. The default value is true.
+ },
+ ],
+ "canIpForward": True or False, # Enables IP Forwarding, which allows this instance to receive packets destined for a different IP address, and send packets with a different source IP. See IP Forwarding for more information.
+ "description": "A String", # An optional textual description of the instance.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag. Required for updating the list of tags.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.
+ "source": "A String", # The name of the Persistent Disk resource. The Persistent Disk resource must be in the same zone as the Pool.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. The resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # Deprecated. Please use baseInstanceName instead.
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # The list of OAuth2 scopes to obtain for the service account, for example: https://www.googleapis.com/auth/devstorage.full_control
+ "A String",
+ ],
+ "email": "A String", # The service account email address, for example: 123845678986@project.gserviceaccount.com
+ },
+ ],
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine, ONE_TO_ONE_NAT.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services.
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. Currently only ONE_TO_ONE_NAT is supported.
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "network": "A String", # Name the Network resource to which this interface applies.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata. Required for updating the metadata entries for this instance.
+ },
+ },
+ },
+ "healthChecks": [ # Deprecated. Please use template[].healthChecks instead.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "currentNumReplicas": 42, # [Output Only] The current number of replicas in the pool.
+ "initialNumReplicas": 42, # The initial number of replicas this pool should have. You must provide a value greater than or equal to 0.
+ "type": "A String", # Deprecated! Do not set.
+ "targetPools": [ # A list of target pools to update with the replicas that are managed by this pool. If specified, the replicas in this replica pool will be added to the specified target pools for load balancing purposes. The replica pool must live in the same region as the specified target pools. These values must be the target pool resource names, and not fully qualified URLs.
+ "A String",
+ ],
+ "selfLink": "A String", # [Output Only] A self-link to the replica pool.
+ "name": "A String", # The name of the replica pool. Must follow the regex [a-z]([-a-z0-9]*[a-z0-9])? and be 1-28 characters long.
+ }
+
+
+Returns:
+ An object of the form:
+
+ {
+ "autoRestart": True or False, # Whether replicas in this pool should be restarted if they experience a failure. The default value is true.
+ "resourceViews": [ # The list of resource views that should be updated with all the replicas that are managed by this pool.
+ "A String",
+ ],
+ "description": "A String", # An optional description of the replica pool.
+ "labels": [ # A list of labels to attach to this replica pool and all created virtual machines in this replica pool.
+ { # A label to apply to this replica pool.
+ "value": "A String", # The value of this label.
+ "key": "A String", # The key for this label.
+ },
+ ],
+ "targetPool": "A String", # Deprecated, please use target_pools instead.
+ "baseInstanceName": "A String", # The base instance name to use for the replicas in this pool. This must match the regex [a-z]([-a-z0-9]*[a-z0-9])?. If specified, the instances in this replica pool will be named in the format <base-instance-name>-<ID>. The <ID> postfix will be a four character alphanumeric identifier generated by the service.
+ #
+ # If this is not specified by the user, a random base instance name is generated by the service.
+ "numReplicas": 42, # Deprecated! Use initial_num_replicas instead.
+ "template": { # The template used for creating replicas in the pool. # The template to use when creating replicas in this pool. This template is used during initial instance creation of the pool, when growing the pool in size, or when a replica restarts.
+ "action": { # An action that gets executed during initialization of the replicas. # An action to run during initialization of your replicas. An action is run as shell commands which are executed one after the other in the same bash shell, so any state established by one command is inherited by later commands.
+ "timeoutMilliSeconds": 42, # If an action's commands on a particular replica do not finish in the specified timeoutMilliSeconds, the replica is considered to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default is the max allowed value, 1 hour (i.e. 3600000 milliseconds).
+ "commands": [ # A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actions are run. This also marks the virtual machine or replica as a failure.
+ "A String",
+ ],
+ "envVariables": [ # A list of environment variables to use for the commands in this action.
+ { # An environment variable to set for an action.
+ "hidden": True or False, # Deprecated, do not use.
+ "name": "A String", # The name of the environment variable.
+ "value": "A String", # The value of the variable.
+ },
+ ],
+ },
+ "healthChecks": [ # A list of HTTP Health Checks to configure for this replica pool and all virtual machines in this replica pool.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "version": "A String", # A free-form string describing the version of this template. You can provide any versioning string you would like. For example, version1 or template-v1.
+ "vmParams": { # Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource. # The virtual machine parameters to use for creating replicas. You can define settings such as the machine type and the image of replicas in this pool. This is required if replica type is SMART_VM.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<four_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The name or fully-qualified URL of a source image to use to create this disk. If you provide a name of the source image, Replica Pool will look for an image with that name in your project. If you are specifying an image provided by Compute Engine, you will need to provide the full URL with the correct project, such as:
+ # http://www.googleapis.com/compute/v1/projects/debian-cloud/ global/images/debian-wheezy-7-vYYYYMMDD
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted. The default value is true.
+ },
+ ],
+ "canIpForward": True or False, # Enables IP Forwarding, which allows this instance to receive packets destined for a different IP address, and send packets with a different source IP. See IP Forwarding for more information.
+ "description": "A String", # An optional textual description of the instance.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag. Required for updating the list of tags.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.
+ "source": "A String", # The name of the Persistent Disk resource. The Persistent Disk resource must be in the same zone as the Pool.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. The resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # Deprecated. Please use baseInstanceName instead.
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # The list of OAuth2 scopes to obtain for the service account, for example: https://www.googleapis.com/auth/devstorage.full_control
+ "A String",
+ ],
+ "email": "A String", # The service account email address, for example: 123845678986@project.gserviceaccount.com
+ },
+ ],
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine, ONE_TO_ONE_NAT.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services.
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. Currently only ONE_TO_ONE_NAT is supported.
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "network": "A String", # Name the Network resource to which this interface applies.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata. Required for updating the metadata entries for this instance.
+ },
+ },
+ },
+ "healthChecks": [ # Deprecated. Please use template[].healthChecks instead.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "currentNumReplicas": 42, # [Output Only] The current number of replicas in the pool.
+ "initialNumReplicas": 42, # The initial number of replicas this pool should have. You must provide a value greater than or equal to 0.
+ "type": "A String", # Deprecated! Do not set.
+ "targetPools": [ # A list of target pools to update with the replicas that are managed by this pool. If specified, the replicas in this replica pool will be added to the specified target pools for load balancing purposes. The replica pool must live in the same region as the specified target pools. These values must be the target pool resource names, and not fully qualified URLs.
+ "A String",
+ ],
+ "selfLink": "A String", # [Output Only] A self-link to the replica pool.
+ "name": "A String", # The name of the replica pool. Must follow the regex [a-z]([-a-z0-9]*[a-z0-9])? and be 1-28 characters long.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(projectName, zone, pageToken=None, maxResults=None)</code>
+ <pre>List all replica pools.
+
+Args:
+ projectName: string, The project ID for this request. (required)
+ zone: string, The zone for this replica pool. (required)
+ pageToken: string, Set this to the nextPageToken value returned by a previous list request to obtain the next page of results from the previous list request.
+ maxResults: integer, Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: 50)
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "resources": [
+ {
+ "autoRestart": True or False, # Whether replicas in this pool should be restarted if they experience a failure. The default value is true.
+ "resourceViews": [ # The list of resource views that should be updated with all the replicas that are managed by this pool.
+ "A String",
+ ],
+ "description": "A String", # An optional description of the replica pool.
+ "labels": [ # A list of labels to attach to this replica pool and all created virtual machines in this replica pool.
+ { # A label to apply to this replica pool.
+ "value": "A String", # The value of this label.
+ "key": "A String", # The key for this label.
+ },
+ ],
+ "targetPool": "A String", # Deprecated, please use target_pools instead.
+ "baseInstanceName": "A String", # The base instance name to use for the replicas in this pool. This must match the regex [a-z]([-a-z0-9]*[a-z0-9])?. If specified, the instances in this replica pool will be named in the format <base-instance-name>-<ID>. The <ID> postfix will be a four character alphanumeric identifier generated by the service.
+ #
+ # If this is not specified by the user, a random base instance name is generated by the service.
+ "numReplicas": 42, # Deprecated! Use initial_num_replicas instead.
+ "template": { # The template used for creating replicas in the pool. # The template to use when creating replicas in this pool. This template is used during initial instance creation of the pool, when growing the pool in size, or when a replica restarts.
+ "action": { # An action that gets executed during initialization of the replicas. # An action to run during initialization of your replicas. An action is run as shell commands which are executed one after the other in the same bash shell, so any state established by one command is inherited by later commands.
+ "timeoutMilliSeconds": 42, # If an action's commands on a particular replica do not finish in the specified timeoutMilliSeconds, the replica is considered to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default is the max allowed value, 1 hour (i.e. 3600000 milliseconds).
+ "commands": [ # A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actions are run. This also marks the virtual machine or replica as a failure.
+ "A String",
+ ],
+ "envVariables": [ # A list of environment variables to use for the commands in this action.
+ { # An environment variable to set for an action.
+ "hidden": True or False, # Deprecated, do not use.
+ "name": "A String", # The name of the environment variable.
+ "value": "A String", # The value of the variable.
+ },
+ ],
+ },
+ "healthChecks": [ # A list of HTTP Health Checks to configure for this replica pool and all virtual machines in this replica pool.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "version": "A String", # A free-form string describing the version of this template. You can provide any versioning string you would like. For example, version1 or template-v1.
+ "vmParams": { # Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource. # The virtual machine parameters to use for creating replicas. You can define settings such as the machine type and the image of replicas in this pool. This is required if replica type is SMART_VM.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<four_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The name or fully-qualified URL of a source image to use to create this disk. If you provide a name of the source image, Replica Pool will look for an image with that name in your project. If you are specifying an image provided by Compute Engine, you will need to provide the full URL with the correct project, such as:
+ # http://www.googleapis.com/compute/v1/projects/debian-cloud/ global/images/debian-wheezy-7-vYYYYMMDD
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted. The default value is true.
+ },
+ ],
+ "canIpForward": True or False, # Enables IP Forwarding, which allows this instance to receive packets destined for a different IP address, and send packets with a different source IP. See IP Forwarding for more information.
+ "description": "A String", # An optional textual description of the instance.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag. Required for updating the list of tags.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.
+ "source": "A String", # The name of the Persistent Disk resource. The Persistent Disk resource must be in the same zone as the Pool.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. The resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # Deprecated. Please use baseInstanceName instead.
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # The list of OAuth2 scopes to obtain for the service account, for example: https://www.googleapis.com/auth/devstorage.full_control
+ "A String",
+ ],
+ "email": "A String", # The service account email address, for example: 123845678986@project.gserviceaccount.com
+ },
+ ],
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine, ONE_TO_ONE_NAT.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services.
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. Currently only ONE_TO_ONE_NAT is supported.
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "network": "A String", # Name the Network resource to which this interface applies.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata. Required for updating the metadata entries for this instance.
+ },
+ },
+ },
+ "healthChecks": [ # Deprecated. Please use template[].healthChecks instead.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "currentNumReplicas": 42, # [Output Only] The current number of replicas in the pool.
+ "initialNumReplicas": 42, # The initial number of replicas this pool should have. You must provide a value greater than or equal to 0.
+ "type": "A String", # Deprecated! Do not set.
+ "targetPools": [ # A list of target pools to update with the replicas that are managed by this pool. If specified, the replicas in this replica pool will be added to the specified target pools for load balancing purposes. The replica pool must live in the same region as the specified target pools. These values must be the target pool resource names, and not fully qualified URLs.
+ "A String",
+ ],
+ "selfLink": "A String", # [Output Only] A self-link to the replica pool.
+ "name": "A String", # The name of the replica pool. Must follow the regex [a-z]([-a-z0-9]*[a-z0-9])? and be 1-28 characters long.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="resize">resize(projectName, zone, poolName, numReplicas=None)</code>
+ <pre>Resize a pool. This is an asynchronous operation, and multiple overlapping resize requests can be made. Replica Pools will use the information from the last resize request.
+
+Args:
+ projectName: string, The project ID for this replica pool. (required)
+ zone: string, The zone for this replica pool. (required)
+ poolName: string, The name of the replica pool for this request. (required)
+ numReplicas: integer, The desired number of replicas to resize to. If this number is larger than the existing number of replicas, new replicas will be added. If the number is smaller, then existing replicas will be deleted.
+
+Returns:
+ An object of the form:
+
+ {
+ "autoRestart": True or False, # Whether replicas in this pool should be restarted if they experience a failure. The default value is true.
+ "resourceViews": [ # The list of resource views that should be updated with all the replicas that are managed by this pool.
+ "A String",
+ ],
+ "description": "A String", # An optional description of the replica pool.
+ "labels": [ # A list of labels to attach to this replica pool and all created virtual machines in this replica pool.
+ { # A label to apply to this replica pool.
+ "value": "A String", # The value of this label.
+ "key": "A String", # The key for this label.
+ },
+ ],
+ "targetPool": "A String", # Deprecated, please use target_pools instead.
+ "baseInstanceName": "A String", # The base instance name to use for the replicas in this pool. This must match the regex [a-z]([-a-z0-9]*[a-z0-9])?. If specified, the instances in this replica pool will be named in the format <base-instance-name>-<ID>. The <ID> postfix will be a four character alphanumeric identifier generated by the service.
+ #
+ # If this is not specified by the user, a random base instance name is generated by the service.
+ "numReplicas": 42, # Deprecated! Use initial_num_replicas instead.
+ "template": { # The template used for creating replicas in the pool. # The template to use when creating replicas in this pool. This template is used during initial instance creation of the pool, when growing the pool in size, or when a replica restarts.
+ "action": { # An action that gets executed during initialization of the replicas. # An action to run during initialization of your replicas. An action is run as shell commands which are executed one after the other in the same bash shell, so any state established by one command is inherited by later commands.
+ "timeoutMilliSeconds": 42, # If an action's commands on a particular replica do not finish in the specified timeoutMilliSeconds, the replica is considered to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default is the max allowed value, 1 hour (i.e. 3600000 milliseconds).
+ "commands": [ # A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actions are run. This also marks the virtual machine or replica as a failure.
+ "A String",
+ ],
+ "envVariables": [ # A list of environment variables to use for the commands in this action.
+ { # An environment variable to set for an action.
+ "hidden": True or False, # Deprecated, do not use.
+ "name": "A String", # The name of the environment variable.
+ "value": "A String", # The value of the variable.
+ },
+ ],
+ },
+ "healthChecks": [ # A list of HTTP Health Checks to configure for this replica pool and all virtual machines in this replica pool.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "version": "A String", # A free-form string describing the version of this template. You can provide any versioning string you would like. For example, version1 or template-v1.
+ "vmParams": { # Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource. # The virtual machine parameters to use for creating replicas. You can define settings such as the machine type and the image of replicas in this pool. This is required if replica type is SMART_VM.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<four_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The name or fully-qualified URL of a source image to use to create this disk. If you provide a name of the source image, Replica Pool will look for an image with that name in your project. If you are specifying an image provided by Compute Engine, you will need to provide the full URL with the correct project, such as:
+ # http://www.googleapis.com/compute/v1/projects/debian-cloud/ global/images/debian-wheezy-7-vYYYYMMDD
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted. The default value is true.
+ },
+ ],
+ "canIpForward": True or False, # Enables IP Forwarding, which allows this instance to receive packets destined for a different IP address, and send packets with a different source IP. See IP Forwarding for more information.
+ "description": "A String", # An optional textual description of the instance.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag. Required for updating the list of tags.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.
+ "source": "A String", # The name of the Persistent Disk resource. The Persistent Disk resource must be in the same zone as the Pool.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. The resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # Deprecated. Please use baseInstanceName instead.
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # The list of OAuth2 scopes to obtain for the service account, for example: https://www.googleapis.com/auth/devstorage.full_control
+ "A String",
+ ],
+ "email": "A String", # The service account email address, for example: 123845678986@project.gserviceaccount.com
+ },
+ ],
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine, ONE_TO_ONE_NAT.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services.
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. Currently only ONE_TO_ONE_NAT is supported.
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "network": "A String", # Name the Network resource to which this interface applies.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata. Required for updating the metadata entries for this instance.
+ },
+ },
+ },
+ "healthChecks": [ # Deprecated. Please use template[].healthChecks instead.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "currentNumReplicas": 42, # [Output Only] The current number of replicas in the pool.
+ "initialNumReplicas": 42, # The initial number of replicas this pool should have. You must provide a value greater than or equal to 0.
+ "type": "A String", # Deprecated! Do not set.
+ "targetPools": [ # A list of target pools to update with the replicas that are managed by this pool. If specified, the replicas in this replica pool will be added to the specified target pools for load balancing purposes. The replica pool must live in the same region as the specified target pools. These values must be the target pool resource names, and not fully qualified URLs.
+ "A String",
+ ],
+ "selfLink": "A String", # [Output Only] A self-link to the replica pool.
+ "name": "A String", # The name of the replica pool. Must follow the regex [a-z]([-a-z0-9]*[a-z0-9])? and be 1-28 characters long.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="updatetemplate">updatetemplate(projectName, zone, poolName, body)</code>
+ <pre>Update the template used by the pool.
+
+Args:
+ projectName: string, The project ID for this replica pool. (required)
+ zone: string, The zone for this replica pool. (required)
+ poolName: string, The name of the replica pool for this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The template used for creating replicas in the pool.
+ "action": { # An action that gets executed during initialization of the replicas. # An action to run during initialization of your replicas. An action is run as shell commands which are executed one after the other in the same bash shell, so any state established by one command is inherited by later commands.
+ "timeoutMilliSeconds": 42, # If an action's commands on a particular replica do not finish in the specified timeoutMilliSeconds, the replica is considered to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default is the max allowed value, 1 hour (i.e. 3600000 milliseconds).
+ "commands": [ # A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actions are run. This also marks the virtual machine or replica as a failure.
+ "A String",
+ ],
+ "envVariables": [ # A list of environment variables to use for the commands in this action.
+ { # An environment variable to set for an action.
+ "hidden": True or False, # Deprecated, do not use.
+ "name": "A String", # The name of the environment variable.
+ "value": "A String", # The value of the variable.
+ },
+ ],
+ },
+ "healthChecks": [ # A list of HTTP Health Checks to configure for this replica pool and all virtual machines in this replica pool.
+ {
+ "description": "A String", # The description for this health check.
+ "timeoutSec": 42, # How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
+ "checkIntervalSec": 42, # How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
+ "unhealthyThreshold": 42, # The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
+ "healthyThreshold": 42, # The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
+ "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
+ "path": "A String", # The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
+ "port": 42, # The TCP port for the health check requests.
+ "name": "A String", # The name of this health check.
+ },
+ ],
+ "version": "A String", # A free-form string describing the version of this template. You can provide any versioning string you would like. For example, version1 or template-v1.
+ "vmParams": { # Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource. # The virtual machine parameters to use for creating replicas. You can define settings such as the machine type and the image of replicas in this pool. This is required if replica type is SMART_VM.
+ "disksToCreate": [ # A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
+ { # A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.
+ "initializeParams": { # Initialization parameters for creating a new disk. # Create the new disk using these parameters. The name of the disk will be <instance_name>-<four_random_charactersgt;.
+ "diskSizeGb": "A String", # The size of the created disk in gigabytes.
+ "sourceImage": "A String", # The name or fully-qualified URL of a source image to use to create this disk. If you provide a name of the source image, Replica Pool will look for an image with that name in your project. If you are specifying an image provided by Compute Engine, you will need to provide the full URL with the correct project, such as:
+ # http://www.googleapis.com/compute/v1/projects/debian-cloud/ global/images/debian-wheezy-7-vYYYYMMDD
+ },
+ "boot": True or False, # If true, indicates that this is the root persistent disk.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ "autoDelete": True or False, # If true, then this disk will be deleted when the instance is deleted. The default value is true.
+ },
+ ],
+ "canIpForward": True or False, # Enables IP Forwarding, which allows this instance to receive packets destined for a different IP address, and send packets with a different source IP. See IP Forwarding for more information.
+ "description": "A String", # An optional textual description of the instance.
+ "tags": { # A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource. # A list of tags to apply to the Google Compute Engine instance to identify resources.
+ "items": [ # Items contained in this tag.
+ "A String",
+ ],
+ "fingerPrint": "A String", # The fingerprint of the tag. Required for updating the list of tags.
+ },
+ "onHostMaintenance": "A String",
+ "disksToAttach": [ # A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
+ { # A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.
+ "source": "A String", # The name of the Persistent Disk resource. The Persistent Disk resource must be in the same zone as the Pool.
+ "attachment": { # Specifies how to attach a disk to a Replica. # How the disk will be attached to the Replica.
+ "deviceName": "A String", # The device name of this disk.
+ "index": 42, # A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.
+ },
+ },
+ ],
+ "machineType": "A String", # The machine type for this instance. The resource name (e.g. n1-standard-1).
+ "baseInstanceName": "A String", # Deprecated. Please use baseInstanceName instead.
+ "serviceAccounts": [ # A list of Service Accounts to enable for this instance.
+ { # A Compute Engine service account, identical to the Compute Engine resource.
+ "scopes": [ # The list of OAuth2 scopes to obtain for the service account, for example: https://www.googleapis.com/auth/devstorage.full_control
+ "A String",
+ ],
+ "email": "A String", # The service account email address, for example: 123845678986@project.gserviceaccount.com
+ },
+ ],
+ "networkInterfaces": [ # A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine, ONE_TO_ONE_NAT.
+ { # A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
+ "accessConfigs": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services.
+ { # A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
+ "type": "A String", # Type of this access configuration file. Currently only ONE_TO_ONE_NAT is supported.
+ "name": "A String", # Name of this access configuration.
+ "natIp": "A String", # An external IP address associated with this instance.
+ },
+ ],
+ "networkIp": "A String", # An optional IPV4 internal network address to assign to the instance for this network interface.
+ "network": "A String", # Name the Network resource to which this interface applies.
+ },
+ ],
+ "metadata": { # A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. # The metadata key/value pairs assigned to this instance.
+ "items": [ # A list of metadata items.
+ { # A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
+ "value": "A String", # A metadata value.
+ "key": "A String", # A metadata key.
+ },
+ ],
+ "fingerPrint": "A String", # The fingerprint of the metadata. Required for updating the metadata entries for this instance.
+ },
+ },
+}
+
+</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/replicapool_v1beta1.replicas.html b/docs/dyn/replicapool_v1beta1.replicas.html
new file mode 100644
index 0000000..5a82bb3
--- /dev/null
+++ b/docs/dyn/replicapool_v1beta1.replicas.html
@@ -0,0 +1,224 @@
+<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="replicapool_v1beta1.html">Replica Pool API</a> . <a href="replicapool_v1beta1.replicas.html">replicas</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(projectName, zone, poolName, replicaName, body)</a></code></p>
+<p class="firstline">Deletes a replica from the pool.</p>
+<p class="toc_element">
+ <code><a href="#get">get(projectName, zone, poolName, replicaName)</a></code></p>
+<p class="firstline">Gets information about a specific replica.</p>
+<p class="toc_element">
+ <code><a href="#list">list(projectName, zone, poolName, maxResults=None, pageToken=None)</a></code></p>
+<p class="firstline">Lists all replicas in a pool.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#restart">restart(projectName, zone, poolName, replicaName)</a></code></p>
+<p class="firstline">Restarts a replica in a pool.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(projectName, zone, poolName, replicaName, body)</code>
+ <pre>Deletes a replica from the pool.
+
+Args:
+ projectName: string, The project ID for this request. (required)
+ zone: string, The zone where the replica lives. (required)
+ poolName: string, The replica pool name for this request. (required)
+ replicaName: string, The name of the replica for this request. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{
+ "abandonInstance": True or False, # Whether the instance resource represented by this replica should be deleted or abandoned. If abandoned, the replica will be deleted but the virtual machine instance will remain. By default, this is set to false and the instance will be deleted along with the replica.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An individual Replica within a Pool. Replicas are automatically created by the replica pool, using the template provided by the user. You cannot directly create replicas.
+ "status": { # The current status of a Replica. # [Output Only] Last known status of the Replica.
+ "vmStartTime": "A String", # [Output Only] The time that this Replica got to the RUNNING state, in RFC 3339 format. If the start time is unknown, UNKNOWN is returned.
+ "state": "A String", # [Output Only] The state of the Replica.
+ "vmLink": "A String", # [Output Only] Link to the virtual machine that this Replica represents.
+ "details": "A String", # [Output Only] Human-readable details about the current state of the replica
+ "templateVersion": "A String", # [Output Only] The template used to build the replica.
+ },
+ "name": "A String", # [Output Only] The name of the Replica object.
+ "selfLink": "A String", # [Output Only] The self-link of the Replica.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(projectName, zone, poolName, replicaName)</code>
+ <pre>Gets information about a specific replica.
+
+Args:
+ projectName: string, The project ID for this request. (required)
+ zone: string, The zone where the replica lives. (required)
+ poolName: string, The replica pool name for this request. (required)
+ replicaName: string, The name of the replica for this request. (required)
+
+Returns:
+ An object of the form:
+
+ { # An individual Replica within a Pool. Replicas are automatically created by the replica pool, using the template provided by the user. You cannot directly create replicas.
+ "status": { # The current status of a Replica. # [Output Only] Last known status of the Replica.
+ "vmStartTime": "A String", # [Output Only] The time that this Replica got to the RUNNING state, in RFC 3339 format. If the start time is unknown, UNKNOWN is returned.
+ "state": "A String", # [Output Only] The state of the Replica.
+ "vmLink": "A String", # [Output Only] Link to the virtual machine that this Replica represents.
+ "details": "A String", # [Output Only] Human-readable details about the current state of the replica
+ "templateVersion": "A String", # [Output Only] The template used to build the replica.
+ },
+ "name": "A String", # [Output Only] The name of the Replica object.
+ "selfLink": "A String", # [Output Only] The self-link of the Replica.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(projectName, zone, poolName, maxResults=None, pageToken=None)</code>
+ <pre>Lists all replicas in a pool.
+
+Args:
+ projectName: string, The project ID for this request. (required)
+ zone: string, The zone where the replica pool lives. (required)
+ poolName: string, The replica pool name for this request. (required)
+ maxResults: integer, Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: 50)
+ pageToken: string, Set this to the nextPageToken value returned by a previous list request to obtain the next page of results from the previous list request.
+
+Returns:
+ An object of the form:
+
+ {
+ "nextPageToken": "A String",
+ "resources": [
+ { # An individual Replica within a Pool. Replicas are automatically created by the replica pool, using the template provided by the user. You cannot directly create replicas.
+ "status": { # The current status of a Replica. # [Output Only] Last known status of the Replica.
+ "vmStartTime": "A String", # [Output Only] The time that this Replica got to the RUNNING state, in RFC 3339 format. If the start time is unknown, UNKNOWN is returned.
+ "state": "A String", # [Output Only] The state of the Replica.
+ "vmLink": "A String", # [Output Only] Link to the virtual machine that this Replica represents.
+ "details": "A String", # [Output Only] Human-readable details about the current state of the replica
+ "templateVersion": "A String", # [Output Only] The template used to build the replica.
+ },
+ "name": "A String", # [Output Only] The name of the Replica object.
+ "selfLink": "A String", # [Output Only] The self-link of the Replica.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="restart">restart(projectName, zone, poolName, replicaName)</code>
+ <pre>Restarts a replica in a pool.
+
+Args:
+ projectName: string, The project ID for this request. (required)
+ zone: string, The zone where the replica lives. (required)
+ poolName: string, The replica pool name for this request. (required)
+ replicaName: string, The name of the replica for this request. (required)
+
+Returns:
+ An object of the form:
+
+ { # An individual Replica within a Pool. Replicas are automatically created by the replica pool, using the template provided by the user. You cannot directly create replicas.
+ "status": { # The current status of a Replica. # [Output Only] Last known status of the Replica.
+ "vmStartTime": "A String", # [Output Only] The time that this Replica got to the RUNNING state, in RFC 3339 format. If the start time is unknown, UNKNOWN is returned.
+ "state": "A String", # [Output Only] The state of the Replica.
+ "vmLink": "A String", # [Output Only] Link to the virtual machine that this Replica represents.
+ "details": "A String", # [Output Only] Human-readable details about the current state of the replica
+ "templateVersion": "A String", # [Output Only] The template used to build the replica.
+ },
+ "name": "A String", # [Output Only] The name of the Replica object.
+ "selfLink": "A String", # [Output Only] The self-link of the Replica.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/resourceviews_v1beta1.html b/docs/dyn/resourceviews_v1beta1.html
new file mode 100644
index 0000000..1670c6a
--- /dev/null
+++ b/docs/dyn/resourceviews_v1beta1.html
@@ -0,0 +1,87 @@
+<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="resourceviews_v1beta1.html">Resource Views API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="resourceviews_v1beta1.regionViews.html">regionViews()</a></code>
+</p>
+<p class="firstline">Returns the regionViews Resource.</p>
+
+<p class="toc_element">
+ <code><a href="resourceviews_v1beta1.zoneViews.html">zoneViews()</a></code>
+</p>
+<p class="firstline">Returns the zoneViews Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/resourceviews_v1beta1.regionViews.html b/docs/dyn/resourceviews_v1beta1.regionViews.html
new file mode 100644
index 0000000..a0dcb87
--- /dev/null
+++ b/docs/dyn/resourceviews_v1beta1.regionViews.html
@@ -0,0 +1,335 @@
+<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="resourceviews_v1beta1.html">Resource Views API</a> . <a href="resourceviews_v1beta1.regionViews.html">regionViews</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#addresources">addresources(projectName, region, resourceViewName, body)</a></code></p>
+<p class="firstline">Add resources to the view.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(projectName, region, resourceViewName)</a></code></p>
+<p class="firstline">Delete a resource view.</p>
+<p class="toc_element">
+ <code><a href="#get">get(projectName, region, resourceViewName)</a></code></p>
+<p class="firstline">Get the information of a resource view.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(projectName, region, body)</a></code></p>
+<p class="firstline">Create a resource view.</p>
+<p class="toc_element">
+ <code><a href="#list">list(projectName, region, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">List resource views.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#listresources">listresources(projectName, region, resourceViewName, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">List the resources in the view.</p>
+<p class="toc_element">
+ <code><a href="#listresources_next">listresources_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="#removeresources">removeresources(projectName, region, resourceViewName, body)</a></code></p>
+<p class="firstline">Remove resources from the view.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="addresources">addresources(projectName, region, resourceViewName, body)</code>
+ <pre>Add resources to the view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ region: string, The region name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The request to add resources to the resource view.
+ "resources": [ # The list of resources to be added.
+ "A String",
+ ],
+ }
+
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(projectName, region, resourceViewName)</code>
+ <pre>Delete a resource view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ region: string, The region name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(projectName, region, resourceViewName)</code>
+ <pre>Get the information of a resource view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ region: string, The region name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+
+Returns:
+ An object of the form:
+
+ { # The resource view object.
+ "kind": "resourceviews#resourceView", # Type of the resource.
+ "numMembers": 42, # The total number of resources in the resource view.
+ "description": "A String", # The detailed description of the resource view.
+ "lastModified": "A String", # The last modified time of the view. Not supported yet.
+ "labels": [ # The labels for events.
+ { # The Label to be applied to the resource views.
+ "value": "A String", # Value of the label.
+ "key": "A String", # Key of the label.
+ },
+ ],
+ "creationTime": "A String", # The creation time of the resource view.
+ "members": [ # A list of all resources in the resource view.
+ "A String",
+ ],
+ "id": "A String", # [Output Only] The ID of the resource view.
+ "selfLink": "A String", # [Output Only] A self-link to the resource view.
+ "name": "A String", # The name of the resource view.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(projectName, region, body)</code>
+ <pre>Create a resource view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ region: string, The region name of the resource view. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The resource view object.
+ "kind": "resourceviews#resourceView", # Type of the resource.
+ "numMembers": 42, # The total number of resources in the resource view.
+ "description": "A String", # The detailed description of the resource view.
+ "lastModified": "A String", # The last modified time of the view. Not supported yet.
+ "labels": [ # The labels for events.
+ { # The Label to be applied to the resource views.
+ "value": "A String", # Value of the label.
+ "key": "A String", # Key of the label.
+ },
+ ],
+ "creationTime": "A String", # The creation time of the resource view.
+ "members": [ # A list of all resources in the resource view.
+ "A String",
+ ],
+ "id": "A String", # [Output Only] The ID of the resource view.
+ "selfLink": "A String", # [Output Only] A self-link to the resource view.
+ "name": "A String", # The name of the resource view.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The response to a resource view insert request.
+ "resource": { # The resource view object. # The resource view object inserted.
+ "kind": "resourceviews#resourceView", # Type of the resource.
+ "numMembers": 42, # The total number of resources in the resource view.
+ "description": "A String", # The detailed description of the resource view.
+ "lastModified": "A String", # The last modified time of the view. Not supported yet.
+ "labels": [ # The labels for events.
+ { # The Label to be applied to the resource views.
+ "value": "A String", # Value of the label.
+ "key": "A String", # Key of the label.
+ },
+ ],
+ "creationTime": "A String", # The creation time of the resource view.
+ "members": [ # A list of all resources in the resource view.
+ "A String",
+ ],
+ "id": "A String", # [Output Only] The ID of the resource view.
+ "selfLink": "A String", # [Output Only] A self-link to the resource view.
+ "name": "A String", # The name of the resource view.
+ },
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(projectName, region, pageToken=None, maxResults=None)</code>
+ <pre>List resource views.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ region: string, The region name of the resource view. (required)
+ pageToken: string, Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
+ maxResults: integer, Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
+
+Returns:
+ An object of the form:
+
+ { # The response to the list resource view request.
+ "nextPageToken": "A String", # A token used for pagination.
+ "resourceViews": [ # The list of resource views that meet the criteria.
+ { # The resource view object.
+ "kind": "resourceviews#resourceView", # Type of the resource.
+ "numMembers": 42, # The total number of resources in the resource view.
+ "description": "A String", # The detailed description of the resource view.
+ "lastModified": "A String", # The last modified time of the view. Not supported yet.
+ "labels": [ # The labels for events.
+ { # The Label to be applied to the resource views.
+ "value": "A String", # Value of the label.
+ "key": "A String", # Key of the label.
+ },
+ ],
+ "creationTime": "A String", # The creation time of the resource view.
+ "members": [ # A list of all resources in the resource view.
+ "A String",
+ ],
+ "id": "A String", # [Output Only] The ID of the resource view.
+ "selfLink": "A String", # [Output Only] A self-link to the resource view.
+ "name": "A String", # The name of the resource view.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listresources">listresources(projectName, region, resourceViewName, pageToken=None, maxResults=None)</code>
+ <pre>List the resources in the view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ region: string, The region name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+ pageToken: string, Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
+ maxResults: integer, Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
+
+Returns:
+ An object of the form:
+
+ { # The response to the list resource request.
+ "nextPageToken": "A String", # A token used for pagination.
+ "members": [ # The resources in the view.
+ "A String",
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listresources_next">listresources_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="removeresources">removeresources(projectName, region, resourceViewName, body)</code>
+ <pre>Remove resources from the view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ region: string, The region name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The request to remove resources from the resource view.
+ "resources": [ # The list of resources to be removed.
+ "A String",
+ ],
+ }
+
+</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/resourceviews_v1beta1.zoneViews.html b/docs/dyn/resourceviews_v1beta1.zoneViews.html
new file mode 100644
index 0000000..3805b37
--- /dev/null
+++ b/docs/dyn/resourceviews_v1beta1.zoneViews.html
@@ -0,0 +1,335 @@
+<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="resourceviews_v1beta1.html">Resource Views API</a> . <a href="resourceviews_v1beta1.zoneViews.html">zoneViews</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#addresources">addresources(projectName, zone, resourceViewName, body)</a></code></p>
+<p class="firstline">Add resources to the view.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(projectName, zone, resourceViewName)</a></code></p>
+<p class="firstline">Delete a resource view.</p>
+<p class="toc_element">
+ <code><a href="#get">get(projectName, zone, resourceViewName)</a></code></p>
+<p class="firstline">Get the information of a zonal resource view.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(projectName, zone, body)</a></code></p>
+<p class="firstline">Create a resource view.</p>
+<p class="toc_element">
+ <code><a href="#list">list(projectName, zone, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">List resource views.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#listresources">listresources(projectName, zone, resourceViewName, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">List the resources of the resource view.</p>
+<p class="toc_element">
+ <code><a href="#listresources_next">listresources_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="#removeresources">removeresources(projectName, zone, resourceViewName, body)</a></code></p>
+<p class="firstline">Remove resources from the view.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="addresources">addresources(projectName, zone, resourceViewName, body)</code>
+ <pre>Add resources to the view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ zone: string, The zone name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The request to add resources to the resource view.
+ "resources": [ # The list of resources to be added.
+ "A String",
+ ],
+ }
+
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(projectName, zone, resourceViewName)</code>
+ <pre>Delete a resource view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ zone: string, The zone name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(projectName, zone, resourceViewName)</code>
+ <pre>Get the information of a zonal resource view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ zone: string, The zone name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+
+Returns:
+ An object of the form:
+
+ { # The resource view object.
+ "kind": "resourceviews#resourceView", # Type of the resource.
+ "numMembers": 42, # The total number of resources in the resource view.
+ "description": "A String", # The detailed description of the resource view.
+ "lastModified": "A String", # The last modified time of the view. Not supported yet.
+ "labels": [ # The labels for events.
+ { # The Label to be applied to the resource views.
+ "value": "A String", # Value of the label.
+ "key": "A String", # Key of the label.
+ },
+ ],
+ "creationTime": "A String", # The creation time of the resource view.
+ "members": [ # A list of all resources in the resource view.
+ "A String",
+ ],
+ "id": "A String", # [Output Only] The ID of the resource view.
+ "selfLink": "A String", # [Output Only] A self-link to the resource view.
+ "name": "A String", # The name of the resource view.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(projectName, zone, body)</code>
+ <pre>Create a resource view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ zone: string, The zone name of the resource view. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The resource view object.
+ "kind": "resourceviews#resourceView", # Type of the resource.
+ "numMembers": 42, # The total number of resources in the resource view.
+ "description": "A String", # The detailed description of the resource view.
+ "lastModified": "A String", # The last modified time of the view. Not supported yet.
+ "labels": [ # The labels for events.
+ { # The Label to be applied to the resource views.
+ "value": "A String", # Value of the label.
+ "key": "A String", # Key of the label.
+ },
+ ],
+ "creationTime": "A String", # The creation time of the resource view.
+ "members": [ # A list of all resources in the resource view.
+ "A String",
+ ],
+ "id": "A String", # [Output Only] The ID of the resource view.
+ "selfLink": "A String", # [Output Only] A self-link to the resource view.
+ "name": "A String", # The name of the resource view.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # The response to an insert request.
+ "resource": { # The resource view object. # The resource view object that has been inserted.
+ "kind": "resourceviews#resourceView", # Type of the resource.
+ "numMembers": 42, # The total number of resources in the resource view.
+ "description": "A String", # The detailed description of the resource view.
+ "lastModified": "A String", # The last modified time of the view. Not supported yet.
+ "labels": [ # The labels for events.
+ { # The Label to be applied to the resource views.
+ "value": "A String", # Value of the label.
+ "key": "A String", # Key of the label.
+ },
+ ],
+ "creationTime": "A String", # The creation time of the resource view.
+ "members": [ # A list of all resources in the resource view.
+ "A String",
+ ],
+ "id": "A String", # [Output Only] The ID of the resource view.
+ "selfLink": "A String", # [Output Only] A self-link to the resource view.
+ "name": "A String", # The name of the resource view.
+ },
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(projectName, zone, pageToken=None, maxResults=None)</code>
+ <pre>List resource views.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ zone: string, The zone name of the resource view. (required)
+ pageToken: string, Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
+ maxResults: integer, Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
+
+Returns:
+ An object of the form:
+
+ { # The response to a list request.
+ "nextPageToken": "A String", # A token used for pagination.
+ "resourceViews": [ # The result that contains all resource views that meet the criteria.
+ { # The resource view object.
+ "kind": "resourceviews#resourceView", # Type of the resource.
+ "numMembers": 42, # The total number of resources in the resource view.
+ "description": "A String", # The detailed description of the resource view.
+ "lastModified": "A String", # The last modified time of the view. Not supported yet.
+ "labels": [ # The labels for events.
+ { # The Label to be applied to the resource views.
+ "value": "A String", # Value of the label.
+ "key": "A String", # Key of the label.
+ },
+ ],
+ "creationTime": "A String", # The creation time of the resource view.
+ "members": [ # A list of all resources in the resource view.
+ "A String",
+ ],
+ "id": "A String", # [Output Only] The ID of the resource view.
+ "selfLink": "A String", # [Output Only] A self-link to the resource view.
+ "name": "A String", # The name of the resource view.
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listresources">listresources(projectName, zone, resourceViewName, pageToken=None, maxResults=None)</code>
+ <pre>List the resources of the resource view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ zone: string, The zone name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+ pageToken: string, Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
+ maxResults: integer, Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
+
+Returns:
+ An object of the form:
+
+ { # The response to a list resource request.
+ "nextPageToken": "A String", # A token used for pagination.
+ "members": [ # The full URL of resources in the view.
+ "A String",
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="listresources_next">listresources_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="removeresources">removeresources(projectName, zone, resourceViewName, body)</code>
+ <pre>Remove resources from the view.
+
+Args:
+ projectName: string, The project name of the resource view. (required)
+ zone: string, The zone name of the resource view. (required)
+ resourceViewName: string, The name of the resource view. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The request to remove resources from the resource view.
+ "resources": [ # The list of resources to be removed.
+ "A String",
+ ],
+ }
+
+</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/sqladmin_v1beta3.instances.html b/docs/dyn/sqladmin_v1beta3.instances.html
index c17dcf9..90bcb6e 100644
--- a/docs/dyn/sqladmin_v1beta3.instances.html
+++ b/docs/dyn/sqladmin_v1beta3.instances.html
@@ -281,7 +281,7 @@
"ipAddress": "A String", # The IP address assigned.
},
],
- "databaseVersion": "A String", # The database engine type and version, for example MYSQL_5_5 for MySQL 5.5.
+ "databaseVersion": "A String", # The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults to MYSQL_5_5. The databaseVersion can not be changed after instance creation.
}</pre>
</div>
@@ -395,7 +395,7 @@
"ipAddress": "A String", # The IP address assigned.
},
],
- "databaseVersion": "A String", # The database engine type and version, for example MYSQL_5_5 for MySQL 5.5.
+ "databaseVersion": "A String", # The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults to MYSQL_5_5. The databaseVersion can not be changed after instance creation.
}
@@ -494,7 +494,7 @@
"ipAddress": "A String", # The IP address assigned.
},
],
- "databaseVersion": "A String", # The database engine type and version, for example MYSQL_5_5 for MySQL 5.5.
+ "databaseVersion": "A String", # The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults to MYSQL_5_5. The databaseVersion can not be changed after instance creation.
},
],
"kind": "sql#instancesList", # This is always sql#instancesList.
@@ -596,7 +596,7 @@
"ipAddress": "A String", # The IP address assigned.
},
],
- "databaseVersion": "A String", # The database engine type and version, for example MYSQL_5_5 for MySQL 5.5.
+ "databaseVersion": "A String", # The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults to MYSQL_5_5. The databaseVersion can not be changed after instance creation.
}
@@ -770,7 +770,7 @@
"ipAddress": "A String", # The IP address assigned.
},
],
- "databaseVersion": "A String", # The database engine type and version, for example MYSQL_5_5 for MySQL 5.5.
+ "databaseVersion": "A String", # The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults to MYSQL_5_5. The databaseVersion can not be changed after instance creation.
}
diff --git a/docs/dyn/storage_v1.bucketAccessControls.html b/docs/dyn/storage_v1.bucketAccessControls.html
new file mode 100644
index 0000000..870beb6
--- /dev/null
+++ b/docs/dyn/storage_v1.bucketAccessControls.html
@@ -0,0 +1,402 @@
+<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="storage_v1.html">Cloud Storage API</a> . <a href="storage_v1.bucketAccessControls.html">bucketAccessControls</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(bucket, entity)</a></code></p>
+<p class="firstline">Permanently deletes the ACL entry for the specified entity on the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#get">get(bucket, entity)</a></code></p>
+<p class="firstline">Returns the ACL entry for the specified entity on the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(bucket, body)</a></code></p>
+<p class="firstline">Creates a new ACL entry on the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#list">list(bucket)</a></code></p>
+<p class="firstline">Retrieves ACL entries on the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(bucket, entity, body)</a></code></p>
+<p class="firstline">Updates an ACL entry on the specified bucket. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(bucket, entity, body)</a></code></p>
+<p class="firstline">Updates an ACL entry on the specified bucket.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(bucket, entity)</code>
+ <pre>Permanently deletes the ACL entry for the specified entity on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(bucket, entity)</code>
+ <pre>Returns the ACL entry for the specified entity on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(bucket, body)</code>
+ <pre>Creates a new ACL entry on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(bucket)</code>
+ <pre>Retrieves ACL entries on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+
+Returns:
+ An object of the form:
+
+ { # An access-control list.
+ "items": [ # The list of items.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "kind": "storage#bucketAccessControls", # The kind of item this is. For lists of bucket access control entries, this is always storage#bucketAccessControls.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(bucket, entity, body)</code>
+ <pre>Updates an ACL entry on the specified bucket. This method supports patch semantics.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(bucket, entity, body)</code>
+ <pre>Updates an ACL entry on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/storage_v1.buckets.html b/docs/dyn/storage_v1.buckets.html
new file mode 100644
index 0000000..0ff294a
--- /dev/null
+++ b/docs/dyn/storage_v1.buckets.html
@@ -0,0 +1,1179 @@
+<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="storage_v1.html">Cloud Storage API</a> . <a href="storage_v1.buckets.html">buckets</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Permanently deletes an empty bucket.</p>
+<p class="toc_element">
+ <code><a href="#get">get(bucket, projection=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Returns metadata for the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(project, body, projection=None, predefinedAcl=None)</a></code></p>
+<p class="firstline">Creates a new bucket.</p>
+<p class="toc_element">
+ <code><a href="#list">list(project, projection=None, pageToken=None, maxResults=None)</a></code></p>
+<p class="firstline">Retrieves a list of buckets for a given project.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(bucket, body, projection=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Updates a bucket. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(bucket, body, projection=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Updates a bucket.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Permanently deletes an empty bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ ifMetagenerationMatch: string, If set, only deletes the bucket if its metageneration matches this value.
+ ifMetagenerationNotMatch: string, If set, only deletes the bucket if its metageneration does not match this value.
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(bucket, projection=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Returns metadata for the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ projection: string, Set of properties to return. Defaults to noAcl.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit acl and defaultObjectAcl properties.
+ ifMetagenerationMatch: string, Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.
+ ifMetagenerationNotMatch: string, Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.
+
+Returns:
+ An object of the form:
+
+ { # A bucket.
+ "website": { # The bucket's website configuration.
+ "notFoundPage": "A String", # The custom object to return when a requested resource is not found.
+ "mainPageSuffix": "A String", # Behaves as the bucket's directory index where missing objects are treated as potential directories.
+ },
+ "selfLink": "A String", # The URI of this bucket.
+ "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket.
+ "logging": { # The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
+ "logObjectPrefix": "A String", # A prefix for log object names.
+ "logBucket": "A String", # The destination bucket where the current bucket's logs should be placed.
+ },
+ "name": "A String", # The name of the bucket.
+ "metageneration": "A String", # The metadata generation of this bucket.
+ "timeCreated": "A String", # Creation time of the bucket in RFC 3339 format.
+ "versioning": { # The bucket's versioning configuration.
+ "enabled": True or False, # While set to true, versioning is fully enabled for this bucket.
+ },
+ "acl": [ # Access controls on the bucket.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "defaultObjectAcl": [ # Default access controls to apply to new objects when no ACL is provided.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "etag": "A String", # HTTP 1.1 Entity tag for the bucket.
+ "location": "A String", # The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
+ "cors": [ # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
+ {
+ "origin": [ # The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
+ "A String",
+ ],
+ "responseHeader": [ # The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
+ "A String",
+ ],
+ "method": [ # The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
+ "A String",
+ ],
+ "maxAgeSeconds": 42, # The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
+ },
+ ],
+ "owner": { # The owner of the bucket. This is always the project team's owner group.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form project-owner-projectId.
+ },
+ "lifecycle": { # The bucket's lifecycle configuration. See lifecycle management for more information.
+ "rule": [ # A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
+ {
+ "action": { # The action to take.
+ "type": "A String", # Type of the action. Currently, only Delete is supported.
+ },
+ "condition": { # The condition(s) under which the action will be taken.
+ "isLive": True or False, # Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
+ "numNewerVersions": 42, # Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
+ "age": 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
+ "createdBefore": "A String", # A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
+ },
+ },
+ ],
+ },
+ "id": "A String", # The ID of the bucket.
+ "projectNumber": "A String", # The project number of the project the bucket belongs to.
+ "storageClass": "A String", # The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(project, body, projection=None, predefinedAcl=None)</code>
+ <pre>Creates a new bucket.
+
+Args:
+ project: string, A valid API project identifier. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A bucket.
+ "website": { # The bucket's website configuration.
+ "notFoundPage": "A String", # The custom object to return when a requested resource is not found.
+ "mainPageSuffix": "A String", # Behaves as the bucket's directory index where missing objects are treated as potential directories.
+ },
+ "selfLink": "A String", # The URI of this bucket.
+ "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket.
+ "logging": { # The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
+ "logObjectPrefix": "A String", # A prefix for log object names.
+ "logBucket": "A String", # The destination bucket where the current bucket's logs should be placed.
+ },
+ "name": "A String", # The name of the bucket.
+ "metageneration": "A String", # The metadata generation of this bucket.
+ "timeCreated": "A String", # Creation time of the bucket in RFC 3339 format.
+ "versioning": { # The bucket's versioning configuration.
+ "enabled": True or False, # While set to true, versioning is fully enabled for this bucket.
+ },
+ "acl": [ # Access controls on the bucket.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "defaultObjectAcl": [ # Default access controls to apply to new objects when no ACL is provided.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "etag": "A String", # HTTP 1.1 Entity tag for the bucket.
+ "location": "A String", # The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
+ "cors": [ # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
+ {
+ "origin": [ # The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
+ "A String",
+ ],
+ "responseHeader": [ # The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
+ "A String",
+ ],
+ "method": [ # The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
+ "A String",
+ ],
+ "maxAgeSeconds": 42, # The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
+ },
+ ],
+ "owner": { # The owner of the bucket. This is always the project team's owner group.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form project-owner-projectId.
+ },
+ "lifecycle": { # The bucket's lifecycle configuration. See lifecycle management for more information.
+ "rule": [ # A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
+ {
+ "action": { # The action to take.
+ "type": "A String", # Type of the action. Currently, only Delete is supported.
+ },
+ "condition": { # The condition(s) under which the action will be taken.
+ "isLive": True or False, # Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
+ "numNewerVersions": 42, # Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
+ "age": 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
+ "createdBefore": "A String", # A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
+ },
+ },
+ ],
+ },
+ "id": "A String", # The ID of the bucket.
+ "projectNumber": "A String", # The project number of the project the bucket belongs to.
+ "storageClass": "A String", # The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
+ }
+
+ projection: string, Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit acl and defaultObjectAcl properties.
+ predefinedAcl: string, Apply a predefined set of access controls to this bucket.
+ Allowed values
+ authenticatedRead - Project team owners get OWNER access, and allAuthenticatedUsers get READER access.
+ private - Project team owners get OWNER access.
+ projectPrivate - Project team members get access according to their roles.
+ publicRead - Project team owners get OWNER access, and allUsers get READER access.
+ publicReadWrite - Project team owners get OWNER access, and allUsers get WRITER access.
+
+Returns:
+ An object of the form:
+
+ { # A bucket.
+ "website": { # The bucket's website configuration.
+ "notFoundPage": "A String", # The custom object to return when a requested resource is not found.
+ "mainPageSuffix": "A String", # Behaves as the bucket's directory index where missing objects are treated as potential directories.
+ },
+ "selfLink": "A String", # The URI of this bucket.
+ "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket.
+ "logging": { # The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
+ "logObjectPrefix": "A String", # A prefix for log object names.
+ "logBucket": "A String", # The destination bucket where the current bucket's logs should be placed.
+ },
+ "name": "A String", # The name of the bucket.
+ "metageneration": "A String", # The metadata generation of this bucket.
+ "timeCreated": "A String", # Creation time of the bucket in RFC 3339 format.
+ "versioning": { # The bucket's versioning configuration.
+ "enabled": True or False, # While set to true, versioning is fully enabled for this bucket.
+ },
+ "acl": [ # Access controls on the bucket.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "defaultObjectAcl": [ # Default access controls to apply to new objects when no ACL is provided.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "etag": "A String", # HTTP 1.1 Entity tag for the bucket.
+ "location": "A String", # The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
+ "cors": [ # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
+ {
+ "origin": [ # The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
+ "A String",
+ ],
+ "responseHeader": [ # The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
+ "A String",
+ ],
+ "method": [ # The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
+ "A String",
+ ],
+ "maxAgeSeconds": 42, # The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
+ },
+ ],
+ "owner": { # The owner of the bucket. This is always the project team's owner group.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form project-owner-projectId.
+ },
+ "lifecycle": { # The bucket's lifecycle configuration. See lifecycle management for more information.
+ "rule": [ # A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
+ {
+ "action": { # The action to take.
+ "type": "A String", # Type of the action. Currently, only Delete is supported.
+ },
+ "condition": { # The condition(s) under which the action will be taken.
+ "isLive": True or False, # Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
+ "numNewerVersions": 42, # Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
+ "age": 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
+ "createdBefore": "A String", # A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
+ },
+ },
+ ],
+ },
+ "id": "A String", # The ID of the bucket.
+ "projectNumber": "A String", # The project number of the project the bucket belongs to.
+ "storageClass": "A String", # The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(project, projection=None, pageToken=None, maxResults=None)</code>
+ <pre>Retrieves a list of buckets for a given project.
+
+Args:
+ project: string, A valid API project identifier. (required)
+ projection: string, Set of properties to return. Defaults to noAcl.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit acl and defaultObjectAcl properties.
+ pageToken: string, A previously-returned page token representing part of the larger set of results to view.
+ maxResults: integer, Maximum number of buckets to return.
+
+Returns:
+ An object of the form:
+
+ { # A list of buckets.
+ "nextPageToken": "A String", # The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
+ "items": [ # The list of items.
+ { # A bucket.
+ "website": { # The bucket's website configuration.
+ "notFoundPage": "A String", # The custom object to return when a requested resource is not found.
+ "mainPageSuffix": "A String", # Behaves as the bucket's directory index where missing objects are treated as potential directories.
+ },
+ "selfLink": "A String", # The URI of this bucket.
+ "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket.
+ "logging": { # The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
+ "logObjectPrefix": "A String", # A prefix for log object names.
+ "logBucket": "A String", # The destination bucket where the current bucket's logs should be placed.
+ },
+ "name": "A String", # The name of the bucket.
+ "metageneration": "A String", # The metadata generation of this bucket.
+ "timeCreated": "A String", # Creation time of the bucket in RFC 3339 format.
+ "versioning": { # The bucket's versioning configuration.
+ "enabled": True or False, # While set to true, versioning is fully enabled for this bucket.
+ },
+ "acl": [ # Access controls on the bucket.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "defaultObjectAcl": [ # Default access controls to apply to new objects when no ACL is provided.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "etag": "A String", # HTTP 1.1 Entity tag for the bucket.
+ "location": "A String", # The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
+ "cors": [ # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
+ {
+ "origin": [ # The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
+ "A String",
+ ],
+ "responseHeader": [ # The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
+ "A String",
+ ],
+ "method": [ # The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
+ "A String",
+ ],
+ "maxAgeSeconds": 42, # The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
+ },
+ ],
+ "owner": { # The owner of the bucket. This is always the project team's owner group.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form project-owner-projectId.
+ },
+ "lifecycle": { # The bucket's lifecycle configuration. See lifecycle management for more information.
+ "rule": [ # A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
+ {
+ "action": { # The action to take.
+ "type": "A String", # Type of the action. Currently, only Delete is supported.
+ },
+ "condition": { # The condition(s) under which the action will be taken.
+ "isLive": True or False, # Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
+ "numNewerVersions": 42, # Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
+ "age": 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
+ "createdBefore": "A String", # A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
+ },
+ },
+ ],
+ },
+ "id": "A String", # The ID of the bucket.
+ "projectNumber": "A String", # The project number of the project the bucket belongs to.
+ "storageClass": "A String", # The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
+ },
+ ],
+ "kind": "storage#buckets", # The kind of item this is. For lists of buckets, this is always storage#buckets.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(bucket, body, projection=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Updates a bucket. This method supports patch semantics.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A bucket.
+ "website": { # The bucket's website configuration.
+ "notFoundPage": "A String", # The custom object to return when a requested resource is not found.
+ "mainPageSuffix": "A String", # Behaves as the bucket's directory index where missing objects are treated as potential directories.
+ },
+ "selfLink": "A String", # The URI of this bucket.
+ "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket.
+ "logging": { # The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
+ "logObjectPrefix": "A String", # A prefix for log object names.
+ "logBucket": "A String", # The destination bucket where the current bucket's logs should be placed.
+ },
+ "name": "A String", # The name of the bucket.
+ "metageneration": "A String", # The metadata generation of this bucket.
+ "timeCreated": "A String", # Creation time of the bucket in RFC 3339 format.
+ "versioning": { # The bucket's versioning configuration.
+ "enabled": True or False, # While set to true, versioning is fully enabled for this bucket.
+ },
+ "acl": [ # Access controls on the bucket.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "defaultObjectAcl": [ # Default access controls to apply to new objects when no ACL is provided.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "etag": "A String", # HTTP 1.1 Entity tag for the bucket.
+ "location": "A String", # The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
+ "cors": [ # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
+ {
+ "origin": [ # The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
+ "A String",
+ ],
+ "responseHeader": [ # The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
+ "A String",
+ ],
+ "method": [ # The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
+ "A String",
+ ],
+ "maxAgeSeconds": 42, # The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
+ },
+ ],
+ "owner": { # The owner of the bucket. This is always the project team's owner group.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form project-owner-projectId.
+ },
+ "lifecycle": { # The bucket's lifecycle configuration. See lifecycle management for more information.
+ "rule": [ # A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
+ {
+ "action": { # The action to take.
+ "type": "A String", # Type of the action. Currently, only Delete is supported.
+ },
+ "condition": { # The condition(s) under which the action will be taken.
+ "isLive": True or False, # Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
+ "numNewerVersions": 42, # Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
+ "age": 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
+ "createdBefore": "A String", # A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
+ },
+ },
+ ],
+ },
+ "id": "A String", # The ID of the bucket.
+ "projectNumber": "A String", # The project number of the project the bucket belongs to.
+ "storageClass": "A String", # The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
+ }
+
+ projection: string, Set of properties to return. Defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit acl and defaultObjectAcl properties.
+ ifMetagenerationMatch: string, Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.
+ predefinedAcl: string, Apply a predefined set of access controls to this bucket.
+ Allowed values
+ authenticatedRead - Project team owners get OWNER access, and allAuthenticatedUsers get READER access.
+ private - Project team owners get OWNER access.
+ projectPrivate - Project team members get access according to their roles.
+ publicRead - Project team owners get OWNER access, and allUsers get READER access.
+ publicReadWrite - Project team owners get OWNER access, and allUsers get WRITER access.
+ ifMetagenerationNotMatch: string, Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.
+
+Returns:
+ An object of the form:
+
+ { # A bucket.
+ "website": { # The bucket's website configuration.
+ "notFoundPage": "A String", # The custom object to return when a requested resource is not found.
+ "mainPageSuffix": "A String", # Behaves as the bucket's directory index where missing objects are treated as potential directories.
+ },
+ "selfLink": "A String", # The URI of this bucket.
+ "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket.
+ "logging": { # The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
+ "logObjectPrefix": "A String", # A prefix for log object names.
+ "logBucket": "A String", # The destination bucket where the current bucket's logs should be placed.
+ },
+ "name": "A String", # The name of the bucket.
+ "metageneration": "A String", # The metadata generation of this bucket.
+ "timeCreated": "A String", # Creation time of the bucket in RFC 3339 format.
+ "versioning": { # The bucket's versioning configuration.
+ "enabled": True or False, # While set to true, versioning is fully enabled for this bucket.
+ },
+ "acl": [ # Access controls on the bucket.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "defaultObjectAcl": [ # Default access controls to apply to new objects when no ACL is provided.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "etag": "A String", # HTTP 1.1 Entity tag for the bucket.
+ "location": "A String", # The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
+ "cors": [ # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
+ {
+ "origin": [ # The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
+ "A String",
+ ],
+ "responseHeader": [ # The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
+ "A String",
+ ],
+ "method": [ # The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
+ "A String",
+ ],
+ "maxAgeSeconds": 42, # The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
+ },
+ ],
+ "owner": { # The owner of the bucket. This is always the project team's owner group.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form project-owner-projectId.
+ },
+ "lifecycle": { # The bucket's lifecycle configuration. See lifecycle management for more information.
+ "rule": [ # A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
+ {
+ "action": { # The action to take.
+ "type": "A String", # Type of the action. Currently, only Delete is supported.
+ },
+ "condition": { # The condition(s) under which the action will be taken.
+ "isLive": True or False, # Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
+ "numNewerVersions": 42, # Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
+ "age": 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
+ "createdBefore": "A String", # A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
+ },
+ },
+ ],
+ },
+ "id": "A String", # The ID of the bucket.
+ "projectNumber": "A String", # The project number of the project the bucket belongs to.
+ "storageClass": "A String", # The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(bucket, body, projection=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Updates a bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A bucket.
+ "website": { # The bucket's website configuration.
+ "notFoundPage": "A String", # The custom object to return when a requested resource is not found.
+ "mainPageSuffix": "A String", # Behaves as the bucket's directory index where missing objects are treated as potential directories.
+ },
+ "selfLink": "A String", # The URI of this bucket.
+ "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket.
+ "logging": { # The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
+ "logObjectPrefix": "A String", # A prefix for log object names.
+ "logBucket": "A String", # The destination bucket where the current bucket's logs should be placed.
+ },
+ "name": "A String", # The name of the bucket.
+ "metageneration": "A String", # The metadata generation of this bucket.
+ "timeCreated": "A String", # Creation time of the bucket in RFC 3339 format.
+ "versioning": { # The bucket's versioning configuration.
+ "enabled": True or False, # While set to true, versioning is fully enabled for this bucket.
+ },
+ "acl": [ # Access controls on the bucket.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "defaultObjectAcl": [ # Default access controls to apply to new objects when no ACL is provided.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "etag": "A String", # HTTP 1.1 Entity tag for the bucket.
+ "location": "A String", # The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
+ "cors": [ # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
+ {
+ "origin": [ # The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
+ "A String",
+ ],
+ "responseHeader": [ # The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
+ "A String",
+ ],
+ "method": [ # The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
+ "A String",
+ ],
+ "maxAgeSeconds": 42, # The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
+ },
+ ],
+ "owner": { # The owner of the bucket. This is always the project team's owner group.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form project-owner-projectId.
+ },
+ "lifecycle": { # The bucket's lifecycle configuration. See lifecycle management for more information.
+ "rule": [ # A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
+ {
+ "action": { # The action to take.
+ "type": "A String", # Type of the action. Currently, only Delete is supported.
+ },
+ "condition": { # The condition(s) under which the action will be taken.
+ "isLive": True or False, # Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
+ "numNewerVersions": 42, # Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
+ "age": 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
+ "createdBefore": "A String", # A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
+ },
+ },
+ ],
+ },
+ "id": "A String", # The ID of the bucket.
+ "projectNumber": "A String", # The project number of the project the bucket belongs to.
+ "storageClass": "A String", # The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
+ }
+
+ projection: string, Set of properties to return. Defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit acl and defaultObjectAcl properties.
+ ifMetagenerationMatch: string, Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.
+ predefinedAcl: string, Apply a predefined set of access controls to this bucket.
+ Allowed values
+ authenticatedRead - Project team owners get OWNER access, and allAuthenticatedUsers get READER access.
+ private - Project team owners get OWNER access.
+ projectPrivate - Project team members get access according to their roles.
+ publicRead - Project team owners get OWNER access, and allUsers get READER access.
+ publicReadWrite - Project team owners get OWNER access, and allUsers get WRITER access.
+ ifMetagenerationNotMatch: string, Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.
+
+Returns:
+ An object of the form:
+
+ { # A bucket.
+ "website": { # The bucket's website configuration.
+ "notFoundPage": "A String", # The custom object to return when a requested resource is not found.
+ "mainPageSuffix": "A String", # Behaves as the bucket's directory index where missing objects are treated as potential directories.
+ },
+ "selfLink": "A String", # The URI of this bucket.
+ "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket.
+ "logging": { # The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
+ "logObjectPrefix": "A String", # A prefix for log object names.
+ "logBucket": "A String", # The destination bucket where the current bucket's logs should be placed.
+ },
+ "name": "A String", # The name of the bucket.
+ "metageneration": "A String", # The metadata generation of this bucket.
+ "timeCreated": "A String", # Creation time of the bucket in RFC 3339 format.
+ "versioning": { # The bucket's versioning configuration.
+ "enabled": True or False, # While set to true, versioning is fully enabled for this bucket.
+ },
+ "acl": [ # Access controls on the bucket.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "defaultObjectAcl": [ # Default access controls to apply to new objects when no ACL is provided.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "etag": "A String", # HTTP 1.1 Entity tag for the bucket.
+ "location": "A String", # The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
+ "cors": [ # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
+ {
+ "origin": [ # The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
+ "A String",
+ ],
+ "responseHeader": [ # The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
+ "A String",
+ ],
+ "method": [ # The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
+ "A String",
+ ],
+ "maxAgeSeconds": 42, # The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
+ },
+ ],
+ "owner": { # The owner of the bucket. This is always the project team's owner group.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form project-owner-projectId.
+ },
+ "lifecycle": { # The bucket's lifecycle configuration. See lifecycle management for more information.
+ "rule": [ # A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
+ {
+ "action": { # The action to take.
+ "type": "A String", # Type of the action. Currently, only Delete is supported.
+ },
+ "condition": { # The condition(s) under which the action will be taken.
+ "isLive": True or False, # Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
+ "numNewerVersions": 42, # Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
+ "age": 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
+ "createdBefore": "A String", # A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
+ },
+ },
+ ],
+ },
+ "id": "A String", # The ID of the bucket.
+ "projectNumber": "A String", # The project number of the project the bucket belongs to.
+ "storageClass": "A String", # The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/storage_v1.channels.html b/docs/dyn/storage_v1.channels.html
new file mode 100644
index 0000000..e3b07e7
--- /dev/null
+++ b/docs/dyn/storage_v1.channels.html
@@ -0,0 +1,107 @@
+<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="storage_v1.html">Cloud Storage API</a> . <a href="storage_v1.channels.html">channels</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#stop">stop(body)</a></code></p>
+<p class="firstline">Stop watching resources through this channel</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="stop">stop(body)</code>
+ <pre>Stop watching resources through this channel
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An notification channel used to watch for resource changes.
+ "resourceUri": "A String", # A version-specific identifier for the watched resource.
+ "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
+ "resourceId": "A String", # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
+ "payload": True or False, # A Boolean value to indicate whether payload is wanted. Optional.
+ "token": "A String", # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
+ "params": { # Additional parameters controlling delivery channel behavior. Optional.
+ "a_key": "A String", # Declares a new parameter by name.
+ },
+ "expiration": "A String", # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
+ "address": "A String", # The address where notifications are delivered for this channel.
+ "type": "A String", # The type of delivery mechanism used for this channel.
+ "id": "A String", # A UUID or similar unique string that identifies this channel.
+ }
+
+</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/storage_v1.defaultObjectAccessControls.html b/docs/dyn/storage_v1.defaultObjectAccessControls.html
new file mode 100644
index 0000000..335161c
--- /dev/null
+++ b/docs/dyn/storage_v1.defaultObjectAccessControls.html
@@ -0,0 +1,392 @@
+<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="storage_v1.html">Cloud Storage API</a> . <a href="storage_v1.defaultObjectAccessControls.html">defaultObjectAccessControls</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(bucket, entity)</a></code></p>
+<p class="firstline">Permanently deletes the default object ACL entry for the specified entity on the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#get">get(bucket, entity)</a></code></p>
+<p class="firstline">Returns the default object ACL entry for the specified entity on the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(bucket, body)</a></code></p>
+<p class="firstline">Creates a new default object ACL entry on the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#list">list(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Retrieves default object ACL entries on the specified bucket.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(bucket, entity, body)</a></code></p>
+<p class="firstline">Updates a default object ACL entry on the specified bucket. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(bucket, entity, body)</a></code></p>
+<p class="firstline">Updates a default object ACL entry on the specified bucket.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(bucket, entity)</code>
+ <pre>Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(bucket, entity)</code>
+ <pre>Returns the default object ACL entry for the specified entity on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(bucket, body)</code>
+ <pre>Creates a new default object ACL entry on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Retrieves default object ACL entries on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ ifMetagenerationMatch: string, If present, only return default ACL listing if the bucket's current metageneration matches this value.
+ ifMetagenerationNotMatch: string, If present, only return default ACL listing if the bucket's current metageneration does not match the given value.
+
+Returns:
+ An object of the form:
+
+ { # An access-control list.
+ "items": [ # The list of items.
+ "",
+ ],
+ "kind": "storage#objectAccessControls", # The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(bucket, entity, body)</code>
+ <pre>Updates a default object ACL entry on the specified bucket. This method supports patch semantics.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(bucket, entity, body)</code>
+ <pre>Updates a default object ACL entry on the specified bucket.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/storage_v1.html b/docs/dyn/storage_v1.html
new file mode 100644
index 0000000..131abc8
--- /dev/null
+++ b/docs/dyn/storage_v1.html
@@ -0,0 +1,107 @@
+<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="storage_v1.html">Cloud Storage API</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="storage_v1.bucketAccessControls.html">bucketAccessControls()</a></code>
+</p>
+<p class="firstline">Returns the bucketAccessControls Resource.</p>
+
+<p class="toc_element">
+ <code><a href="storage_v1.buckets.html">buckets()</a></code>
+</p>
+<p class="firstline">Returns the buckets Resource.</p>
+
+<p class="toc_element">
+ <code><a href="storage_v1.channels.html">channels()</a></code>
+</p>
+<p class="firstline">Returns the channels Resource.</p>
+
+<p class="toc_element">
+ <code><a href="storage_v1.defaultObjectAccessControls.html">defaultObjectAccessControls()</a></code>
+</p>
+<p class="firstline">Returns the defaultObjectAccessControls Resource.</p>
+
+<p class="toc_element">
+ <code><a href="storage_v1.objectAccessControls.html">objectAccessControls()</a></code>
+</p>
+<p class="firstline">Returns the objectAccessControls Resource.</p>
+
+<p class="toc_element">
+ <code><a href="storage_v1.objects.html">objects()</a></code>
+</p>
+<p class="firstline">Returns the objects Resource.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/storage_v1.objectAccessControls.html b/docs/dyn/storage_v1.objectAccessControls.html
new file mode 100644
index 0000000..563e675
--- /dev/null
+++ b/docs/dyn/storage_v1.objectAccessControls.html
@@ -0,0 +1,402 @@
+<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="storage_v1.html">Cloud Storage API</a> . <a href="storage_v1.objectAccessControls.html">objectAccessControls</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#delete">delete(bucket, object, entity, generation=None)</a></code></p>
+<p class="firstline">Permanently deletes the ACL entry for the specified entity on the specified object.</p>
+<p class="toc_element">
+ <code><a href="#get">get(bucket, object, entity, generation=None)</a></code></p>
+<p class="firstline">Returns the ACL entry for the specified entity on the specified object.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(bucket, object, body, generation=None)</a></code></p>
+<p class="firstline">Creates a new ACL entry on the specified object.</p>
+<p class="toc_element">
+ <code><a href="#list">list(bucket, object, generation=None)</a></code></p>
+<p class="firstline">Retrieves ACL entries on the specified object.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(bucket, object, entity, body, generation=None)</a></code></p>
+<p class="firstline">Updates an ACL entry on the specified object. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(bucket, object, entity, body, generation=None)</a></code></p>
+<p class="firstline">Updates an ACL entry on the specified object.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="delete">delete(bucket, object, entity, generation=None)</code>
+ <pre>Permanently deletes the ACL entry for the specified entity on the specified object.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ object: string, Name of the object. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(bucket, object, entity, generation=None)</code>
+ <pre>Returns the ACL entry for the specified entity on the specified object.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ object: string, Name of the object. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(bucket, object, body, generation=None)</code>
+ <pre>Creates a new ACL entry on the specified object.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ object: string, Name of the object. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+}
+
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(bucket, object, generation=None)</code>
+ <pre>Retrieves ACL entries on the specified object.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ object: string, Name of the object. (required)
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+
+Returns:
+ An object of the form:
+
+ { # An access-control list.
+ "items": [ # The list of items.
+ "",
+ ],
+ "kind": "storage#objectAccessControls", # The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(bucket, object, entity, body, generation=None)</code>
+ <pre>Updates an ACL entry on the specified object. This method supports patch semantics.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ object: string, Name of the object. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+}
+
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(bucket, object, entity, body, generation=None)</code>
+ <pre>Updates an ACL entry on the specified object.
+
+Args:
+ bucket: string, Name of a bucket. (required)
+ object: string, Name of the object. (required)
+ entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+}
+
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+
+Returns:
+ An object of the form:
+
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/storage_v1.objects.html b/docs/dyn/storage_v1.objects.html
new file mode 100644
index 0000000..b3a01ee
--- /dev/null
+++ b/docs/dyn/storage_v1.objects.html
@@ -0,0 +1,1590 @@
+<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="storage_v1.html">Cloud Storage API</a> . <a href="storage_v1.objects.html">objects</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#compose">compose(destinationBucket, destinationObject, body, ifGenerationMatch=None, ifMetagenerationMatch=None, destinationPredefinedAcl=None)</a></code></p>
+<p class="firstline">Concatenates a list of existing objects into a new object in the same bucket.</p>
+<p class="toc_element">
+ <code><a href="#compose_media">compose_media(destinationBucket, destinationObject, body, ifGenerationMatch=None, ifMetagenerationMatch=None, destinationPredefinedAcl=None)</a></code></p>
+<p class="firstline">Concatenates a list of existing objects into a new object in the same bucket.</p>
+<p class="toc_element">
+ <code><a href="#copy">copy(sourceBucket, sourceObject, destinationBucket, destinationObject, body, projection=None, sourceGeneration=None, ifSourceGenerationNotMatch=None, ifSourceMetagenerationNotMatch=None, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, destinationPredefinedAcl=None, ifSourceGenerationMatch=None, ifSourceMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Copies an object to a specified location. Optionally overrides metadata.</p>
+<p class="toc_element">
+ <code><a href="#copy_media">copy_media(sourceBucket, sourceObject, destinationBucket, destinationObject, body, projection=None, sourceGeneration=None, ifSourceGenerationNotMatch=None, ifSourceMetagenerationNotMatch=None, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, destinationPredefinedAcl=None, ifSourceGenerationMatch=None, ifSourceMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Copies an object to a specified location. Optionally overrides metadata.</p>
+<p class="toc_element">
+ <code><a href="#delete">delete(bucket, object, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, ifGenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used.</p>
+<p class="toc_element">
+ <code><a href="#get">get(bucket, object, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, ifGenerationMatch=None, ifMetagenerationNotMatch=None, projection=None)</a></code></p>
+<p class="firstline">Retrieves objects or their metadata.</p>
+<p class="toc_element">
+ <code><a href="#get_media">get_media(bucket, object, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, ifGenerationMatch=None, ifMetagenerationNotMatch=None, projection=None)</a></code></p>
+<p class="firstline">Retrieves objects or their metadata.</p>
+<p class="toc_element">
+ <code><a href="#insert">insert(bucket, body=None, projection=None, media_body=None, predefinedAcl=None, ifGenerationMatch=None, ifGenerationNotMatch=None, name=None, ifMetagenerationMatch=None, contentEncoding=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Stores a new object and metadata.</p>
+<p class="toc_element">
+ <code><a href="#insert_media">insert_media(bucket, body=None, projection=None, media_body=None, predefinedAcl=None, ifGenerationMatch=None, ifGenerationNotMatch=None, name=None, ifMetagenerationMatch=None, contentEncoding=None, ifMetagenerationNotMatch=None)</a></code></p>
+<p class="firstline">Stores a new object and metadata.</p>
+<p class="toc_element">
+ <code><a href="#list">list(bucket, projection=None, versions=None, delimiter=None, maxResults=None, pageToken=None, prefix=None)</a></code></p>
+<p class="firstline">Retrieves a list of objects matching the criteria.</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
+ <code><a href="#patch">patch(bucket, object, body, ifGenerationMatch=None, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None, projection=None)</a></code></p>
+<p class="firstline">Updates an object's metadata. This method supports patch semantics.</p>
+<p class="toc_element">
+ <code><a href="#update">update(bucket, object, body, ifGenerationMatch=None, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None, projection=None)</a></code></p>
+<p class="firstline">Updates an object's metadata.</p>
+<p class="toc_element">
+ <code><a href="#update_media">update_media(bucket, object, body, ifGenerationMatch=None, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None, projection=None)</a></code></p>
+<p class="firstline">Updates an object's metadata.</p>
+<p class="toc_element">
+ <code><a href="#watchAll">watchAll(bucket, body, projection=None, versions=None, delimiter=None, maxResults=None, pageToken=None, prefix=None)</a></code></p>
+<p class="firstline">Watch for changes on all objects in a bucket.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="compose">compose(destinationBucket, destinationObject, body, ifGenerationMatch=None, ifMetagenerationMatch=None, destinationPredefinedAcl=None)</code>
+ <pre>Concatenates a list of existing objects into a new object in the same bucket.
+
+Args:
+ destinationBucket: string, Name of the bucket in which to store the new object. (required)
+ destinationObject: string, Name of the new object. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Compose request.
+ "kind": "storage#composeRequest", # The kind of item this is.
+ "destination": { # An object. # Properties of the resulting object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ },
+ "sourceObjects": [ # The list of source objects that will be concatenated into a single object.
+ {
+ "generation": "A String", # The generation of this object to use as the source.
+ "name": "A String", # The source object's name. The source object's bucket is implicitly the destination bucket.
+ "objectPreconditions": { # Conditions that must be met for this operation to execute.
+ "ifGenerationMatch": "A String", # Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.
+ },
+ },
+ ],
+ }
+
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value.
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ destinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+
+Returns:
+ An object of the form:
+
+ { # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="compose_media">compose_media(destinationBucket, destinationObject, body, ifGenerationMatch=None, ifMetagenerationMatch=None, destinationPredefinedAcl=None)</code>
+ <pre>Concatenates a list of existing objects into a new object in the same bucket.
+
+Args:
+ destinationBucket: string, Name of the bucket in which to store the new object. (required)
+ destinationObject: string, Name of the new object. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Compose request.
+ "kind": "storage#composeRequest", # The kind of item this is.
+ "destination": { # An object. # Properties of the resulting object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ },
+ "sourceObjects": [ # The list of source objects that will be concatenated into a single object.
+ {
+ "generation": "A String", # The generation of this object to use as the source.
+ "name": "A String", # The source object's name. The source object's bucket is implicitly the destination bucket.
+ "objectPreconditions": { # Conditions that must be met for this operation to execute.
+ "ifGenerationMatch": "A String", # Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.
+ },
+ },
+ ],
+ }
+
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value.
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ destinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+
+Returns:
+ The media object as a string.
+
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="copy">copy(sourceBucket, sourceObject, destinationBucket, destinationObject, body, projection=None, sourceGeneration=None, ifSourceGenerationNotMatch=None, ifSourceMetagenerationNotMatch=None, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, destinationPredefinedAcl=None, ifSourceGenerationMatch=None, ifSourceMetagenerationMatch=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Copies an object to a specified location. Optionally overrides metadata.
+
+Args:
+ sourceBucket: string, Name of the bucket in which to find the source object. (required)
+ sourceObject: string, Name of the source object. (required)
+ destinationBucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. (required)
+ destinationObject: string, Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }
+
+ projection: string, Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+ sourceGeneration: string, If present, selects a specific revision of the source object (as opposed to the latest version, the default).
+ ifSourceGenerationNotMatch: string, Makes the operation conditional on whether the source object's generation does not match the given value.
+ ifSourceMetagenerationNotMatch: string, Makes the operation conditional on whether the source object's current metageneration does not match the given value.
+ ifGenerationMatch: string, Makes the operation conditional on whether the destination object's current generation matches the given value.
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the destination object's current generation does not match the given value.
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the destination object's current metageneration matches the given value.
+ destinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+ ifSourceGenerationMatch: string, Makes the operation conditional on whether the source object's generation matches the given value.
+ ifSourceMetagenerationMatch: string, Makes the operation conditional on whether the source object's current metageneration matches the given value.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the destination object's current metageneration does not match the given value.
+
+Returns:
+ An object of the form:
+
+ { # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="copy_media">copy_media(sourceBucket, sourceObject, destinationBucket, destinationObject, body, projection=None, sourceGeneration=None, ifSourceGenerationNotMatch=None, ifSourceMetagenerationNotMatch=None, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, destinationPredefinedAcl=None, ifSourceGenerationMatch=None, ifSourceMetagenerationMatch=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Copies an object to a specified location. Optionally overrides metadata.
+
+Args:
+ sourceBucket: string, Name of the bucket in which to find the source object. (required)
+ sourceObject: string, Name of the source object. (required)
+ destinationBucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. (required)
+ destinationObject: string, Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }
+
+ projection: string, Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+ sourceGeneration: string, If present, selects a specific revision of the source object (as opposed to the latest version, the default).
+ ifSourceGenerationNotMatch: string, Makes the operation conditional on whether the source object's generation does not match the given value.
+ ifSourceMetagenerationNotMatch: string, Makes the operation conditional on whether the source object's current metageneration does not match the given value.
+ ifGenerationMatch: string, Makes the operation conditional on whether the destination object's current generation matches the given value.
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the destination object's current generation does not match the given value.
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the destination object's current metageneration matches the given value.
+ destinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+ ifSourceGenerationMatch: string, Makes the operation conditional on whether the source object's generation matches the given value.
+ ifSourceMetagenerationMatch: string, Makes the operation conditional on whether the source object's current metageneration matches the given value.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the destination object's current metageneration does not match the given value.
+
+Returns:
+ The media object as a string.
+
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="delete">delete(bucket, object, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, ifGenerationMatch=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used.
+
+Args:
+ bucket: string, Name of the bucket in which the object resides. (required)
+ object: string, Name of the object. (required)
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value.
+ generation: string, If present, permanently deletes a specific revision of this object (as opposed to the latest version, the default).
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value.
+</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get">get(bucket, object, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, ifGenerationMatch=None, ifMetagenerationNotMatch=None, projection=None)</code>
+ <pre>Retrieves objects or their metadata.
+
+Args:
+ bucket: string, Name of the bucket in which the object resides. (required)
+ object: string, Name of the object. (required)
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the object's generation does not match the given value.
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's generation matches the given value.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value.
+ projection: string, Set of properties to return. Defaults to noAcl.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+
+Returns:
+ An object of the form:
+
+ { # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="get_media">get_media(bucket, object, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, ifGenerationMatch=None, ifMetagenerationNotMatch=None, projection=None)</code>
+ <pre>Retrieves objects or their metadata.
+
+Args:
+ bucket: string, Name of the bucket in which the object resides. (required)
+ object: string, Name of the object. (required)
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the object's generation does not match the given value.
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's generation matches the given value.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value.
+ projection: string, Set of properties to return. Defaults to noAcl.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+
+Returns:
+ The media object as a string.
+
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert">insert(bucket, body=None, projection=None, media_body=None, predefinedAcl=None, ifGenerationMatch=None, ifGenerationNotMatch=None, name=None, ifMetagenerationMatch=None, contentEncoding=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Stores a new object and metadata.
+
+Args:
+ bucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }
+
+ projection: string, Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+ predefinedAcl: string, Apply a predefined set of access controls to this object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value.
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value.
+ name: string, Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ contentEncoding: string, If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value.
+
+Returns:
+ An object of the form:
+
+ { # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="insert_media">insert_media(bucket, body=None, projection=None, media_body=None, predefinedAcl=None, ifGenerationMatch=None, ifGenerationNotMatch=None, name=None, ifMetagenerationMatch=None, contentEncoding=None, ifMetagenerationNotMatch=None)</code>
+ <pre>Stores a new object and metadata.
+
+Args:
+ bucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }
+
+ projection: string, Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+ media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+ predefinedAcl: string, Apply a predefined set of access controls to this object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value.
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value.
+ name: string, Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ contentEncoding: string, If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value.
+
+Returns:
+ The media object as a string.
+
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(bucket, projection=None, versions=None, delimiter=None, maxResults=None, pageToken=None, prefix=None)</code>
+ <pre>Retrieves a list of objects matching the criteria.
+
+Args:
+ bucket: string, Name of the bucket in which to look for objects. (required)
+ projection: string, Set of properties to return. Defaults to noAcl.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+ versions: boolean, If true, lists all versions of a file as distinct results.
+ delimiter: string, Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.
+ maxResults: integer, Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total results may be returned than requested.
+ pageToken: string, A previously-returned page token representing part of the larger set of results to view.
+ prefix: string, Filter results to objects whose names begin with this prefix.
+
+Returns:
+ An object of the form:
+
+ { # A list of objects.
+ "nextPageToken": "A String", # The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
+ "items": [ # The list of items.
+ { # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ },
+ ],
+ "kind": "storage#objects", # The kind of item this is. For lists of objects, this is always storage#objects.
+ "prefixes": [ # The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
+ "A String",
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="patch">patch(bucket, object, body, ifGenerationMatch=None, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None, projection=None)</code>
+ <pre>Updates an object's metadata. This method supports patch semantics.
+
+Args:
+ bucket: string, Name of the bucket in which the object resides. (required)
+ object: string, Name of the object. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }
+
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value.
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value.
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ predefinedAcl: string, Apply a predefined set of access controls to this object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value.
+ projection: string, Set of properties to return. Defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+
+Returns:
+ An object of the form:
+
+ { # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(bucket, object, body, ifGenerationMatch=None, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None, projection=None)</code>
+ <pre>Updates an object's metadata.
+
+Args:
+ bucket: string, Name of the bucket in which the object resides. (required)
+ object: string, Name of the object. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }
+
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value.
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value.
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ predefinedAcl: string, Apply a predefined set of access controls to this object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value.
+ projection: string, Set of properties to return. Defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+
+Returns:
+ An object of the form:
+
+ { # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update_media">update_media(bucket, object, body, ifGenerationMatch=None, ifGenerationNotMatch=None, generation=None, ifMetagenerationMatch=None, predefinedAcl=None, ifMetagenerationNotMatch=None, projection=None)</code>
+ <pre>Updates an object's metadata.
+
+Args:
+ bucket: string, Name of the bucket in which the object resides. (required)
+ object: string, Name of the object. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An object.
+ "generation": "A String", # The content generation of this object. Used for object versioning.
+ "componentCount": 42, # Number of underlying components that make up this object. Components are accumulated by compose operations.
+ "mediaLink": "A String", # Media download link.
+ "owner": { # The owner of the object. This will always be the uploader of the object.
+ "entityId": "A String", # The ID for the entity.
+ "entity": "A String", # The entity, in the form user-userId.
+ },
+ "cacheControl": "A String", # Cache-Control directive for the object data.
+ "acl": [ # Access controls on the object.
+ { # An access-control entry.
+ "domain": "A String", # The domain associated with the entity, if any.
+ "generation": "A String", # The content generation of the object.
+ "object": "A String", # The name of the object.
+ "bucket": "A String", # The name of the bucket.
+ "kind": "storage#objectAccessControl", # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
+ "entity": "A String", # The entity holding the permission, in one of the following forms:
+ # - user-userId
+ # - user-email
+ # - group-groupId
+ # - group-email
+ # - domain-domain
+ # - project-team-projectId
+ # - allUsers
+ # - allAuthenticatedUsers Examples:
+ # - The user liz@example.com would be user-liz@example.com.
+ # - The group example@googlegroups.com would be group-example@googlegroups.com.
+ # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
+ "etag": "A String", # HTTP 1.1 Entity tag for the access-control entry.
+ "role": "A String", # The access permission for the entity. Can be READER or OWNER.
+ "id": "A String", # The ID of the access-control entry.
+ "entityId": "A String", # The ID for the entity, if any.
+ "projectTeam": { # The project team associated with the entity, if any.
+ "projectNumber": "A String", # The project number.
+ "team": "A String", # The team. Can be owners, editors, or viewers.
+ },
+ "email": "A String", # The email address associated with the entity, if any.
+ "selfLink": "A String", # The link to this access-control entry.
+ },
+ ],
+ "id": "A String", # The ID of the object.
+ "size": "A String", # Content-Length of the data in bytes.
+ "timeDeleted": "A String", # Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
+ "md5Hash": "A String", # MD5 hash of the data; encoded using base64.
+ "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
+ "etag": "A String", # HTTP 1.1 Entity tag for the object.
+ "metadata": { # User-provided metadata, in key/value pairs.
+ "a_key": "A String", # An individual metadata entry.
+ },
+ "updated": "A String", # Modification time of the object metadata in RFC 3339 format.
+ "contentType": "A String", # Content-Type of the object data.
+ "contentDisposition": "A String", # Content-Disposition of the object data.
+ "contentLanguage": "A String", # Content-Language of the object data.
+ "metageneration": "A String", # The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
+ "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
+ "name": "A String", # The name of this object. Required if not specified by URL parameter.
+ "bucket": "A String", # The name of the bucket containing this object.
+ "contentEncoding": "A String", # Content-Encoding of the object data.
+ "storageClass": "A String", # Storage class of the object.
+ "selfLink": "A String", # The link to this object.
+ }
+
+ ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value.
+ ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value.
+ generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
+ ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value.
+ predefinedAcl: string, Apply a predefined set of access controls to this object.
+ Allowed values
+ authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
+ bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
+ bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
+ private - Object owner gets OWNER access.
+ projectPrivate - Object owner gets OWNER access, and project team members get access according to their roles.
+ publicRead - Object owner gets OWNER access, and allUsers get READER access.
+ ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value.
+ projection: string, Set of properties to return. Defaults to full.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+
+Returns:
+ The media object as a string.
+
+ </pre>
+</div>
+
+<div class="method">
+ <code class="details" id="watchAll">watchAll(bucket, body, projection=None, versions=None, delimiter=None, maxResults=None, pageToken=None, prefix=None)</code>
+ <pre>Watch for changes on all objects in a bucket.
+
+Args:
+ bucket: string, Name of the bucket in which to look for objects. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # An notification channel used to watch for resource changes.
+ "resourceUri": "A String", # A version-specific identifier for the watched resource.
+ "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
+ "resourceId": "A String", # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
+ "payload": True or False, # A Boolean value to indicate whether payload is wanted. Optional.
+ "token": "A String", # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
+ "params": { # Additional parameters controlling delivery channel behavior. Optional.
+ "a_key": "A String", # Declares a new parameter by name.
+ },
+ "expiration": "A String", # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
+ "address": "A String", # The address where notifications are delivered for this channel.
+ "type": "A String", # The type of delivery mechanism used for this channel.
+ "id": "A String", # A UUID or similar unique string that identifies this channel.
+ }
+
+ projection: string, Set of properties to return. Defaults to noAcl.
+ Allowed values
+ full - Include all properties.
+ noAcl - Omit the acl property.
+ versions: boolean, If true, lists all versions of a file as distinct results.
+ delimiter: string, Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.
+ maxResults: integer, Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total results may be returned than requested.
+ pageToken: string, A previously-returned page token representing part of the larger set of results to view.
+ prefix: string, Filter results to objects whose names begin with this prefix.
+
+Returns:
+ An object of the form:
+
+ { # An notification channel used to watch for resource changes.
+ "resourceUri": "A String", # A version-specific identifier for the watched resource.
+ "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
+ "resourceId": "A String", # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
+ "payload": True or False, # A Boolean value to indicate whether payload is wanted. Optional.
+ "token": "A String", # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
+ "params": { # Additional parameters controlling delivery channel behavior. Optional.
+ "a_key": "A String", # Declares a new parameter by name.
+ },
+ "expiration": "A String", # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
+ "address": "A String", # The address where notifications are delivered for this channel.
+ "type": "A String", # The type of delivery mechanism used for this channel.
+ "id": "A String", # A UUID or similar unique string that identifies this channel.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/youtube_v3.channelSections.html b/docs/dyn/youtube_v3.channelSections.html
index 9fda7ae..2b90420 100644
--- a/docs/dyn/youtube_v3.channelSections.html
+++ b/docs/dyn/youtube_v3.channelSections.html
@@ -78,7 +78,7 @@
<code><a href="#delete">delete(id)</a></code></p>
<p class="firstline">Deletes a channelSection.</p>
<p class="toc_element">
- <code><a href="#insert">insert(part=None, body, onBehalfOfContentOwnerChannel=None)</a></code></p>
+ <code><a href="#insert">insert(part=None, body, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None)</a></code></p>
<p class="firstline">Adds a channelSection for the authenticated user's channel.</p>
<p class="toc_element">
<code><a href="#list">list(part=None, onBehalfOfContentOwner=None, channelId=None, mine=None, id=None)</a></code></p>
@@ -97,7 +97,7 @@
</div>
<div class="method">
- <code class="details" id="insert">insert(part=None, body, onBehalfOfContentOwnerChannel=None)</code>
+ <code class="details" id="insert">insert(part=None, body, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None)</code>
<pre>Adds a channelSection for the authenticated user's channel.
Args:
@@ -128,6 +128,9 @@
"id": "A String", # The ID that YouTube uses to uniquely identify the ChannelSection.
}
+ onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
+
+The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.
The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies.
diff --git a/docs/dyn/youtube_v3.liveBroadcasts.html b/docs/dyn/youtube_v3.liveBroadcasts.html
index c6248be..9a5b629 100644
--- a/docs/dyn/youtube_v3.liveBroadcasts.html
+++ b/docs/dyn/youtube_v3.liveBroadcasts.html
@@ -124,6 +124,7 @@
"recordingStatus": "A String", # The broadcast's recording status.
"privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
"lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+ "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
},
"kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
"contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
@@ -215,7 +216,7 @@
If you do not specify a value for this parameter, then YouTube performs the action as soon as possible. See the Getting started guide for more details.
Important: You should only specify a value for this parameter if your broadcast stream is delayed.
- walltime: string, The walltime parameter specifies the wall clock time at which the specified slate change will occur.
+ walltime: string, The walltime parameter specifies the wall clock time at which the specified slate change will occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
Returns:
An object of the form:
@@ -225,6 +226,7 @@
"recordingStatus": "A String", # The broadcast's recording status.
"privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
"lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+ "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
},
"kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
"contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
@@ -328,6 +330,7 @@
"recordingStatus": "A String", # The broadcast's recording status.
"privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
"lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+ "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
},
"kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
"contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
@@ -414,6 +417,7 @@
"recordingStatus": "A String", # The broadcast's recording status.
"privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
"lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+ "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
},
"kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
"contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
@@ -523,6 +527,7 @@
"recordingStatus": "A String", # The broadcast's recording status.
"privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
"lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+ "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
},
"kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
"contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
@@ -646,6 +651,7 @@
"recordingStatus": "A String", # The broadcast's recording status.
"privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
"lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+ "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
},
"kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
"contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
@@ -734,6 +740,7 @@
"recordingStatus": "A String", # The broadcast's recording status.
"privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
"lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+ "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
},
"kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
"contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
@@ -820,6 +827,7 @@
"recordingStatus": "A String", # The broadcast's recording status.
"privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
"lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+ "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
},
"kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
"contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
diff --git a/docs/dyn/youtube_v3.playlists.html b/docs/dyn/youtube_v3.playlists.html
index 52bc5df..dbbdd26 100644
--- a/docs/dyn/youtube_v3.playlists.html
+++ b/docs/dyn/youtube_v3.playlists.html
@@ -253,7 +253,7 @@
<pre>Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, or you can retrieve one or more playlists by their unique IDs.
Args:
- part: string, The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and status.
+ part: string, The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, status, and contentDetails.
If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, tags, and timeCreated. As such, if you set part=snippet, the API response will contain all of those properties. (required)
onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
diff --git a/docs/dyn/youtube_v3.search.html b/docs/dyn/youtube_v3.search.html
index 650ad9e..b1ce24a 100644
--- a/docs/dyn/youtube_v3.search.html
+++ b/docs/dyn/youtube_v3.search.html
@@ -75,14 +75,14 @@
<h1><a href="youtube_v3.html">YouTube Data API</a> . <a href="youtube_v3.search.html">search</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#list">list(part=None, eventType=None, channelId=None, videoSyndicated=None, channelType=None, videoCaption=None, publishedAfter=None, onBehalfOfContentOwner=None, forContentOwner=None, regionCode=None, type=None, topicId=None, publishedBefore=None, videoDimension=None, videoLicense=None, maxResults=None, videoType=None, videoDefinition=None, pageToken=None, relatedToVideoId=None, videoDuration=None, forMine=None, q=None, safeSearch=None, videoEmbeddable=None, videoCategoryId=None, order=None)</a></code></p>
+ <code><a href="#list">list(part=None, eventType=None, channelId=None, videoSyndicated=None, channelType=None, videoCaption=None, publishedAfter=None, onBehalfOfContentOwner=None, forContentOwner=None, regionCode=None, location=None, locationRadius=None, type=None, topicId=None, publishedBefore=None, videoDimension=None, videoLicense=None, maxResults=None, videoType=None, videoDefinition=None, pageToken=None, relatedToVideoId=None, videoDuration=None, forMine=None, q=None, safeSearch=None, videoEmbeddable=None, videoCategoryId=None, order=None)</a></code></p>
<p class="firstline">Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="list">list(part=None, eventType=None, channelId=None, videoSyndicated=None, channelType=None, videoCaption=None, publishedAfter=None, onBehalfOfContentOwner=None, forContentOwner=None, regionCode=None, type=None, topicId=None, publishedBefore=None, videoDimension=None, videoLicense=None, maxResults=None, videoType=None, videoDefinition=None, pageToken=None, relatedToVideoId=None, videoDuration=None, forMine=None, q=None, safeSearch=None, videoEmbeddable=None, videoCategoryId=None, order=None)</code>
+ <code class="details" id="list">list(part=None, eventType=None, channelId=None, videoSyndicated=None, channelType=None, videoCaption=None, publishedAfter=None, onBehalfOfContentOwner=None, forContentOwner=None, regionCode=None, location=None, locationRadius=None, type=None, topicId=None, publishedBefore=None, videoDimension=None, videoLicense=None, maxResults=None, videoType=None, videoDefinition=None, pageToken=None, relatedToVideoId=None, videoDuration=None, forMine=None, q=None, safeSearch=None, videoEmbeddable=None, videoCategoryId=None, order=None)</code>
<pre>Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.
Args:
@@ -116,6 +116,8 @@
The forContentOwner parameter restricts the search to only retrieve resources owned by the content owner specified by the onBehalfOfContentOwner parameter. The user must be authenticated using a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.
regionCode: string, The regionCode parameter instructs the API to return search results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
+ location: string, The location parameter restricts a search to videos that have a geographical location specified in their metadata. The value is a string that specifies geographic latitude/longitude coordinates e.g. (37.42307,-122.08427)
+ locationRadius: string, The locationRadius, in conjunction with the location parameter, defines a geographic area. If the geographic coordinates associated with a video fall within that area, then the video may be included in search results. This parameter value must be a floating point number followed by a measurement unit. Valid measurement units are m, km, ft, and mi. For example, valid parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not support locationRadius parameter values larger than 1000 kilometers.
type: string, The type parameter restricts a search query to only retrieve a particular type of resource. The value is a comma-separated list of resource types.
topicId: string, The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a Freebase topic ID.
publishedBefore: string, The publishedBefore parameter indicates that the API response should only contain resources created before the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
diff --git a/docs/dyn/youtube_v3.videos.html b/docs/dyn/youtube_v3.videos.html
index a4364e8..a342e31 100644
--- a/docs/dyn/youtube_v3.videos.html
+++ b/docs/dyn/youtube_v3.videos.html
@@ -224,25 +224,69 @@
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
},
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. # Specifies the ratings that the video received under various rating schemes.
- "ytRating": "A String", # Internal YouTube rating.
+ "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre
"catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema
- "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
"cbfcRating": "A String", # Rating system in India - Central Board of Film Certification
- "acbRating": "A String", # Rating system in Australia - Australian Classification Board
- "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
- "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
- "bbfcRating": "A String", # British Board of Film Classification
- "russiaRating": "A String", # Rating system in Russia
- "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
- "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
- "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
- "fmocRating": "A String", # Rating system in France - French Minister of Culture
- "chvrsRating": "A String", # Canadian Home Video Rating System
- "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors
+ "mdaRating": "A String", # Rating system for Singapore - Media Development Authority
+ "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board
+ "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur!
+ "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System
+ "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI
+ "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann
+ "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel
+ "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System
- "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
- "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "pefilmRating": "A String", # Rating system for Peru - Peru Rating System
+ "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet
+ "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales
"oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification
+ "fpbRating": "A String", # Rating system for South africa - Film & Publication Board
+ "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board
+ "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
+ "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films
+ "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
+ "bbfcRating": "A String", # British Board of Film Classification
+ "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
+ "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council)
+ "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System
+ "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System
+ "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council
+ "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification
+ "ytRating": "A String", # Internal YouTube rating.
+ "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
+ "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office
+ "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration
+ "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System
+ "acbRating": "A String", # Rating system in Australia - Australian Classification Board
+ "grfilmRating": "A String", # Rating system for Greece - Greece Rating System
+ "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica
+ "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board
+ "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System
+ "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film
+ "fmocRating": "A String", # Rating system in France - French Minister of Culture
+ "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
+ "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos
+ "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia
+ "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD
+ "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n
+ "smaisRating": "A String", # Rating system for Iceland - SMAIS
+ "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System
+ "russiaRating": "A String", # Rating system in Russia
+ "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
+ "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni
+ "chvrsRating": "A String", # Canadian Home Video Rating System
+ "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA
+ "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
+ "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People
+ "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System
+ "mocRating": "A String", # Rating system for Colombia - MoC
+ "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film
+ "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media
+ "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia
+ "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media
},
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
@@ -338,7 +382,7 @@
],
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
- "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+ "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
"locationDescription": "A String", # The text description of the location where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"latitude": 3.14, # Latitude in degrees.
@@ -475,25 +519,69 @@
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
},
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. # Specifies the ratings that the video received under various rating schemes.
- "ytRating": "A String", # Internal YouTube rating.
+ "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre
"catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema
- "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
"cbfcRating": "A String", # Rating system in India - Central Board of Film Certification
- "acbRating": "A String", # Rating system in Australia - Australian Classification Board
- "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
- "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
- "bbfcRating": "A String", # British Board of Film Classification
- "russiaRating": "A String", # Rating system in Russia
- "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
- "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
- "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
- "fmocRating": "A String", # Rating system in France - French Minister of Culture
- "chvrsRating": "A String", # Canadian Home Video Rating System
- "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors
+ "mdaRating": "A String", # Rating system for Singapore - Media Development Authority
+ "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board
+ "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur!
+ "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System
+ "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI
+ "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann
+ "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel
+ "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System
- "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
- "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "pefilmRating": "A String", # Rating system for Peru - Peru Rating System
+ "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet
+ "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales
"oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification
+ "fpbRating": "A String", # Rating system for South africa - Film & Publication Board
+ "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board
+ "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
+ "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films
+ "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
+ "bbfcRating": "A String", # British Board of Film Classification
+ "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
+ "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council)
+ "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System
+ "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System
+ "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council
+ "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification
+ "ytRating": "A String", # Internal YouTube rating.
+ "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
+ "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office
+ "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration
+ "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System
+ "acbRating": "A String", # Rating system in Australia - Australian Classification Board
+ "grfilmRating": "A String", # Rating system for Greece - Greece Rating System
+ "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica
+ "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board
+ "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System
+ "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film
+ "fmocRating": "A String", # Rating system in France - French Minister of Culture
+ "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
+ "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos
+ "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia
+ "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD
+ "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n
+ "smaisRating": "A String", # Rating system for Iceland - SMAIS
+ "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System
+ "russiaRating": "A String", # Rating system in Russia
+ "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
+ "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni
+ "chvrsRating": "A String", # Canadian Home Video Rating System
+ "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA
+ "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
+ "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People
+ "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System
+ "mocRating": "A String", # Rating system for Colombia - MoC
+ "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film
+ "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media
+ "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia
+ "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media
},
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
@@ -589,7 +677,7 @@
],
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
- "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+ "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
"locationDescription": "A String", # The text description of the location where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"latitude": 3.14, # Latitude in degrees.
@@ -749,25 +837,69 @@
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
},
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. # Specifies the ratings that the video received under various rating schemes.
- "ytRating": "A String", # Internal YouTube rating.
+ "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre
"catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema
- "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
"cbfcRating": "A String", # Rating system in India - Central Board of Film Certification
- "acbRating": "A String", # Rating system in Australia - Australian Classification Board
- "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
- "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
- "bbfcRating": "A String", # British Board of Film Classification
- "russiaRating": "A String", # Rating system in Russia
- "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
- "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
- "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
- "fmocRating": "A String", # Rating system in France - French Minister of Culture
- "chvrsRating": "A String", # Canadian Home Video Rating System
- "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors
+ "mdaRating": "A String", # Rating system for Singapore - Media Development Authority
+ "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board
+ "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur!
+ "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System
+ "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI
+ "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann
+ "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel
+ "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System
- "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
- "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "pefilmRating": "A String", # Rating system for Peru - Peru Rating System
+ "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet
+ "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales
"oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification
+ "fpbRating": "A String", # Rating system for South africa - Film & Publication Board
+ "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board
+ "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
+ "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films
+ "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
+ "bbfcRating": "A String", # British Board of Film Classification
+ "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
+ "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council)
+ "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System
+ "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System
+ "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council
+ "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification
+ "ytRating": "A String", # Internal YouTube rating.
+ "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
+ "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office
+ "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration
+ "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System
+ "acbRating": "A String", # Rating system in Australia - Australian Classification Board
+ "grfilmRating": "A String", # Rating system for Greece - Greece Rating System
+ "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica
+ "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board
+ "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System
+ "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film
+ "fmocRating": "A String", # Rating system in France - French Minister of Culture
+ "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
+ "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos
+ "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia
+ "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD
+ "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n
+ "smaisRating": "A String", # Rating system for Iceland - SMAIS
+ "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System
+ "russiaRating": "A String", # Rating system in Russia
+ "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
+ "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni
+ "chvrsRating": "A String", # Canadian Home Video Rating System
+ "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA
+ "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
+ "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People
+ "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System
+ "mocRating": "A String", # Rating system for Colombia - MoC
+ "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film
+ "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media
+ "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia
+ "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media
},
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
@@ -863,7 +995,7 @@
],
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
- "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+ "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
"locationDescription": "A String", # The text description of the location where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"latitude": 3.14, # Latitude in degrees.
@@ -1041,25 +1173,69 @@
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
},
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. # Specifies the ratings that the video received under various rating schemes.
- "ytRating": "A String", # Internal YouTube rating.
+ "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre
"catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema
- "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
"cbfcRating": "A String", # Rating system in India - Central Board of Film Certification
- "acbRating": "A String", # Rating system in Australia - Australian Classification Board
- "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
- "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
- "bbfcRating": "A String", # British Board of Film Classification
- "russiaRating": "A String", # Rating system in Russia
- "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
- "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
- "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
- "fmocRating": "A String", # Rating system in France - French Minister of Culture
- "chvrsRating": "A String", # Canadian Home Video Rating System
- "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors
+ "mdaRating": "A String", # Rating system for Singapore - Media Development Authority
+ "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board
+ "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur!
+ "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System
+ "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI
+ "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann
+ "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel
+ "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System
- "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
- "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "pefilmRating": "A String", # Rating system for Peru - Peru Rating System
+ "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet
+ "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales
"oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification
+ "fpbRating": "A String", # Rating system for South africa - Film & Publication Board
+ "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board
+ "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
+ "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films
+ "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
+ "bbfcRating": "A String", # British Board of Film Classification
+ "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
+ "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council)
+ "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System
+ "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System
+ "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council
+ "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification
+ "ytRating": "A String", # Internal YouTube rating.
+ "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
+ "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office
+ "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration
+ "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System
+ "acbRating": "A String", # Rating system in Australia - Australian Classification Board
+ "grfilmRating": "A String", # Rating system for Greece - Greece Rating System
+ "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica
+ "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board
+ "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System
+ "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film
+ "fmocRating": "A String", # Rating system in France - French Minister of Culture
+ "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
+ "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos
+ "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia
+ "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD
+ "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n
+ "smaisRating": "A String", # Rating system for Iceland - SMAIS
+ "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System
+ "russiaRating": "A String", # Rating system in Russia
+ "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
+ "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni
+ "chvrsRating": "A String", # Canadian Home Video Rating System
+ "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA
+ "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
+ "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People
+ "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System
+ "mocRating": "A String", # Rating system for Colombia - MoC
+ "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film
+ "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media
+ "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia
+ "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media
},
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
@@ -1155,7 +1331,7 @@
],
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
- "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+ "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
"locationDescription": "A String", # The text description of the location where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"latitude": 3.14, # Latitude in degrees.
@@ -1283,25 +1459,69 @@
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
},
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. # Specifies the ratings that the video received under various rating schemes.
- "ytRating": "A String", # Internal YouTube rating.
+ "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre
"catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema
- "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
"cbfcRating": "A String", # Rating system in India - Central Board of Film Certification
- "acbRating": "A String", # Rating system in Australia - Australian Classification Board
- "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
- "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
- "bbfcRating": "A String", # British Board of Film Classification
- "russiaRating": "A String", # Rating system in Russia
- "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
- "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
- "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
- "fmocRating": "A String", # Rating system in France - French Minister of Culture
- "chvrsRating": "A String", # Canadian Home Video Rating System
- "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors
+ "mdaRating": "A String", # Rating system for Singapore - Media Development Authority
+ "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board
+ "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur!
+ "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System
+ "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI
+ "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann
+ "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel
+ "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System
- "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
- "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "pefilmRating": "A String", # Rating system for Peru - Peru Rating System
+ "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet
+ "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales
"oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification
+ "fpbRating": "A String", # Rating system for South africa - Film & Publication Board
+ "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board
+ "tvpgRating": "A String", # TV Parental Guidelines rating of the content.
+ "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography
+ "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films
+ "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
+ "bbfcRating": "A String", # British Board of Film Classification
+ "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board
+ "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council)
+ "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System
+ "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System
+ "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council
+ "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification
+ "ytRating": "A String", # Internal YouTube rating.
+ "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification
+ "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office
+ "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration
+ "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System
+ "acbRating": "A String", # Rating system in Australia - Australian Classification Board
+ "grfilmRating": "A String", # Rating system for Greece - Greece Rating System
+ "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica
+ "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board
+ "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System
+ "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film
+ "fmocRating": "A String", # Rating system in France - French Minister of Culture
+ "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai
+ "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos
+ "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia
+ "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD
+ "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo
+ "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n
+ "smaisRating": "A String", # Rating system for Iceland - SMAIS
+ "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System
+ "russiaRating": "A String", # Rating system in Russia
+ "mpaaRating": "A String", # Motion Picture Association of America rating for the content.
+ "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni
+ "chvrsRating": "A String", # Canadian Home Video Rating System
+ "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA
+ "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales
+ "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People
+ "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System
+ "mocRating": "A String", # Rating system for Colombia - MoC
+ "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film
+ "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media
+ "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia
+ "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media
},
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
@@ -1397,7 +1617,7 @@
],
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
- "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+ "recordingDate": "A String", # The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
"locationDescription": "A String", # The text description of the location where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"latitude": 3.14, # Latitude in degrees.
diff --git a/docs/epy/class-tree.html b/docs/epy/class-tree.html
index ac7fd67..7e8a3d6 100644
--- a/docs/epy/class-tree.html
+++ b/docs/epy/class-tree.html
@@ -154,7 +154,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient-module.html b/docs/epy/googleapiclient-module.html
index 637c669..a7ff827 100644
--- a/docs/epy/googleapiclient-module.html
+++ b/docs/epy/googleapiclient-module.html
@@ -116,7 +116,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient-pysrc.html b/docs/epy/googleapiclient-pysrc.html
index 8496217..78502b2 100644
--- a/docs/epy/googleapiclient-pysrc.html
+++ b/docs/epy/googleapiclient-pysrc.html
@@ -55,7 +55,7 @@
</table>
<h1 class="epydoc">Source Code for <a href="googleapiclient-module.html">Package googleapiclient</a></h1>
<pre class="py-src">
-<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2012 Google Inc.</tt> </tt>
+<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2014 Google Inc.</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
@@ -103,7 +103,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.channel-module.html b/docs/epy/googleapiclient.channel-module.html
index 54d5d84..4433c0a 100644
--- a/docs/epy/googleapiclient.channel-module.html
+++ b/docs/epy/googleapiclient.channel-module.html
@@ -455,7 +455,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.channel-pysrc.html b/docs/epy/googleapiclient.channel-pysrc.html
index ff3a7d3..16ea6b7 100644
--- a/docs/epy/googleapiclient.channel-pysrc.html
+++ b/docs/epy/googleapiclient.channel-pysrc.html
@@ -373,7 +373,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.channel.Channel-class.html b/docs/epy/googleapiclient.channel.Channel-class.html
index f286bff..d960a81 100644
--- a/docs/epy/googleapiclient.channel.Channel-class.html
+++ b/docs/epy/googleapiclient.channel.Channel-class.html
@@ -59,10 +59,10 @@
<h1 class="epydoc">Class Channel</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.channel-pysrc.html#Channel">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap" name="uml_class_diagram_for_googleap">
-<area shape="rect" id="node0" href="googleapiclient.channel.Channel-class.html#__init__" title="Create a new Channel." alt="" coords="17,39,627,57"/>
-<area shape="rect" id="node0" href="googleapiclient.channel.Channel-class.html#body" title="Build a body from the Channel." alt="" coords="17,57,627,76"/>
-<area shape="rect" id="node0" href="googleapiclient.channel.Channel-class.html#update" title="Update a channel with information from the response of watch()." alt="" coords="17,76,627,95"/>
-<area shape="rect" id="node1" href="googleapiclient.channel.Channel-class.html" title="A Channel for notifications." alt="" coords="5,6,637,101"/>
+<area shape="rect" id="node1_3" href="googleapiclient.channel.Channel-class.html#__init__" title="Create a new Channel." alt="" coords="17,36,633,55"/>
+<area shape="rect" id="node1_4" href="googleapiclient.channel.Channel-class.html#body" title="Build a body from the Channel." alt="" coords="17,55,633,73"/>
+<area shape="rect" id="node1_5" href="googleapiclient.channel.Channel-class.html#update" title="Update a channel with information from the response of watch()." alt="" coords="17,73,633,92"/>
+<area shape="rect" id="node1" href="googleapiclient.channel.Channel-class.html" title="A Channel for notifications." alt="" coords="5,5,645,99"/>
</map>
<img src="uml_class_diagram_for_googleap.gif" alt='' usemap="#uml_class_diagram_for_googleap" ismap="ismap" class="graph-without-title" />
</center>
@@ -376,7 +376,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.channel.Notification-class.html b/docs/epy/googleapiclient.channel.Notification-class.html
index 761d189..05ceef7 100644
--- a/docs/epy/googleapiclient.channel.Notification-class.html
+++ b/docs/epy/googleapiclient.channel.Notification-class.html
@@ -59,8 +59,8 @@
<h1 class="epydoc">Class Notification</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.channel-pysrc.html#Notification">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_2" name="uml_class_diagram_for_googleap_2">
-<area shape="rect" id="node1" href="googleapiclient.channel.Notification-class.html#__init__" title="Notification constructor." alt="" coords="17,39,401,57"/>
-<area shape="rect" id="node1" href="googleapiclient.channel.Notification-class.html" title="A Notification from a Channel." alt="" coords="5,6,413,63"/>
+<area shape="rect" id="node1_1" href="googleapiclient.channel.Notification-class.html#__init__" title="Notification constructor." alt="" coords="17,36,407,55"/>
+<area shape="rect" id="node1" href="googleapiclient.channel.Notification-class.html" title="A Notification from a Channel." alt="" coords="5,5,419,61"/>
</map>
<img src="uml_class_diagram_for_googleap_2.gif" alt='' usemap="#uml_class_diagram_for_googleap_2" ismap="ismap" class="graph-without-title" />
</center>
@@ -249,7 +249,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.discovery-module.html b/docs/epy/googleapiclient.discovery-module.html
index c324858..55b4b29 100644
--- a/docs/epy/googleapiclient.discovery-module.html
+++ b/docs/epy/googleapiclient.discovery-module.html
@@ -164,7 +164,8 @@
<span class="summary-sig-arg">discoveryServiceUrl</span>=<span class="summary-sig-default">DISCOVERY_URI</span>,
<span class="summary-sig-arg">developerKey</span>=<span class="summary-sig-default">None</span>,
<span class="summary-sig-arg">model</span>=<span class="summary-sig-default">None</span>,
- <span class="summary-sig-arg">requestBuilder</span>=<span class="summary-sig-default">HttpRequest</span>)</span><br />
+ <span class="summary-sig-arg">requestBuilder</span>=<span class="summary-sig-default">HttpRequest</span>,
+ <span class="summary-sig-arg">credentials</span>=<span class="summary-sig-default">None</span>)</span><br />
Construct a Resource for interacting with an API.</td>
<td align="right" valign="top">
<span class="codelink"><a href="googleapiclient.discovery-pysrc.html#build">source code</a></span>
@@ -187,7 +188,8 @@
<span class="summary-sig-arg">http</span>=<span class="summary-sig-default">None</span>,
<span class="summary-sig-arg">developerKey</span>=<span class="summary-sig-default">None</span>,
<span class="summary-sig-arg">model</span>=<span class="summary-sig-default">None</span>,
- <span class="summary-sig-arg">requestBuilder</span>=<span class="summary-sig-default">HttpRequest</span>)</span><br />
+ <span class="summary-sig-arg">requestBuilder</span>=<span class="summary-sig-default">HttpRequest</span>,
+ <span class="summary-sig-arg">credentials</span>=<span class="summary-sig-default">None</span>)</span><br />
Create a Resource for interacting with an API.</td>
<td align="right" valign="top">
<span class="codelink"><a href="googleapiclient.discovery-pysrc.html#build_from_document">source code</a></span>
@@ -540,7 +542,8 @@
<span class="sig-arg">discoveryServiceUrl</span>=<span class="sig-default">DISCOVERY_URI</span>,
<span class="sig-arg">developerKey</span>=<span class="sig-default">None</span>,
<span class="sig-arg">model</span>=<span class="sig-default">None</span>,
- <span class="sig-arg">requestBuilder</span>=<span class="sig-default">HttpRequest</span>)</span>
+ <span class="sig-arg">requestBuilder</span>=<span class="sig-default">HttpRequest</span>,
+ <span class="sig-arg">credentials</span>=<span class="sig-default">None</span>)</span>
</h3>
</td><td align="right" valign="top"
><span class="codelink"><a href="googleapiclient.discovery-pysrc.html#build">source code</a></span>
@@ -567,6 +570,8 @@
model: googleapiclient.Model, converts to and from the wire format.
requestBuilder: googleapiclient.http.HttpRequest, encapsulator for an HTTP
request.
+ credentials: oauth2client.Credentials, credentials to be used for
+ authentication.
Returns:
A Resource object with methods for interacting with the service.
@@ -593,7 +598,8 @@
<span class="sig-arg">http</span>=<span class="sig-default">None</span>,
<span class="sig-arg">developerKey</span>=<span class="sig-default">None</span>,
<span class="sig-arg">model</span>=<span class="sig-default">None</span>,
- <span class="sig-arg">requestBuilder</span>=<span class="sig-default">HttpRequest</span>)</span>
+ <span class="sig-arg">requestBuilder</span>=<span class="sig-default">HttpRequest</span>,
+ <span class="sig-arg">credentials</span>=<span class="sig-default">None</span>)</span>
</h3>
</td><td align="right" valign="top"
><span class="codelink"><a href="googleapiclient.discovery-pysrc.html#build_from_document">source code</a></span>
@@ -621,6 +627,7 @@
model: Model class instance that serializes and de-serializes requests and
responses.
requestBuilder: Takes an http request and packages it up to be executed.
+ credentials: object, credentials to be used for authentication.
Returns:
A Resource object with methods for interacting with the service.
@@ -1074,7 +1081,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.discovery-pysrc.html b/docs/epy/googleapiclient.discovery-pysrc.html
index e9086b8..ea84292 100644
--- a/docs/epy/googleapiclient.discovery-pysrc.html
+++ b/docs/epy/googleapiclient.discovery-pysrc.html
@@ -56,7 +56,7 @@
</table>
<h1 class="epydoc">Source Code for <a href="googleapiclient.discovery-module.html">Module googleapiclient.discovery</a></h1>
<pre class="py-src">
-<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2010 Google Inc.</tt> </tt>
+<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2014 Google Inc.</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
@@ -85,994 +85,1030 @@
<a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"><tt class="py-comment"># Standard library imports</tt> </tt>
-<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">copy</tt> </tt>
-<a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">email</tt><tt class="py-op">.</tt><tt class="py-name">mime</tt><tt class="py-op">.</tt><tt class="py-name">multipart</tt> <tt class="py-keyword">import</tt> <tt class="py-name">MIMEMultipart</tt> </tt>
-<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">email</tt><tt class="py-op">.</tt><tt class="py-name">mime</tt><tt class="py-op">.</tt><tt class="py-name">nonmultipart</tt> <tt class="py-keyword">import</tt> <tt class="py-name">MIMENonMultipart</tt> </tt>
-<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">keyword</tt> </tt>
-<a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
-<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">mimetypes</tt> </tt>
-<a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
-<a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt>
-<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">urllib</tt> </tt>
-<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">urlparse</tt> </tt>
-<a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"> </tt>
-<a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"><tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">urlparse</tt> <tt class="py-keyword">import</tt> <tt class="py-name">parse_qsl</tt> </tt>
-<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"><tt class="py-keyword">except</tt> <tt class="py-name">ImportError</tt><tt class="py-op">:</tt> </tt>
-<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">cgi</tt> <tt class="py-keyword">import</tt> <tt class="py-name">parse_qsl</tt> </tt>
-<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> </tt>
-<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"><tt class="py-comment"># Third-party imports</tt> </tt>
-<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">httplib2</tt> </tt>
-<a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Module googleapiclient.mimeparse=googleapiclient.mimeparse-module.html"><a title="googleapiclient.mimeparse" class="py-name" href="#" onclick="return doclink('link-0', 'mimeparse', 'link-0');">mimeparse</a></tt> </tt>
-<a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">uritemplate</tt> </tt>
-<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> </tt>
-<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"><tt class="py-comment"># Local imports</tt> </tt>
-<a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-1" class="py-name" targets="Package googleapiclient=googleapiclient-module.html"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-1', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module googleapiclient.errors=googleapiclient.errors-module.html"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-2', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class googleapiclient.errors.HttpError=googleapiclient.errors.HttpError-class.html"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-3', 'HttpError', 'link-3');">HttpError</a></tt> </tt>
-<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-4', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-5', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-6" class="py-name" targets="Class googleapiclient.errors.InvalidJsonError=googleapiclient.errors.InvalidJsonError-class.html"><a title="googleapiclient.errors.InvalidJsonError" class="py-name" href="#" onclick="return doclink('link-6', 'InvalidJsonError', 'link-6');">InvalidJsonError</a></tt> </tt>
-<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-7" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-7', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-8', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-9" class="py-name" targets="Class googleapiclient.errors.MediaUploadSizeError=googleapiclient.errors.MediaUploadSizeError-class.html"><a title="googleapiclient.errors.MediaUploadSizeError" class="py-name" href="#" onclick="return doclink('link-9', 'MediaUploadSizeError', 'link-9');">MediaUploadSizeError</a></tt> </tt>
-<a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-10" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-10', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-11', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-12" class="py-name" targets="Class googleapiclient.errors.UnacceptableMimeTypeError=googleapiclient.errors.UnacceptableMimeTypeError-class.html"><a title="googleapiclient.errors.UnacceptableMimeTypeError" class="py-name" href="#" onclick="return doclink('link-12', 'UnacceptableMimeTypeError', 'link-12');">UnacceptableMimeTypeError</a></tt> </tt>
-<a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-13" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-13', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-14', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-15" class="py-name" targets="Class googleapiclient.errors.UnknownApiNameOrVersion=googleapiclient.errors.UnknownApiNameOrVersion-class.html"><a title="googleapiclient.errors.UnknownApiNameOrVersion" class="py-name" href="#" onclick="return doclink('link-15', 'UnknownApiNameOrVersion', 'link-15');">UnknownApiNameOrVersion</a></tt> </tt>
-<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-16" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-16', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-17', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-18" class="py-name" targets="Class googleapiclient.errors.UnknownFileType=googleapiclient.errors.UnknownFileType-class.html"><a title="googleapiclient.errors.UnknownFileType" class="py-name" href="#" onclick="return doclink('link-18', 'UnknownFileType', 'link-18');">UnknownFileType</a></tt> </tt>
-<a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-19" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-19', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Module googleapiclient.http=googleapiclient.http-module.html"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-20', 'http', 'link-20');">http</a></tt> <tt class="py-keyword">import</tt> <tt id="link-21" class="py-name" targets="Class googleapiclient.http.HttpRequest=googleapiclient.http.HttpRequest-class.html"><a title="googleapiclient.http.HttpRequest" class="py-name" href="#" onclick="return doclink('link-21', 'HttpRequest', 'link-21');">HttpRequest</a></tt> </tt>
-<a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-22" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-22', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-23', 'http', 'link-20');">http</a></tt> <tt class="py-keyword">import</tt> <tt id="link-24" class="py-name" targets="Class googleapiclient.http.MediaFileUpload=googleapiclient.http.MediaFileUpload-class.html"><a title="googleapiclient.http.MediaFileUpload" class="py-name" href="#" onclick="return doclink('link-24', 'MediaFileUpload', 'link-24');">MediaFileUpload</a></tt> </tt>
-<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-25" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-25', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-26', 'http', 'link-20');">http</a></tt> <tt class="py-keyword">import</tt> <tt id="link-27" class="py-name" targets="Class googleapiclient.http.MediaUpload=googleapiclient.http.MediaUpload-class.html"><a title="googleapiclient.http.MediaUpload" class="py-name" href="#" onclick="return doclink('link-27', 'MediaUpload', 'link-27');">MediaUpload</a></tt> </tt>
-<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-28" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-28', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Module googleapiclient.model=googleapiclient.model-module.html"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-29', 'model', 'link-29');">model</a></tt> <tt class="py-keyword">import</tt> <tt id="link-30" class="py-name" targets="Class googleapiclient.model.JsonModel=googleapiclient.model.JsonModel-class.html"><a title="googleapiclient.model.JsonModel" class="py-name" href="#" onclick="return doclink('link-30', 'JsonModel', 'link-30');">JsonModel</a></tt> </tt>
-<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-31" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-31', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-32" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-32', 'model', 'link-29');">model</a></tt> <tt class="py-keyword">import</tt> <tt id="link-33" class="py-name" targets="Class googleapiclient.model.MediaModel=googleapiclient.model.MediaModel-class.html"><a title="googleapiclient.model.MediaModel" class="py-name" href="#" onclick="return doclink('link-33', 'MediaModel', 'link-33');">MediaModel</a></tt> </tt>
-<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-34" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-34', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-35', 'model', 'link-29');">model</a></tt> <tt class="py-keyword">import</tt> <tt id="link-36" class="py-name" targets="Class googleapiclient.model.RawModel=googleapiclient.model.RawModel-class.html"><a title="googleapiclient.model.RawModel" class="py-name" href="#" onclick="return doclink('link-36', 'RawModel', 'link-36');">RawModel</a></tt> </tt>
-<a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-37" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-37', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-38" class="py-name" targets="Module googleapiclient.schema=googleapiclient.schema-module.html"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-38', 'schema', 'link-38');">schema</a></tt> <tt class="py-keyword">import</tt> <tt id="link-39" class="py-name" targets="Class googleapiclient.schema.Schemas=googleapiclient.schema.Schemas-class.html"><a title="googleapiclient.schema.Schemas" class="py-name" href="#" onclick="return doclink('link-39', 'Schemas', 'link-39');">Schemas</a></tt> </tt>
-<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">oauth2client</tt><tt class="py-op">.</tt><tt class="py-name">anyjson</tt> <tt class="py-keyword">import</tt> <tt class="py-name">simplejson</tt> </tt>
-<a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">oauth2client</tt><tt class="py-op">.</tt><tt class="py-name">util</tt> <tt class="py-keyword">import</tt> <tt class="py-name">_add_query_parameter</tt> </tt>
-<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">oauth2client</tt><tt class="py-op">.</tt><tt class="py-name">util</tt> <tt class="py-keyword">import</tt> <tt class="py-name">positional</tt> </tt>
-<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> </tt>
-<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> </tt>
-<a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"><tt class="py-comment"># The client library requires a version of httplib2 that supports RETRIES.</tt> </tt>
-<a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"><tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">RETRIES</tt> <tt class="py-op">=</tt> <tt class="py-number">1</tt> </tt>
+<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">StringIO</tt> </tt>
+<a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">copy</tt> </tt>
+<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">email</tt><tt class="py-op">.</tt><tt class="py-name">generator</tt> <tt class="py-keyword">import</tt> <tt class="py-name">Generator</tt> </tt>
+<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">email</tt><tt class="py-op">.</tt><tt class="py-name">mime</tt><tt class="py-op">.</tt><tt class="py-name">multipart</tt> <tt class="py-keyword">import</tt> <tt class="py-name">MIMEMultipart</tt> </tt>
+<a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">email</tt><tt class="py-op">.</tt><tt class="py-name">mime</tt><tt class="py-op">.</tt><tt class="py-name">nonmultipart</tt> <tt class="py-keyword">import</tt> <tt class="py-name">MIMENonMultipart</tt> </tt>
+<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">keyword</tt> </tt>
+<a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
+<a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">mimetypes</tt> </tt>
+<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
+<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt>
+<a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">urllib</tt> </tt>
+<a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">urlparse</tt> </tt>
+<a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> </tt>
+<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"><tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">urlparse</tt> <tt class="py-keyword">import</tt> <tt class="py-name">parse_qsl</tt> </tt>
+<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"><tt class="py-keyword">except</tt> <tt class="py-name">ImportError</tt><tt class="py-op">:</tt> </tt>
+<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">cgi</tt> <tt class="py-keyword">import</tt> <tt class="py-name">parse_qsl</tt> </tt>
+<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"> </tt>
+<a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"><tt class="py-comment"># Third-party imports</tt> </tt>
+<a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">httplib2</tt> </tt>
+<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Module googleapiclient.mimeparse=googleapiclient.mimeparse-module.html"><a title="googleapiclient.mimeparse" class="py-name" href="#" onclick="return doclink('link-0', 'mimeparse', 'link-0');">mimeparse</a></tt> </tt>
+<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">uritemplate</tt> </tt>
+<a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> </tt>
+<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"><tt class="py-comment"># Local imports</tt> </tt>
+<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-1" class="py-name" targets="Package googleapiclient=googleapiclient-module.html"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-1', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module googleapiclient.errors=googleapiclient.errors-module.html"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-2', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class googleapiclient.errors.HttpError=googleapiclient.errors.HttpError-class.html"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-3', 'HttpError', 'link-3');">HttpError</a></tt> </tt>
+<a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-4', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-5', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-6" class="py-name" targets="Class googleapiclient.errors.InvalidJsonError=googleapiclient.errors.InvalidJsonError-class.html"><a title="googleapiclient.errors.InvalidJsonError" class="py-name" href="#" onclick="return doclink('link-6', 'InvalidJsonError', 'link-6');">InvalidJsonError</a></tt> </tt>
+<a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-7" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-7', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-8', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-9" class="py-name" targets="Class googleapiclient.errors.MediaUploadSizeError=googleapiclient.errors.MediaUploadSizeError-class.html"><a title="googleapiclient.errors.MediaUploadSizeError" class="py-name" href="#" onclick="return doclink('link-9', 'MediaUploadSizeError', 'link-9');">MediaUploadSizeError</a></tt> </tt>
+<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-10" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-10', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-11', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-12" class="py-name" targets="Class googleapiclient.errors.UnacceptableMimeTypeError=googleapiclient.errors.UnacceptableMimeTypeError-class.html"><a title="googleapiclient.errors.UnacceptableMimeTypeError" class="py-name" href="#" onclick="return doclink('link-12', 'UnacceptableMimeTypeError', 'link-12');">UnacceptableMimeTypeError</a></tt> </tt>
+<a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-13" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-13', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-14', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-15" class="py-name" targets="Class googleapiclient.errors.UnknownApiNameOrVersion=googleapiclient.errors.UnknownApiNameOrVersion-class.html"><a title="googleapiclient.errors.UnknownApiNameOrVersion" class="py-name" href="#" onclick="return doclink('link-15', 'UnknownApiNameOrVersion', 'link-15');">UnknownApiNameOrVersion</a></tt> </tt>
+<a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-16" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-16', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="googleapiclient.errors" class="py-name" href="#" onclick="return doclink('link-17', 'errors', 'link-2');">errors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-18" class="py-name" targets="Class googleapiclient.errors.UnknownFileType=googleapiclient.errors.UnknownFileType-class.html"><a title="googleapiclient.errors.UnknownFileType" class="py-name" href="#" onclick="return doclink('link-18', 'UnknownFileType', 'link-18');">UnknownFileType</a></tt> </tt>
+<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-19" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-19', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Module googleapiclient.http=googleapiclient.http-module.html"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-20', 'http', 'link-20');">http</a></tt> <tt class="py-keyword">import</tt> <tt id="link-21" class="py-name" targets="Class googleapiclient.http.HttpRequest=googleapiclient.http.HttpRequest-class.html"><a title="googleapiclient.http.HttpRequest" class="py-name" href="#" onclick="return doclink('link-21', 'HttpRequest', 'link-21');">HttpRequest</a></tt> </tt>
+<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-22" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-22', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-23', 'http', 'link-20');">http</a></tt> <tt class="py-keyword">import</tt> <tt id="link-24" class="py-name" targets="Class googleapiclient.http.MediaFileUpload=googleapiclient.http.MediaFileUpload-class.html"><a title="googleapiclient.http.MediaFileUpload" class="py-name" href="#" onclick="return doclink('link-24', 'MediaFileUpload', 'link-24');">MediaFileUpload</a></tt> </tt>
+<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-25" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-25', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-26', 'http', 'link-20');">http</a></tt> <tt class="py-keyword">import</tt> <tt id="link-27" class="py-name" targets="Class googleapiclient.http.MediaUpload=googleapiclient.http.MediaUpload-class.html"><a title="googleapiclient.http.MediaUpload" class="py-name" href="#" onclick="return doclink('link-27', 'MediaUpload', 'link-27');">MediaUpload</a></tt> </tt>
+<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-28" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-28', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Module googleapiclient.model=googleapiclient.model-module.html"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-29', 'model', 'link-29');">model</a></tt> <tt class="py-keyword">import</tt> <tt id="link-30" class="py-name" targets="Class googleapiclient.model.JsonModel=googleapiclient.model.JsonModel-class.html"><a title="googleapiclient.model.JsonModel" class="py-name" href="#" onclick="return doclink('link-30', 'JsonModel', 'link-30');">JsonModel</a></tt> </tt>
+<a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-31" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-31', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-32" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-32', 'model', 'link-29');">model</a></tt> <tt class="py-keyword">import</tt> <tt id="link-33" class="py-name" targets="Class googleapiclient.model.MediaModel=googleapiclient.model.MediaModel-class.html"><a title="googleapiclient.model.MediaModel" class="py-name" href="#" onclick="return doclink('link-33', 'MediaModel', 'link-33');">MediaModel</a></tt> </tt>
+<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-34" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-34', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-35', 'model', 'link-29');">model</a></tt> <tt class="py-keyword">import</tt> <tt id="link-36" class="py-name" targets="Class googleapiclient.model.RawModel=googleapiclient.model.RawModel-class.html"><a title="googleapiclient.model.RawModel" class="py-name" href="#" onclick="return doclink('link-36', 'RawModel', 'link-36');">RawModel</a></tt> </tt>
+<a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-37" class="py-name"><a title="googleapiclient" class="py-name" href="#" onclick="return doclink('link-37', 'googleapiclient', 'link-1');">googleapiclient</a></tt><tt class="py-op">.</tt><tt id="link-38" class="py-name" targets="Module googleapiclient.schema=googleapiclient.schema-module.html"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-38', 'schema', 'link-38');">schema</a></tt> <tt class="py-keyword">import</tt> <tt id="link-39" class="py-name" targets="Class googleapiclient.schema.Schemas=googleapiclient.schema.Schemas-class.html"><a title="googleapiclient.schema.Schemas" class="py-name" href="#" onclick="return doclink('link-39', 'Schemas', 'link-39');">Schemas</a></tt> </tt>
+<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">oauth2client</tt><tt class="py-op">.</tt><tt class="py-name">anyjson</tt> <tt class="py-keyword">import</tt> <tt class="py-name">simplejson</tt> </tt>
+<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">oauth2client</tt><tt class="py-op">.</tt><tt class="py-name">client</tt> <tt class="py-keyword">import</tt> <tt class="py-name">GoogleCredentials</tt> </tt>
+<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">oauth2client</tt><tt class="py-op">.</tt><tt class="py-name">util</tt> <tt class="py-keyword">import</tt> <tt class="py-name">_add_query_parameter</tt> </tt>
+<a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">oauth2client</tt><tt class="py-op">.</tt><tt class="py-name">util</tt> <tt class="py-keyword">import</tt> <tt class="py-name">positional</tt> </tt>
+<a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> </tt>
-<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"><tt id="link-40" class="py-name" targets="Variable googleapiclient.discovery.logger=googleapiclient.discovery-module.html#logger"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-40', 'logger', 'link-40');">logger</a></tt> <tt class="py-op">=</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">getLogger</tt><tt class="py-op">(</tt><tt class="py-name">__name__</tt><tt class="py-op">)</tt> </tt>
-<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> </tt>
-<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"><tt id="link-41" class="py-name" targets="Variable googleapiclient.discovery.URITEMPLATE=googleapiclient.discovery-module.html#URITEMPLATE"><a title="googleapiclient.discovery.URITEMPLATE" class="py-name" href="#" onclick="return doclink('link-41', 'URITEMPLATE', 'link-41');">URITEMPLATE</a></tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt class="py-string">'{[^}]*}'</tt><tt class="py-op">)</tt> </tt>
-<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"><tt id="link-42" class="py-name" targets="Variable googleapiclient.discovery.VARNAME=googleapiclient.discovery-module.html#VARNAME"><a title="googleapiclient.discovery.VARNAME" class="py-name" href="#" onclick="return doclink('link-42', 'VARNAME', 'link-42');">VARNAME</a></tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt class="py-string">'[a-zA-Z0-9_-]+'</tt><tt class="py-op">)</tt> </tt>
-<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"><tt id="link-43" class="py-name" targets="Variable googleapiclient.discovery.DISCOVERY_URI=googleapiclient.discovery-module.html#DISCOVERY_URI"><a title="googleapiclient.discovery.DISCOVERY_URI" class="py-name" href="#" onclick="return doclink('link-43', 'DISCOVERY_URI', 'link-43');">DISCOVERY_URI</a></tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-string">'https://www.googleapis.com/discovery/v1/apis/'</tt> </tt>
-<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-string">'{api}/{apiVersion}/rest'</tt><tt class="py-op">)</tt> </tt>
-<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"><tt id="link-44" class="py-name" targets="Variable googleapiclient.discovery.DEFAULT_METHOD_DOC=googleapiclient.discovery-module.html#DEFAULT_METHOD_DOC"><a title="googleapiclient.discovery.DEFAULT_METHOD_DOC" class="py-name" href="#" onclick="return doclink('link-44', 'DEFAULT_METHOD_DOC', 'link-44');">DEFAULT_METHOD_DOC</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'A description of how to use this function'</tt> </tt>
-<a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"><tt id="link-45" class="py-name" targets="Variable googleapiclient.discovery.HTTP_PAYLOAD_METHODS=googleapiclient.discovery-module.html#HTTP_PAYLOAD_METHODS"><a title="googleapiclient.discovery.HTTP_PAYLOAD_METHODS" class="py-name" href="#" onclick="return doclink('link-45', 'HTTP_PAYLOAD_METHODS', 'link-45');">HTTP_PAYLOAD_METHODS</a></tt> <tt class="py-op">=</tt> <tt class="py-name">frozenset</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-string">'PUT'</tt><tt class="py-op">,</tt> <tt class="py-string">'POST'</tt><tt class="py-op">,</tt> <tt class="py-string">'PATCH'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"><tt id="link-46" class="py-name" targets="Variable googleapiclient.discovery._MEDIA_SIZE_BIT_SHIFTS=googleapiclient.discovery-module.html#_MEDIA_SIZE_BIT_SHIFTS"><a title="googleapiclient.discovery._MEDIA_SIZE_BIT_SHIFTS" class="py-name" href="#" onclick="return doclink('link-46', '_MEDIA_SIZE_BIT_SHIFTS', 'link-46');">_MEDIA_SIZE_BIT_SHIFTS</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'KB'</tt><tt class="py-op">:</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> <tt class="py-string">'MB'</tt><tt class="py-op">:</tt> <tt class="py-number">20</tt><tt class="py-op">,</tt> <tt class="py-string">'GB'</tt><tt class="py-op">:</tt> <tt class="py-number">30</tt><tt class="py-op">,</tt> <tt class="py-string">'TB'</tt><tt class="py-op">:</tt> <tt class="py-number">40</tt><tt class="py-op">}</tt> </tt>
-<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"><tt id="link-47" class="py-name" targets="Variable googleapiclient.discovery.BODY_PARAMETER_DEFAULT_VALUE=googleapiclient.discovery-module.html#BODY_PARAMETER_DEFAULT_VALUE"><a title="googleapiclient.discovery.BODY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-47', 'BODY_PARAMETER_DEFAULT_VALUE', 'link-47');">BODY_PARAMETER_DEFAULT_VALUE</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
-<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-string">'description'</tt><tt class="py-op">:</tt> <tt class="py-string">'The request body.'</tt><tt class="py-op">,</tt> </tt>
-<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-string">'type'</tt><tt class="py-op">:</tt> <tt class="py-string">'object'</tt><tt class="py-op">,</tt> </tt>
-<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt class="py-string">'required'</tt><tt class="py-op">:</tt> <tt class="py-name">True</tt><tt class="py-op">,</tt> </tt>
-<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"><tt class="py-op">}</tt> </tt>
-<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"><tt id="link-48" class="py-name" targets="Variable googleapiclient.discovery.MEDIA_BODY_PARAMETER_DEFAULT_VALUE=googleapiclient.discovery-module.html#MEDIA_BODY_PARAMETER_DEFAULT_VALUE"><a title="googleapiclient.discovery.MEDIA_BODY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-48', 'MEDIA_BODY_PARAMETER_DEFAULT_VALUE', 'link-48');">MEDIA_BODY_PARAMETER_DEFAULT_VALUE</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
-<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-string">'description'</tt><tt class="py-op">:</tt> <tt class="py-op">(</tt><tt class="py-string">'The filename of the media request body, or an instance '</tt> </tt>
-<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> <tt class="py-string">'of a MediaUpload object.'</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
-<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-string">'type'</tt><tt class="py-op">:</tt> <tt class="py-string">'string'</tt><tt class="py-op">,</tt> </tt>
-<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-string">'required'</tt><tt class="py-op">:</tt> <tt class="py-name">False</tt><tt class="py-op">,</tt> </tt>
-<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"><tt class="py-op">}</tt> </tt>
-<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> </tt>
-<a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"><tt class="py-comment"># Parameters accepted by the stack, but not visible via discovery.</tt> </tt>
-<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"><tt class="py-comment"># TODO(dhermes): Remove 'userip' in 'v2'.</tt> </tt>
-<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"><tt id="link-49" class="py-name" targets="Variable googleapiclient.discovery.STACK_QUERY_PARAMETERS=googleapiclient.discovery-module.html#STACK_QUERY_PARAMETERS"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETERS" class="py-name" href="#" onclick="return doclink('link-49', 'STACK_QUERY_PARAMETERS', 'link-49');">STACK_QUERY_PARAMETERS</a></tt> <tt class="py-op">=</tt> <tt class="py-name">frozenset</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-string">'trace'</tt><tt class="py-op">,</tt> <tt class="py-string">'pp'</tt><tt class="py-op">,</tt> <tt class="py-string">'userip'</tt><tt class="py-op">,</tt> <tt class="py-string">'strict'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"><tt id="link-50" class="py-name" targets="Variable googleapiclient.discovery.STACK_QUERY_PARAMETER_DEFAULT_VALUE=googleapiclient.discovery-module.html#STACK_QUERY_PARAMETER_DEFAULT_VALUE"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-50', 'STACK_QUERY_PARAMETER_DEFAULT_VALUE', 'link-50');">STACK_QUERY_PARAMETER_DEFAULT_VALUE</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'type'</tt><tt class="py-op">:</tt> <tt class="py-string">'string'</tt><tt class="py-op">,</tt> <tt class="py-string">'location'</tt><tt class="py-op">:</tt> <tt class="py-string">'query'</tt><tt class="py-op">}</tt> </tt>
-<a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> </tt>
-<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"><tt class="py-comment"># Library-specific reserved words beyond Python keywords.</tt> </tt>
-<a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"><tt id="link-51" class="py-name" targets="Variable googleapiclient.discovery.RESERVED_WORDS=googleapiclient.discovery-module.html#RESERVED_WORDS"><a title="googleapiclient.discovery.RESERVED_WORDS" class="py-name" href="#" onclick="return doclink('link-51', 'RESERVED_WORDS', 'link-51');">RESERVED_WORDS</a></tt> <tt class="py-op">=</tt> <tt class="py-name">frozenset</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-string">'body'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="fix_method_name"></a><div id="fix_method_name-def"><a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> </tt>
-<a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> </tt>
-<a name="L103"></a><tt class="py-lineno">103</tt> <a class="py-toggle" href="#" id="fix_method_name-toggle" onclick="return toggle('fix_method_name');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#fix_method_name">fix_method_name</a><tt class="py-op">(</tt><tt class="py-param">name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="fix_method_name-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="fix_method_name-expanded"><a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> <tt class="py-docstring">"""Fix method names to avoid reserved word conflicts.</tt> </tt>
-<a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"><tt class="py-docstring"> name: string, method name.</tt> </tt>
+<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"><tt class="py-comment"># The client library requires a version of httplib2 that supports RETRIES.</tt> </tt>
+<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"><tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">RETRIES</tt> <tt class="py-op">=</tt> <tt class="py-number">1</tt> </tt>
+<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> </tt>
+<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"><tt id="link-40" class="py-name" targets="Variable googleapiclient.discovery.logger=googleapiclient.discovery-module.html#logger"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-40', 'logger', 'link-40');">logger</a></tt> <tt class="py-op">=</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">getLogger</tt><tt class="py-op">(</tt><tt class="py-name">__name__</tt><tt class="py-op">)</tt> </tt>
+<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> </tt>
+<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"><tt id="link-41" class="py-name" targets="Variable googleapiclient.discovery.URITEMPLATE=googleapiclient.discovery-module.html#URITEMPLATE"><a title="googleapiclient.discovery.URITEMPLATE" class="py-name" href="#" onclick="return doclink('link-41', 'URITEMPLATE', 'link-41');">URITEMPLATE</a></tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt class="py-string">'{[^}]*}'</tt><tt class="py-op">)</tt> </tt>
+<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"><tt id="link-42" class="py-name" targets="Variable googleapiclient.discovery.VARNAME=googleapiclient.discovery-module.html#VARNAME"><a title="googleapiclient.discovery.VARNAME" class="py-name" href="#" onclick="return doclink('link-42', 'VARNAME', 'link-42');">VARNAME</a></tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt class="py-string">'[a-zA-Z0-9_-]+'</tt><tt class="py-op">)</tt> </tt>
+<a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"><tt id="link-43" class="py-name" targets="Variable googleapiclient.discovery.DISCOVERY_URI=googleapiclient.discovery-module.html#DISCOVERY_URI"><a title="googleapiclient.discovery.DISCOVERY_URI" class="py-name" href="#" onclick="return doclink('link-43', 'DISCOVERY_URI', 'link-43');">DISCOVERY_URI</a></tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-string">'https://www.googleapis.com/discovery/v1/apis/'</tt> </tt>
+<a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> <tt class="py-string">'{api}/{apiVersion}/rest'</tt><tt class="py-op">)</tt> </tt>
+<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"><tt id="link-44" class="py-name" targets="Variable googleapiclient.discovery.DEFAULT_METHOD_DOC=googleapiclient.discovery-module.html#DEFAULT_METHOD_DOC"><a title="googleapiclient.discovery.DEFAULT_METHOD_DOC" class="py-name" href="#" onclick="return doclink('link-44', 'DEFAULT_METHOD_DOC', 'link-44');">DEFAULT_METHOD_DOC</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'A description of how to use this function'</tt> </tt>
+<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"><tt id="link-45" class="py-name" targets="Variable googleapiclient.discovery.HTTP_PAYLOAD_METHODS=googleapiclient.discovery-module.html#HTTP_PAYLOAD_METHODS"><a title="googleapiclient.discovery.HTTP_PAYLOAD_METHODS" class="py-name" href="#" onclick="return doclink('link-45', 'HTTP_PAYLOAD_METHODS', 'link-45');">HTTP_PAYLOAD_METHODS</a></tt> <tt class="py-op">=</tt> <tt class="py-name">frozenset</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-string">'PUT'</tt><tt class="py-op">,</tt> <tt class="py-string">'POST'</tt><tt class="py-op">,</tt> <tt class="py-string">'PATCH'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"><tt id="link-46" class="py-name" targets="Variable googleapiclient.discovery._MEDIA_SIZE_BIT_SHIFTS=googleapiclient.discovery-module.html#_MEDIA_SIZE_BIT_SHIFTS"><a title="googleapiclient.discovery._MEDIA_SIZE_BIT_SHIFTS" class="py-name" href="#" onclick="return doclink('link-46', '_MEDIA_SIZE_BIT_SHIFTS', 'link-46');">_MEDIA_SIZE_BIT_SHIFTS</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'KB'</tt><tt class="py-op">:</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> <tt class="py-string">'MB'</tt><tt class="py-op">:</tt> <tt class="py-number">20</tt><tt class="py-op">,</tt> <tt class="py-string">'GB'</tt><tt class="py-op">:</tt> <tt class="py-number">30</tt><tt class="py-op">,</tt> <tt class="py-string">'TB'</tt><tt class="py-op">:</tt> <tt class="py-number">40</tt><tt class="py-op">}</tt> </tt>
+<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"><tt id="link-47" class="py-name" targets="Variable googleapiclient.discovery.BODY_PARAMETER_DEFAULT_VALUE=googleapiclient.discovery-module.html#BODY_PARAMETER_DEFAULT_VALUE"><a title="googleapiclient.discovery.BODY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-47', 'BODY_PARAMETER_DEFAULT_VALUE', 'link-47');">BODY_PARAMETER_DEFAULT_VALUE</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
+<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-string">'description'</tt><tt class="py-op">:</tt> <tt class="py-string">'The request body.'</tt><tt class="py-op">,</tt> </tt>
+<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-string">'type'</tt><tt class="py-op">:</tt> <tt class="py-string">'object'</tt><tt class="py-op">,</tt> </tt>
+<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-string">'required'</tt><tt class="py-op">:</tt> <tt class="py-name">True</tt><tt class="py-op">,</tt> </tt>
+<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"><tt class="py-op">}</tt> </tt>
+<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"><tt id="link-48" class="py-name" targets="Variable googleapiclient.discovery.MEDIA_BODY_PARAMETER_DEFAULT_VALUE=googleapiclient.discovery-module.html#MEDIA_BODY_PARAMETER_DEFAULT_VALUE"><a title="googleapiclient.discovery.MEDIA_BODY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-48', 'MEDIA_BODY_PARAMETER_DEFAULT_VALUE', 'link-48');">MEDIA_BODY_PARAMETER_DEFAULT_VALUE</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
+<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-string">'description'</tt><tt class="py-op">:</tt> <tt class="py-op">(</tt><tt class="py-string">'The filename of the media request body, or an instance '</tt> </tt>
+<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-string">'of a MediaUpload object.'</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-string">'type'</tt><tt class="py-op">:</tt> <tt class="py-string">'string'</tt><tt class="py-op">,</tt> </tt>
+<a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-string">'required'</tt><tt class="py-op">:</tt> <tt class="py-name">False</tt><tt class="py-op">,</tt> </tt>
+<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"><tt class="py-op">}</tt> </tt>
+<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> </tt>
+<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"><tt class="py-comment"># Parameters accepted by the stack, but not visible via discovery.</tt> </tt>
+<a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"><tt class="py-comment"># TODO(dhermes): Remove 'userip' in 'v2'.</tt> </tt>
+<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"><tt id="link-49" class="py-name" targets="Variable googleapiclient.discovery.STACK_QUERY_PARAMETERS=googleapiclient.discovery-module.html#STACK_QUERY_PARAMETERS"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETERS" class="py-name" href="#" onclick="return doclink('link-49', 'STACK_QUERY_PARAMETERS', 'link-49');">STACK_QUERY_PARAMETERS</a></tt> <tt class="py-op">=</tt> <tt class="py-name">frozenset</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-string">'trace'</tt><tt class="py-op">,</tt> <tt class="py-string">'pp'</tt><tt class="py-op">,</tt> <tt class="py-string">'userip'</tt><tt class="py-op">,</tt> <tt class="py-string">'strict'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"><tt id="link-50" class="py-name" targets="Variable googleapiclient.discovery.STACK_QUERY_PARAMETER_DEFAULT_VALUE=googleapiclient.discovery-module.html#STACK_QUERY_PARAMETER_DEFAULT_VALUE"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-50', 'STACK_QUERY_PARAMETER_DEFAULT_VALUE', 'link-50');">STACK_QUERY_PARAMETER_DEFAULT_VALUE</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'type'</tt><tt class="py-op">:</tt> <tt class="py-string">'string'</tt><tt class="py-op">,</tt> <tt class="py-string">'location'</tt><tt class="py-op">:</tt> <tt class="py-string">'query'</tt><tt class="py-op">}</tt> </tt>
+<a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> </tt>
+<a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"><tt class="py-comment"># Library-specific reserved words beyond Python keywords.</tt> </tt>
+<a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"><tt id="link-51" class="py-name" targets="Variable googleapiclient.discovery.RESERVED_WORDS=googleapiclient.discovery-module.html#RESERVED_WORDS"><a title="googleapiclient.discovery.RESERVED_WORDS" class="py-name" href="#" onclick="return doclink('link-51', 'RESERVED_WORDS', 'link-51');">RESERVED_WORDS</a></tt> <tt class="py-op">=</tt> <tt class="py-name">frozenset</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-string">'body'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="fix_method_name"></a><div id="fix_method_name-def"><a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> </tt>
+<a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> </tt>
+<a name="L106"></a><tt class="py-lineno">106</tt> <a class="py-toggle" href="#" id="fix_method_name-toggle" onclick="return toggle('fix_method_name');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#fix_method_name">fix_method_name</a><tt class="py-op">(</tt><tt class="py-param">name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="fix_method_name-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="fix_method_name-expanded"><a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-docstring">"""Fix method names to avoid reserved word conflicts.</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"><tt class="py-docstring"> The name with a '_' prefixed if the name is a reserved word.</tt> </tt>
-<a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">keyword</tt><tt class="py-op">.</tt><tt class="py-name">iskeyword</tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt id="link-52" class="py-name"><a title="googleapiclient.discovery.RESERVED_WORDS" class="py-name" href="#" onclick="return doclink('link-52', 'RESERVED_WORDS', 'link-51');">RESERVED_WORDS</a></tt><tt class="py-op">:</tt> </tt>
-<a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">'_'</tt> </tt>
-<a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">name</tt> </tt>
-</div><a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> </tt>
-<a name="key2param"></a><div id="key2param-def"><a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> </tt>
-<a name="L118"></a><tt class="py-lineno">118</tt> <a class="py-toggle" href="#" id="key2param-toggle" onclick="return toggle('key2param');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#key2param">key2param</a><tt class="py-op">(</tt><tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="key2param-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="key2param-expanded"><a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> <tt class="py-docstring">"""Converts key names into parameter names.</tt> </tt>
-<a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"><tt class="py-docstring"> For example, converting "max-results" -> "max_results"</tt> </tt>
-<a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"><tt class="py-docstring"> key: string, the method key name.</tt> </tt>
+<a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"><tt class="py-docstring"> name: string, method name.</tt> </tt>
+<a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"><tt class="py-docstring"> The name with a '_' prefixed if the name is a reserved word.</tt> </tt>
+<a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">keyword</tt><tt class="py-op">.</tt><tt class="py-name">iskeyword</tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt id="link-52" class="py-name"><a title="googleapiclient.discovery.RESERVED_WORDS" class="py-name" href="#" onclick="return doclink('link-52', 'RESERVED_WORDS', 'link-51');">RESERVED_WORDS</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">'_'</tt> </tt>
+<a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">name</tt> </tt>
+</div><a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> </tt>
+<a name="key2param"></a><div id="key2param-def"><a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> </tt>
+<a name="L121"></a><tt class="py-lineno">121</tt> <a class="py-toggle" href="#" id="key2param-toggle" onclick="return toggle('key2param');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#key2param">key2param</a><tt class="py-op">(</tt><tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="key2param-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="key2param-expanded"><a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-docstring">"""Converts key names into parameter names.</tt> </tt>
+<a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"><tt class="py-docstring"> For example, converting "max-results" -> "max_results"</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"><tt class="py-docstring"> A safe method name based on the key name.</tt> </tt>
-<a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
-<a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
-<a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">key</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">isalpha</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'x'</tt><tt class="py-op">)</tt> </tt>
-<a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">c</tt> <tt class="py-keyword">in</tt> <tt class="py-name">key</tt><tt class="py-op">:</tt> </tt>
-<a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">c</tt><tt class="py-op">.</tt><tt class="py-name">isalnum</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">c</tt><tt class="py-op">)</tt> </tt>
-<a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'_'</tt><tt class="py-op">)</tt> </tt>
-<a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> </tt>
-<a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> </tt>
-<a name="build"></a><div id="build-def"><a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> </tt>
-<a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"><tt class="py-decorator">@</tt><tt class="py-decorator">positional</tt><tt class="py-op">(</tt><tt class="py-number">2</tt><tt class="py-op">)</tt> </tt>
-<a name="L143"></a><tt class="py-lineno">143</tt> <a class="py-toggle" href="#" id="build-toggle" onclick="return toggle('build');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#build">build</a><tt class="py-op">(</tt><tt class="py-param">serviceName</tt><tt class="py-op">,</tt> </tt>
-<a name="L144"></a><tt class="py-lineno">144</tt> <tt class="py-line"> <tt class="py-param">version</tt><tt class="py-op">,</tt> </tt>
-<a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> <tt class="py-param">http</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line"> <tt class="py-param">discoveryServiceUrl</tt><tt class="py-op">=</tt><tt id="link-53" class="py-name"><a title="googleapiclient.discovery.DISCOVERY_URI" class="py-name" href="#" onclick="return doclink('link-53', 'DISCOVERY_URI', 'link-43');">DISCOVERY_URI</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> <tt class="py-param">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> <tt class="py-param">model</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"> <tt class="py-param">requestBuilder</tt><tt class="py-op">=</tt><tt id="link-54" class="py-name"><a title="googleapiclient.http.HttpRequest" class="py-name" href="#" onclick="return doclink('link-54', 'HttpRequest', 'link-21');">HttpRequest</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="build-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="build-expanded"><a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"> <tt class="py-docstring">"""Construct a Resource for interacting with an API.</tt> </tt>
-<a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L152"></a><tt class="py-lineno">152</tt> <tt class="py-line"><tt class="py-docstring"> Construct a Resource object for interacting with an API. The serviceName and</tt> </tt>
-<a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"><tt class="py-docstring"> version are the names from the Discovery service.</tt> </tt>
-<a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L155"></a><tt class="py-lineno">155</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L156"></a><tt class="py-lineno">156</tt> <tt class="py-line"><tt class="py-docstring"> serviceName: string, name of the service.</tt> </tt>
-<a name="L157"></a><tt class="py-lineno">157</tt> <tt class="py-line"><tt class="py-docstring"> version: string, the version of the service.</tt> </tt>
-<a name="L158"></a><tt class="py-lineno">158</tt> <tt class="py-line"><tt class="py-docstring"> http: httplib2.Http, An instance of httplib2.Http or something that acts</tt> </tt>
-<a name="L159"></a><tt class="py-lineno">159</tt> <tt class="py-line"><tt class="py-docstring"> like it that HTTP requests will be made through.</tt> </tt>
-<a name="L160"></a><tt class="py-lineno">160</tt> <tt class="py-line"><tt class="py-docstring"> discoveryServiceUrl: string, a URI Template that points to the location of</tt> </tt>
-<a name="L161"></a><tt class="py-lineno">161</tt> <tt class="py-line"><tt class="py-docstring"> the discovery service. It should have two parameters {api} and</tt> </tt>
-<a name="L162"></a><tt class="py-lineno">162</tt> <tt class="py-line"><tt class="py-docstring"> {apiVersion} that when filled in produce an absolute URI to the discovery</tt> </tt>
-<a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"><tt class="py-docstring"> document for that service.</tt> </tt>
-<a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"><tt class="py-docstring"> developerKey: string, key obtained from</tt> </tt>
-<a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"><tt class="py-docstring"> https://code.google.com/apis/console.</tt> </tt>
-<a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"><tt class="py-docstring"> model: googleapiclient.Model, converts to and from the wire format.</tt> </tt>
-<a name="L167"></a><tt class="py-lineno">167</tt> <tt class="py-line"><tt class="py-docstring"> requestBuilder: googleapiclient.http.HttpRequest, encapsulator for an HTTP</tt> </tt>
-<a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"><tt class="py-docstring"> request.</tt> </tt>
-<a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L170"></a><tt class="py-lineno">170</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L171"></a><tt class="py-lineno">171</tt> <tt class="py-line"><tt class="py-docstring"> A Resource object with methods for interacting with the service.</tt> </tt>
-<a name="L172"></a><tt class="py-lineno">172</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L173"></a><tt class="py-lineno">173</tt> <tt class="py-line"> <tt class="py-name">params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
-<a name="L174"></a><tt class="py-lineno">174</tt> <tt class="py-line"> <tt class="py-string">'api'</tt><tt class="py-op">:</tt> <tt class="py-name">serviceName</tt><tt class="py-op">,</tt> </tt>
-<a name="L175"></a><tt class="py-lineno">175</tt> <tt class="py-line"> <tt class="py-string">'apiVersion'</tt><tt class="py-op">:</tt> <tt class="py-name">version</tt> </tt>
-<a name="L176"></a><tt class="py-lineno">176</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt>
-<a name="L177"></a><tt class="py-lineno">177</tt> <tt class="py-line"> </tt>
-<a name="L178"></a><tt class="py-lineno">178</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-55" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-55', 'http', 'link-20');">http</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L179"></a><tt class="py-lineno">179</tt> <tt class="py-line"> <tt id="link-56" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-56', 'http', 'link-20');">http</a></tt> <tt class="py-op">=</tt> <tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">Http</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L180"></a><tt class="py-lineno">180</tt> <tt class="py-line"> </tt>
-<a name="L181"></a><tt class="py-lineno">181</tt> <tt class="py-line"> <tt class="py-name">requested_url</tt> <tt class="py-op">=</tt> <tt class="py-name">uritemplate</tt><tt class="py-op">.</tt><tt class="py-name">expand</tt><tt class="py-op">(</tt><tt class="py-name">discoveryServiceUrl</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">)</tt> </tt>
-<a name="L182"></a><tt class="py-lineno">182</tt> <tt class="py-line"> </tt>
-<a name="L183"></a><tt class="py-lineno">183</tt> <tt class="py-line"> <tt class="py-comment"># REMOTE_ADDR is defined by the CGI spec [RFC3875] as the environment</tt> </tt>
-<a name="L184"></a><tt class="py-lineno">184</tt> <tt class="py-line"> <tt class="py-comment"># variable that contains the network address of the client sending the</tt> </tt>
-<a name="L185"></a><tt class="py-lineno">185</tt> <tt class="py-line"> <tt class="py-comment"># request. If it exists then add that to the request for the discovery</tt> </tt>
-<a name="L186"></a><tt class="py-lineno">186</tt> <tt class="py-line"> <tt class="py-comment"># document to avoid exceeding the quota on discovery requests.</tt> </tt>
-<a name="L187"></a><tt class="py-lineno">187</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'REMOTE_ADDR'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">environ</tt><tt class="py-op">:</tt> </tt>
-<a name="L188"></a><tt class="py-lineno">188</tt> <tt class="py-line"> <tt class="py-name">requested_url</tt> <tt class="py-op">=</tt> <tt class="py-name">_add_query_parameter</tt><tt class="py-op">(</tt><tt class="py-name">requested_url</tt><tt class="py-op">,</tt> <tt class="py-string">'userIp'</tt><tt class="py-op">,</tt> </tt>
-<a name="L189"></a><tt class="py-lineno">189</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">environ</tt><tt class="py-op">[</tt><tt class="py-string">'REMOTE_ADDR'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L190"></a><tt class="py-lineno">190</tt> <tt class="py-line"> <tt id="link-57" class="py-name"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-57', 'logger', 'link-40');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">'URL being requested: %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">requested_url</tt><tt class="py-op">)</tt> </tt>
-<a name="L191"></a><tt class="py-lineno">191</tt> <tt class="py-line"> </tt>
-<a name="L192"></a><tt class="py-lineno">192</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-58" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-58', 'http', 'link-20');">http</a></tt><tt class="py-op">.</tt><tt id="link-59" class="py-name" targets="Method googleapiclient.http.HttpMock.request()=googleapiclient.http.HttpMock-class.html#request,Method googleapiclient.http.HttpMockSequence.request()=googleapiclient.http.HttpMockSequence-class.html#request,Method googleapiclient.model.BaseModel.request()=googleapiclient.model.BaseModel-class.html#request,Method googleapiclient.model.Model.request()=googleapiclient.model.Model-class.html#request"><a title="googleapiclient.http.HttpMock.request
+<a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"><tt class="py-docstring"> key: string, the method key name.</tt> </tt>
+<a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"><tt class="py-docstring"> A safe method name based on the key name.</tt> </tt>
+<a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
+<a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">key</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">isalpha</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'x'</tt><tt class="py-op">)</tt> </tt>
+<a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">c</tt> <tt class="py-keyword">in</tt> <tt class="py-name">key</tt><tt class="py-op">:</tt> </tt>
+<a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">c</tt><tt class="py-op">.</tt><tt class="py-name">isalnum</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">c</tt><tt class="py-op">)</tt> </tt>
+<a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'_'</tt><tt class="py-op">)</tt> </tt>
+<a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> </tt>
+<a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L143"></a><tt class="py-lineno">143</tt> <tt class="py-line"> </tt>
+<a name="build"></a><div id="build-def"><a name="L144"></a><tt class="py-lineno">144</tt> <tt class="py-line"> </tt>
+<a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"><tt class="py-decorator">@</tt><tt class="py-decorator">positional</tt><tt class="py-op">(</tt><tt class="py-number">2</tt><tt class="py-op">)</tt> </tt>
+<a name="L146"></a><tt class="py-lineno">146</tt> <a class="py-toggle" href="#" id="build-toggle" onclick="return toggle('build');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#build">build</a><tt class="py-op">(</tt><tt class="py-param">serviceName</tt><tt class="py-op">,</tt> </tt>
+<a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> <tt class="py-param">version</tt><tt class="py-op">,</tt> </tt>
+<a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> <tt class="py-param">http</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"> <tt class="py-param">discoveryServiceUrl</tt><tt class="py-op">=</tt><tt id="link-53" class="py-name"><a title="googleapiclient.discovery.DISCOVERY_URI" class="py-name" href="#" onclick="return doclink('link-53', 'DISCOVERY_URI', 'link-43');">DISCOVERY_URI</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"> <tt class="py-param">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> <tt class="py-param">model</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L152"></a><tt class="py-lineno">152</tt> <tt class="py-line"> <tt class="py-param">requestBuilder</tt><tt class="py-op">=</tt><tt id="link-54" class="py-name"><a title="googleapiclient.http.HttpRequest" class="py-name" href="#" onclick="return doclink('link-54', 'HttpRequest', 'link-21');">HttpRequest</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"> <tt class="py-param">credentials</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="build-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="build-expanded"><a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> <tt class="py-docstring">"""Construct a Resource for interacting with an API.</tt> </tt>
+<a name="L155"></a><tt class="py-lineno">155</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L156"></a><tt class="py-lineno">156</tt> <tt class="py-line"><tt class="py-docstring"> Construct a Resource object for interacting with an API. The serviceName and</tt> </tt>
+<a name="L157"></a><tt class="py-lineno">157</tt> <tt class="py-line"><tt class="py-docstring"> version are the names from the Discovery service.</tt> </tt>
+<a name="L158"></a><tt class="py-lineno">158</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L159"></a><tt class="py-lineno">159</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L160"></a><tt class="py-lineno">160</tt> <tt class="py-line"><tt class="py-docstring"> serviceName: string, name of the service.</tt> </tt>
+<a name="L161"></a><tt class="py-lineno">161</tt> <tt class="py-line"><tt class="py-docstring"> version: string, the version of the service.</tt> </tt>
+<a name="L162"></a><tt class="py-lineno">162</tt> <tt class="py-line"><tt class="py-docstring"> http: httplib2.Http, An instance of httplib2.Http or something that acts</tt> </tt>
+<a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"><tt class="py-docstring"> like it that HTTP requests will be made through.</tt> </tt>
+<a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"><tt class="py-docstring"> discoveryServiceUrl: string, a URI Template that points to the location of</tt> </tt>
+<a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"><tt class="py-docstring"> the discovery service. It should have two parameters {api} and</tt> </tt>
+<a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"><tt class="py-docstring"> {apiVersion} that when filled in produce an absolute URI to the discovery</tt> </tt>
+<a name="L167"></a><tt class="py-lineno">167</tt> <tt class="py-line"><tt class="py-docstring"> document for that service.</tt> </tt>
+<a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"><tt class="py-docstring"> developerKey: string, key obtained from</tt> </tt>
+<a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"><tt class="py-docstring"> https://code.google.com/apis/console.</tt> </tt>
+<a name="L170"></a><tt class="py-lineno">170</tt> <tt class="py-line"><tt class="py-docstring"> model: googleapiclient.Model, converts to and from the wire format.</tt> </tt>
+<a name="L171"></a><tt class="py-lineno">171</tt> <tt class="py-line"><tt class="py-docstring"> requestBuilder: googleapiclient.http.HttpRequest, encapsulator for an HTTP</tt> </tt>
+<a name="L172"></a><tt class="py-lineno">172</tt> <tt class="py-line"><tt class="py-docstring"> request.</tt> </tt>
+<a name="L173"></a><tt class="py-lineno">173</tt> <tt class="py-line"><tt class="py-docstring"> credentials: oauth2client.Credentials, credentials to be used for</tt> </tt>
+<a name="L174"></a><tt class="py-lineno">174</tt> <tt class="py-line"><tt class="py-docstring"> authentication.</tt> </tt>
+<a name="L175"></a><tt class="py-lineno">175</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L176"></a><tt class="py-lineno">176</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L177"></a><tt class="py-lineno">177</tt> <tt class="py-line"><tt class="py-docstring"> A Resource object with methods for interacting with the service.</tt> </tt>
+<a name="L178"></a><tt class="py-lineno">178</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L179"></a><tt class="py-lineno">179</tt> <tt class="py-line"> <tt class="py-name">params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
+<a name="L180"></a><tt class="py-lineno">180</tt> <tt class="py-line"> <tt class="py-string">'api'</tt><tt class="py-op">:</tt> <tt class="py-name">serviceName</tt><tt class="py-op">,</tt> </tt>
+<a name="L181"></a><tt class="py-lineno">181</tt> <tt class="py-line"> <tt class="py-string">'apiVersion'</tt><tt class="py-op">:</tt> <tt class="py-name">version</tt> </tt>
+<a name="L182"></a><tt class="py-lineno">182</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt>
+<a name="L183"></a><tt class="py-lineno">183</tt> <tt class="py-line"> </tt>
+<a name="L184"></a><tt class="py-lineno">184</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-55" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-55', 'http', 'link-20');">http</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L185"></a><tt class="py-lineno">185</tt> <tt class="py-line"> <tt id="link-56" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-56', 'http', 'link-20');">http</a></tt> <tt class="py-op">=</tt> <tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">Http</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L186"></a><tt class="py-lineno">186</tt> <tt class="py-line"> </tt>
+<a name="L187"></a><tt class="py-lineno">187</tt> <tt class="py-line"> <tt class="py-name">requested_url</tt> <tt class="py-op">=</tt> <tt class="py-name">uritemplate</tt><tt class="py-op">.</tt><tt class="py-name">expand</tt><tt class="py-op">(</tt><tt class="py-name">discoveryServiceUrl</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">)</tt> </tt>
+<a name="L188"></a><tt class="py-lineno">188</tt> <tt class="py-line"> </tt>
+<a name="L189"></a><tt class="py-lineno">189</tt> <tt class="py-line"> <tt class="py-comment"># REMOTE_ADDR is defined by the CGI spec [RFC3875] as the environment</tt> </tt>
+<a name="L190"></a><tt class="py-lineno">190</tt> <tt class="py-line"> <tt class="py-comment"># variable that contains the network address of the client sending the</tt> </tt>
+<a name="L191"></a><tt class="py-lineno">191</tt> <tt class="py-line"> <tt class="py-comment"># request. If it exists then add that to the request for the discovery</tt> </tt>
+<a name="L192"></a><tt class="py-lineno">192</tt> <tt class="py-line"> <tt class="py-comment"># document to avoid exceeding the quota on discovery requests.</tt> </tt>
+<a name="L193"></a><tt class="py-lineno">193</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'REMOTE_ADDR'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">environ</tt><tt class="py-op">:</tt> </tt>
+<a name="L194"></a><tt class="py-lineno">194</tt> <tt class="py-line"> <tt class="py-name">requested_url</tt> <tt class="py-op">=</tt> <tt class="py-name">_add_query_parameter</tt><tt class="py-op">(</tt><tt class="py-name">requested_url</tt><tt class="py-op">,</tt> <tt class="py-string">'userIp'</tt><tt class="py-op">,</tt> </tt>
+<a name="L195"></a><tt class="py-lineno">195</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">environ</tt><tt class="py-op">[</tt><tt class="py-string">'REMOTE_ADDR'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L196"></a><tt class="py-lineno">196</tt> <tt class="py-line"> <tt id="link-57" class="py-name"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-57', 'logger', 'link-40');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">'URL being requested: GET %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">requested_url</tt><tt class="py-op">)</tt> </tt>
+<a name="L197"></a><tt class="py-lineno">197</tt> <tt class="py-line"> </tt>
+<a name="L198"></a><tt class="py-lineno">198</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-58" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-58', 'http', 'link-20');">http</a></tt><tt class="py-op">.</tt><tt id="link-59" class="py-name" targets="Method googleapiclient.http.HttpMock.request()=googleapiclient.http.HttpMock-class.html#request,Method googleapiclient.http.HttpMockSequence.request()=googleapiclient.http.HttpMockSequence-class.html#request,Method googleapiclient.model.BaseModel.request()=googleapiclient.model.BaseModel-class.html#request,Method googleapiclient.model.Model.request()=googleapiclient.model.Model-class.html#request"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-59', 'request', 'link-59');">request</a></tt><tt class="py-op">(</tt><tt class="py-name">requested_url</tt><tt class="py-op">)</tt> </tt>
-<a name="L193"></a><tt class="py-lineno">193</tt> <tt class="py-line"> </tt>
-<a name="L194"></a><tt class="py-lineno">194</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">status</tt> <tt class="py-op">==</tt> <tt class="py-number">404</tt><tt class="py-op">:</tt> </tt>
-<a name="L195"></a><tt class="py-lineno">195</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-60" class="py-name"><a title="googleapiclient.errors.UnknownApiNameOrVersion" class="py-name" href="#" onclick="return doclink('link-60', 'UnknownApiNameOrVersion', 'link-15');">UnknownApiNameOrVersion</a></tt><tt class="py-op">(</tt><tt class="py-string">"name: %s version: %s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">serviceName</tt><tt class="py-op">,</tt> </tt>
-<a name="L196"></a><tt class="py-lineno">196</tt> <tt class="py-line"> <tt class="py-name">version</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L197"></a><tt class="py-lineno">197</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">status</tt> <tt class="py-op">>=</tt> <tt class="py-number">400</tt><tt class="py-op">:</tt> </tt>
-<a name="L198"></a><tt class="py-lineno">198</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-61" class="py-name"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-61', 'HttpError', 'link-3');">HttpError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">uri</tt><tt class="py-op">=</tt><tt class="py-name">requested_url</tt><tt class="py-op">)</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt> <tt class="py-line"> </tt>
-<a name="L200"></a><tt class="py-lineno">200</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L201"></a><tt class="py-lineno">201</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
-<a name="L202"></a><tt class="py-lineno">202</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">ValueError</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
-<a name="L203"></a><tt class="py-lineno">203</tt> <tt class="py-line"> <tt id="link-62" class="py-name"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-62', 'logger', 'link-40');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-string">'Failed to parse as JSON: '</tt> <tt class="py-op">+</tt> <tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
-<a name="L204"></a><tt class="py-lineno">204</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-63" class="py-name"><a title="googleapiclient.errors.InvalidJsonError" class="py-name" href="#" onclick="return doclink('link-63', 'InvalidJsonError', 'link-6');">InvalidJsonError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L200"></a><tt class="py-lineno">200</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">status</tt> <tt class="py-op">==</tt> <tt class="py-number">404</tt><tt class="py-op">:</tt> </tt>
+<a name="L201"></a><tt class="py-lineno">201</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-60" class="py-name"><a title="googleapiclient.errors.UnknownApiNameOrVersion" class="py-name" href="#" onclick="return doclink('link-60', 'UnknownApiNameOrVersion', 'link-15');">UnknownApiNameOrVersion</a></tt><tt class="py-op">(</tt><tt class="py-string">"name: %s version: %s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">serviceName</tt><tt class="py-op">,</tt> </tt>
+<a name="L202"></a><tt class="py-lineno">202</tt> <tt class="py-line"> <tt class="py-name">version</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L203"></a><tt class="py-lineno">203</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">status</tt> <tt class="py-op">>=</tt> <tt class="py-number">400</tt><tt class="py-op">:</tt> </tt>
+<a name="L204"></a><tt class="py-lineno">204</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-61" class="py-name"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-61', 'HttpError', 'link-3');">HttpError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">uri</tt><tt class="py-op">=</tt><tt class="py-name">requested_url</tt><tt class="py-op">)</tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt> <tt class="py-line"> </tt>
-<a name="L206"></a><tt class="py-lineno">206</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-64" class="py-name" targets="Function googleapiclient.discovery.build_from_document()=googleapiclient.discovery-module.html#build_from_document"><a title="googleapiclient.discovery.build_from_document" class="py-name" href="#" onclick="return doclink('link-64', 'build_from_document', 'link-64');">build_from_document</a></tt><tt class="py-op">(</tt><tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">base</tt><tt class="py-op">=</tt><tt class="py-name">discoveryServiceUrl</tt><tt class="py-op">,</tt> <tt id="link-65" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-65', 'http', 'link-20');">http</a></tt><tt class="py-op">=</tt><tt id="link-66" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-66', 'http', 'link-20');">http</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L207"></a><tt class="py-lineno">207</tt> <tt class="py-line"> <tt class="py-name">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">developerKey</tt><tt class="py-op">,</tt> <tt id="link-67" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-67', 'model', 'link-29');">model</a></tt><tt class="py-op">=</tt><tt id="link-68" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-68', 'model', 'link-29');">model</a></tt><tt class="py-op">,</tt> <tt class="py-name">requestBuilder</tt><tt class="py-op">=</tt><tt class="py-name">requestBuilder</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L208"></a><tt class="py-lineno">208</tt> <tt class="py-line"> </tt>
-<a name="build_from_document"></a><div id="build_from_document-def"><a name="L209"></a><tt class="py-lineno">209</tt> <tt class="py-line"> </tt>
-<a name="L210"></a><tt class="py-lineno">210</tt> <tt class="py-line"><tt class="py-decorator">@</tt><tt class="py-decorator">positional</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
-<a name="L211"></a><tt class="py-lineno">211</tt> <a class="py-toggle" href="#" id="build_from_document-toggle" onclick="return toggle('build_from_document');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#build_from_document">build_from_document</a><tt class="py-op">(</tt> </tt>
-<a name="L212"></a><tt class="py-lineno">212</tt> <tt class="py-line"> <tt class="py-param">service</tt><tt class="py-op">,</tt> </tt>
-<a name="L213"></a><tt class="py-lineno">213</tt> <tt class="py-line"> <tt class="py-param">base</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L214"></a><tt class="py-lineno">214</tt> <tt class="py-line"> <tt class="py-param">future</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L215"></a><tt class="py-lineno">215</tt> <tt class="py-line"> <tt class="py-param">http</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L216"></a><tt class="py-lineno">216</tt> <tt class="py-line"> <tt class="py-param">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L217"></a><tt class="py-lineno">217</tt> <tt class="py-line"> <tt class="py-param">model</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L218"></a><tt class="py-lineno">218</tt> <tt class="py-line"> <tt class="py-param">requestBuilder</tt><tt class="py-op">=</tt><tt id="link-69" class="py-name"><a title="googleapiclient.http.HttpRequest" class="py-name" href="#" onclick="return doclink('link-69', 'HttpRequest', 'link-21');">HttpRequest</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="build_from_document-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="build_from_document-expanded"><a name="L219"></a><tt class="py-lineno">219</tt> <tt class="py-line"> <tt class="py-docstring">"""Create a Resource for interacting with an API.</tt> </tt>
-<a name="L220"></a><tt class="py-lineno">220</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L221"></a><tt class="py-lineno">221</tt> <tt class="py-line"><tt class="py-docstring"> Same as `build()`, but constructs the Resource object from a discovery</tt> </tt>
-<a name="L222"></a><tt class="py-lineno">222</tt> <tt class="py-line"><tt class="py-docstring"> document that is it given, as opposed to retrieving one over HTTP.</tt> </tt>
-<a name="L223"></a><tt class="py-lineno">223</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L224"></a><tt class="py-lineno">224</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L225"></a><tt class="py-lineno">225</tt> <tt class="py-line"><tt class="py-docstring"> service: string or object, the JSON discovery document describing the API.</tt> </tt>
-<a name="L226"></a><tt class="py-lineno">226</tt> <tt class="py-line"><tt class="py-docstring"> The value passed in may either be the JSON string or the deserialized</tt> </tt>
-<a name="L227"></a><tt class="py-lineno">227</tt> <tt class="py-line"><tt class="py-docstring"> JSON.</tt> </tt>
-<a name="L228"></a><tt class="py-lineno">228</tt> <tt class="py-line"><tt class="py-docstring"> base: string, base URI for all HTTP requests, usually the discovery URI.</tt> </tt>
-<a name="L229"></a><tt class="py-lineno">229</tt> <tt class="py-line"><tt class="py-docstring"> This parameter is no longer used as rootUrl and servicePath are included</tt> </tt>
-<a name="L230"></a><tt class="py-lineno">230</tt> <tt class="py-line"><tt class="py-docstring"> within the discovery document. (deprecated)</tt> </tt>
-<a name="L231"></a><tt class="py-lineno">231</tt> <tt class="py-line"><tt class="py-docstring"> future: string, discovery document with future capabilities (deprecated).</tt> </tt>
-<a name="L232"></a><tt class="py-lineno">232</tt> <tt class="py-line"><tt class="py-docstring"> http: httplib2.Http, An instance of httplib2.Http or something that acts</tt> </tt>
-<a name="L233"></a><tt class="py-lineno">233</tt> <tt class="py-line"><tt class="py-docstring"> like it that HTTP requests will be made through.</tt> </tt>
-<a name="L234"></a><tt class="py-lineno">234</tt> <tt class="py-line"><tt class="py-docstring"> developerKey: string, Key for controlling API usage, generated</tt> </tt>
-<a name="L235"></a><tt class="py-lineno">235</tt> <tt class="py-line"><tt class="py-docstring"> from the API Console.</tt> </tt>
-<a name="L236"></a><tt class="py-lineno">236</tt> <tt class="py-line"><tt class="py-docstring"> model: Model class instance that serializes and de-serializes requests and</tt> </tt>
-<a name="L237"></a><tt class="py-lineno">237</tt> <tt class="py-line"><tt class="py-docstring"> responses.</tt> </tt>
-<a name="L238"></a><tt class="py-lineno">238</tt> <tt class="py-line"><tt class="py-docstring"> requestBuilder: Takes an http request and packages it up to be executed.</tt> </tt>
-<a name="L239"></a><tt class="py-lineno">239</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L240"></a><tt class="py-lineno">240</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L241"></a><tt class="py-lineno">241</tt> <tt class="py-line"><tt class="py-docstring"> A Resource object with methods for interacting with the service.</tt> </tt>
-<a name="L242"></a><tt class="py-lineno">242</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L243"></a><tt class="py-lineno">243</tt> <tt class="py-line"> </tt>
-<a name="L244"></a><tt class="py-lineno">244</tt> <tt class="py-line"> <tt class="py-comment"># future is no longer used.</tt> </tt>
-<a name="L245"></a><tt class="py-lineno">245</tt> <tt class="py-line"> <tt class="py-name">future</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L246"></a><tt class="py-lineno">246</tt> <tt class="py-line"> </tt>
-<a name="L247"></a><tt class="py-lineno">247</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L248"></a><tt class="py-lineno">248</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> </tt>
-<a name="L249"></a><tt class="py-lineno">249</tt> <tt class="py-line"> <tt class="py-name">base</tt> <tt class="py-op">=</tt> <tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urljoin</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">[</tt><tt class="py-string">'rootUrl'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">service</tt><tt class="py-op">[</tt><tt class="py-string">'servicePath'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L250"></a><tt class="py-lineno">250</tt> <tt class="py-line"> <tt id="link-70" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-70', 'schema', 'link-38');">schema</a></tt> <tt class="py-op">=</tt> <tt id="link-71" class="py-name"><a title="googleapiclient.schema.Schemas" class="py-name" href="#" onclick="return doclink('link-71', 'Schemas', 'link-39');">Schemas</a></tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> </tt>
-<a name="L251"></a><tt class="py-lineno">251</tt> <tt class="py-line"> </tt>
-<a name="L252"></a><tt class="py-lineno">252</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-72" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-72', 'model', 'link-29');">model</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L253"></a><tt class="py-lineno">253</tt> <tt class="py-line"> <tt class="py-name">features</tt> <tt class="py-op">=</tt> <tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name" targets="Method googleapiclient.schema.Schemas.get()=googleapiclient.schema.Schemas-class.html#get"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-73', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'features'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L254"></a><tt class="py-lineno">254</tt> <tt class="py-line"> <tt id="link-74" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-74', 'model', 'link-29');">model</a></tt> <tt class="py-op">=</tt> <tt id="link-75" class="py-name"><a title="googleapiclient.model.JsonModel" class="py-name" href="#" onclick="return doclink('link-75', 'JsonModel', 'link-30');">JsonModel</a></tt><tt class="py-op">(</tt><tt class="py-string">'dataWrapper'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">features</tt><tt class="py-op">)</tt> </tt>
-<a name="L255"></a><tt class="py-lineno">255</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-76" class="py-name" targets="Class googleapiclient.discovery.Resource=googleapiclient.discovery.Resource-class.html"><a title="googleapiclient.discovery.Resource" class="py-name" href="#" onclick="return doclink('link-76', 'Resource', 'link-76');">Resource</a></tt><tt class="py-op">(</tt><tt id="link-77" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-77', 'http', 'link-20');">http</a></tt><tt class="py-op">=</tt><tt id="link-78" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-78', 'http', 'link-20');">http</a></tt><tt class="py-op">,</tt> <tt class="py-name">baseUrl</tt><tt class="py-op">=</tt><tt class="py-name">base</tt><tt class="py-op">,</tt> <tt id="link-79" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-79', 'model', 'link-29');">model</a></tt><tt class="py-op">=</tt><tt id="link-80" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-80', 'model', 'link-29');">model</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L256"></a><tt class="py-lineno">256</tt> <tt class="py-line"> <tt class="py-name">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">developerKey</tt><tt class="py-op">,</tt> <tt class="py-name">requestBuilder</tt><tt class="py-op">=</tt><tt class="py-name">requestBuilder</tt><tt class="py-op">,</tt> </tt>
-<a name="L257"></a><tt class="py-lineno">257</tt> <tt class="py-line"> <tt class="py-name">resourceDesc</tt><tt class="py-op">=</tt><tt class="py-name">service</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">=</tt><tt class="py-name">service</tt><tt class="py-op">,</tt> <tt id="link-81" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-81', 'schema', 'link-38');">schema</a></tt><tt class="py-op">=</tt><tt id="link-82" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-82', 'schema', 'link-38');">schema</a></tt><tt class="py-op">)</tt> </tt>
-</div><a name="L258"></a><tt class="py-lineno">258</tt> <tt class="py-line"> </tt>
-<a name="_cast"></a><div id="_cast-def"><a name="L259"></a><tt class="py-lineno">259</tt> <tt class="py-line"> </tt>
-<a name="L260"></a><tt class="py-lineno">260</tt> <a class="py-toggle" href="#" id="_cast-toggle" onclick="return toggle('_cast');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_cast">_cast</a><tt class="py-op">(</tt><tt class="py-param">value</tt><tt class="py-op">,</tt> <tt class="py-param">schema_type</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="_cast-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_cast-expanded"><a name="L261"></a><tt class="py-lineno">261</tt> <tt class="py-line"> <tt class="py-docstring">"""Convert value to a string based on JSON Schema type.</tt> </tt>
-<a name="L262"></a><tt class="py-lineno">262</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L263"></a><tt class="py-lineno">263</tt> <tt class="py-line"><tt class="py-docstring"> See http://tools.ietf.org/html/draft-zyp-json-schema-03 for more details on</tt> </tt>
-<a name="L264"></a><tt class="py-lineno">264</tt> <tt class="py-line"><tt class="py-docstring"> JSON Schema.</tt> </tt>
-<a name="L265"></a><tt class="py-lineno">265</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L266"></a><tt class="py-lineno">266</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L267"></a><tt class="py-lineno">267</tt> <tt class="py-line"><tt class="py-docstring"> value: any, the value to convert</tt> </tt>
-<a name="L268"></a><tt class="py-lineno">268</tt> <tt class="py-line"><tt class="py-docstring"> schema_type: string, the type that value should be interpreted as</tt> </tt>
-<a name="L269"></a><tt class="py-lineno">269</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L270"></a><tt class="py-lineno">270</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L271"></a><tt class="py-lineno">271</tt> <tt class="py-line"><tt class="py-docstring"> A string representation of 'value' based on the schema_type.</tt> </tt>
-<a name="L272"></a><tt class="py-lineno">272</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L273"></a><tt class="py-lineno">273</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">schema_type</tt> <tt class="py-op">==</tt> <tt class="py-string">'string'</tt><tt class="py-op">:</tt> </tt>
-<a name="L274"></a><tt class="py-lineno">274</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">u''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L275"></a><tt class="py-lineno">275</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">value</tt> </tt>
-<a name="L276"></a><tt class="py-lineno">276</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L277"></a><tt class="py-lineno">277</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
-<a name="L278"></a><tt class="py-lineno">278</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">schema_type</tt> <tt class="py-op">==</tt> <tt class="py-string">'integer'</tt><tt class="py-op">:</tt> </tt>
-<a name="L279"></a><tt class="py-lineno">279</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L280"></a><tt class="py-lineno">280</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">schema_type</tt> <tt class="py-op">==</tt> <tt class="py-string">'number'</tt><tt class="py-op">:</tt> </tt>
-<a name="L281"></a><tt class="py-lineno">281</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L282"></a><tt class="py-lineno">282</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">schema_type</tt> <tt class="py-op">==</tt> <tt class="py-string">'boolean'</tt><tt class="py-op">:</tt> </tt>
-<a name="L283"></a><tt class="py-lineno">283</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">bool</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L284"></a><tt class="py-lineno">284</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L285"></a><tt class="py-lineno">285</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">u''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L286"></a><tt class="py-lineno">286</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">value</tt> </tt>
-<a name="L287"></a><tt class="py-lineno">287</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L288"></a><tt class="py-lineno">288</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
+<a name="L206"></a><tt class="py-lineno">206</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L207"></a><tt class="py-lineno">207</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
+<a name="L208"></a><tt class="py-lineno">208</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">ValueError</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
+<a name="L209"></a><tt class="py-lineno">209</tt> <tt class="py-line"> <tt id="link-62" class="py-name"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-62', 'logger', 'link-40');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-string">'Failed to parse as JSON: '</tt> <tt class="py-op">+</tt> <tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
+<a name="L210"></a><tt class="py-lineno">210</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-63" class="py-name"><a title="googleapiclient.errors.InvalidJsonError" class="py-name" href="#" onclick="return doclink('link-63', 'InvalidJsonError', 'link-6');">InvalidJsonError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L211"></a><tt class="py-lineno">211</tt> <tt class="py-line"> </tt>
+<a name="L212"></a><tt class="py-lineno">212</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-64" class="py-name" targets="Function googleapiclient.discovery.build_from_document()=googleapiclient.discovery-module.html#build_from_document"><a title="googleapiclient.discovery.build_from_document" class="py-name" href="#" onclick="return doclink('link-64', 'build_from_document', 'link-64');">build_from_document</a></tt><tt class="py-op">(</tt><tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">base</tt><tt class="py-op">=</tt><tt class="py-name">discoveryServiceUrl</tt><tt class="py-op">,</tt> <tt id="link-65" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-65', 'http', 'link-20');">http</a></tt><tt class="py-op">=</tt><tt id="link-66" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-66', 'http', 'link-20');">http</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L213"></a><tt class="py-lineno">213</tt> <tt class="py-line"> <tt class="py-name">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">developerKey</tt><tt class="py-op">,</tt> <tt id="link-67" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-67', 'model', 'link-29');">model</a></tt><tt class="py-op">=</tt><tt id="link-68" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-68', 'model', 'link-29');">model</a></tt><tt class="py-op">,</tt> <tt class="py-name">requestBuilder</tt><tt class="py-op">=</tt><tt class="py-name">requestBuilder</tt><tt class="py-op">,</tt> </tt>
+<a name="L214"></a><tt class="py-lineno">214</tt> <tt class="py-line"> <tt class="py-name">credentials</tt><tt class="py-op">=</tt><tt class="py-name">credentials</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L215"></a><tt class="py-lineno">215</tt> <tt class="py-line"> </tt>
+<a name="build_from_document"></a><div id="build_from_document-def"><a name="L216"></a><tt class="py-lineno">216</tt> <tt class="py-line"> </tt>
+<a name="L217"></a><tt class="py-lineno">217</tt> <tt class="py-line"><tt class="py-decorator">@</tt><tt class="py-decorator">positional</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
+<a name="L218"></a><tt class="py-lineno">218</tt> <a class="py-toggle" href="#" id="build_from_document-toggle" onclick="return toggle('build_from_document');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#build_from_document">build_from_document</a><tt class="py-op">(</tt> </tt>
+<a name="L219"></a><tt class="py-lineno">219</tt> <tt class="py-line"> <tt class="py-param">service</tt><tt class="py-op">,</tt> </tt>
+<a name="L220"></a><tt class="py-lineno">220</tt> <tt class="py-line"> <tt class="py-param">base</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L221"></a><tt class="py-lineno">221</tt> <tt class="py-line"> <tt class="py-param">future</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L222"></a><tt class="py-lineno">222</tt> <tt class="py-line"> <tt class="py-param">http</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L223"></a><tt class="py-lineno">223</tt> <tt class="py-line"> <tt class="py-param">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L224"></a><tt class="py-lineno">224</tt> <tt class="py-line"> <tt class="py-param">model</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L225"></a><tt class="py-lineno">225</tt> <tt class="py-line"> <tt class="py-param">requestBuilder</tt><tt class="py-op">=</tt><tt id="link-69" class="py-name"><a title="googleapiclient.http.HttpRequest" class="py-name" href="#" onclick="return doclink('link-69', 'HttpRequest', 'link-21');">HttpRequest</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L226"></a><tt class="py-lineno">226</tt> <tt class="py-line"> <tt class="py-param">credentials</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="build_from_document-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="build_from_document-expanded"><a name="L227"></a><tt class="py-lineno">227</tt> <tt class="py-line"> <tt class="py-docstring">"""Create a Resource for interacting with an API.</tt> </tt>
+<a name="L228"></a><tt class="py-lineno">228</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L229"></a><tt class="py-lineno">229</tt> <tt class="py-line"><tt class="py-docstring"> Same as `build()`, but constructs the Resource object from a discovery</tt> </tt>
+<a name="L230"></a><tt class="py-lineno">230</tt> <tt class="py-line"><tt class="py-docstring"> document that is it given, as opposed to retrieving one over HTTP.</tt> </tt>
+<a name="L231"></a><tt class="py-lineno">231</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L232"></a><tt class="py-lineno">232</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L233"></a><tt class="py-lineno">233</tt> <tt class="py-line"><tt class="py-docstring"> service: string or object, the JSON discovery document describing the API.</tt> </tt>
+<a name="L234"></a><tt class="py-lineno">234</tt> <tt class="py-line"><tt class="py-docstring"> The value passed in may either be the JSON string or the deserialized</tt> </tt>
+<a name="L235"></a><tt class="py-lineno">235</tt> <tt class="py-line"><tt class="py-docstring"> JSON.</tt> </tt>
+<a name="L236"></a><tt class="py-lineno">236</tt> <tt class="py-line"><tt class="py-docstring"> base: string, base URI for all HTTP requests, usually the discovery URI.</tt> </tt>
+<a name="L237"></a><tt class="py-lineno">237</tt> <tt class="py-line"><tt class="py-docstring"> This parameter is no longer used as rootUrl and servicePath are included</tt> </tt>
+<a name="L238"></a><tt class="py-lineno">238</tt> <tt class="py-line"><tt class="py-docstring"> within the discovery document. (deprecated)</tt> </tt>
+<a name="L239"></a><tt class="py-lineno">239</tt> <tt class="py-line"><tt class="py-docstring"> future: string, discovery document with future capabilities (deprecated).</tt> </tt>
+<a name="L240"></a><tt class="py-lineno">240</tt> <tt class="py-line"><tt class="py-docstring"> http: httplib2.Http, An instance of httplib2.Http or something that acts</tt> </tt>
+<a name="L241"></a><tt class="py-lineno">241</tt> <tt class="py-line"><tt class="py-docstring"> like it that HTTP requests will be made through.</tt> </tt>
+<a name="L242"></a><tt class="py-lineno">242</tt> <tt class="py-line"><tt class="py-docstring"> developerKey: string, Key for controlling API usage, generated</tt> </tt>
+<a name="L243"></a><tt class="py-lineno">243</tt> <tt class="py-line"><tt class="py-docstring"> from the API Console.</tt> </tt>
+<a name="L244"></a><tt class="py-lineno">244</tt> <tt class="py-line"><tt class="py-docstring"> model: Model class instance that serializes and de-serializes requests and</tt> </tt>
+<a name="L245"></a><tt class="py-lineno">245</tt> <tt class="py-line"><tt class="py-docstring"> responses.</tt> </tt>
+<a name="L246"></a><tt class="py-lineno">246</tt> <tt class="py-line"><tt class="py-docstring"> requestBuilder: Takes an http request and packages it up to be executed.</tt> </tt>
+<a name="L247"></a><tt class="py-lineno">247</tt> <tt class="py-line"><tt class="py-docstring"> credentials: object, credentials to be used for authentication.</tt> </tt>
+<a name="L248"></a><tt class="py-lineno">248</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L249"></a><tt class="py-lineno">249</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L250"></a><tt class="py-lineno">250</tt> <tt class="py-line"><tt class="py-docstring"> A Resource object with methods for interacting with the service.</tt> </tt>
+<a name="L251"></a><tt class="py-lineno">251</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L252"></a><tt class="py-lineno">252</tt> <tt class="py-line"> </tt>
+<a name="L253"></a><tt class="py-lineno">253</tt> <tt class="py-line"> <tt class="py-comment"># future is no longer used.</tt> </tt>
+<a name="L254"></a><tt class="py-lineno">254</tt> <tt class="py-line"> <tt class="py-name">future</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L255"></a><tt class="py-lineno">255</tt> <tt class="py-line"> </tt>
+<a name="L256"></a><tt class="py-lineno">256</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L257"></a><tt class="py-lineno">257</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> </tt>
+<a name="L258"></a><tt class="py-lineno">258</tt> <tt class="py-line"> <tt class="py-name">base</tt> <tt class="py-op">=</tt> <tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urljoin</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">[</tt><tt class="py-string">'rootUrl'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">service</tt><tt class="py-op">[</tt><tt class="py-string">'servicePath'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L259"></a><tt class="py-lineno">259</tt> <tt class="py-line"> <tt id="link-70" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-70', 'schema', 'link-38');">schema</a></tt> <tt class="py-op">=</tt> <tt id="link-71" class="py-name"><a title="googleapiclient.schema.Schemas" class="py-name" href="#" onclick="return doclink('link-71', 'Schemas', 'link-39');">Schemas</a></tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> </tt>
+<a name="L260"></a><tt class="py-lineno">260</tt> <tt class="py-line"> </tt>
+<a name="L261"></a><tt class="py-lineno">261</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">credentials</tt><tt class="py-op">:</tt> </tt>
+<a name="L262"></a><tt class="py-lineno">262</tt> <tt class="py-line"> <tt class="py-comment"># If credentials were passed in, we could have two cases:</tt> </tt>
+<a name="L263"></a><tt class="py-lineno">263</tt> <tt class="py-line"> <tt class="py-comment"># 1. the scopes were specified, in which case the given credentials</tt> </tt>
+<a name="L264"></a><tt class="py-lineno">264</tt> <tt class="py-line"> <tt class="py-comment"># are used for authorizing the http;</tt> </tt>
+<a name="L265"></a><tt class="py-lineno">265</tt> <tt class="py-line"> <tt class="py-comment"># 2. the scopes were not provided (meaning the Application Default</tt> </tt>
+<a name="L266"></a><tt class="py-lineno">266</tt> <tt class="py-line"> <tt class="py-comment"># Credentials are to be used). In this case, the Application Default</tt> </tt>
+<a name="L267"></a><tt class="py-lineno">267</tt> <tt class="py-line"> <tt class="py-comment"># Credentials are built and used instead of the original credentials.</tt> </tt>
+<a name="L268"></a><tt class="py-lineno">268</tt> <tt class="py-line"> <tt class="py-comment"># If there are no scopes found (meaning the given service requires no</tt> </tt>
+<a name="L269"></a><tt class="py-lineno">269</tt> <tt class="py-line"> <tt class="py-comment"># authentication), there is no authorization of the http.</tt> </tt>
+<a name="L270"></a><tt class="py-lineno">270</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">credentials</tt><tt class="py-op">,</tt> <tt class="py-name">GoogleCredentials</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> </tt>
+<a name="L271"></a><tt class="py-lineno">271</tt> <tt class="py-line"> <tt class="py-name">credentials</tt><tt class="py-op">.</tt><tt class="py-name">create_scoped_required</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L272"></a><tt class="py-lineno">272</tt> <tt class="py-line"> <tt class="py-name">scopes</tt> <tt class="py-op">=</tt> <tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-72" class="py-name" targets="Method googleapiclient.schema.Schemas.get()=googleapiclient.schema.Schemas-class.html#get"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-72', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'auth'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-73', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'oauth2'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-74" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-74', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'scopes'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
+<a name="L273"></a><tt class="py-lineno">273</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">scopes</tt><tt class="py-op">:</tt> </tt>
+<a name="L274"></a><tt class="py-lineno">274</tt> <tt class="py-line"> <tt class="py-name">credentials</tt> <tt class="py-op">=</tt> <tt class="py-name">credentials</tt><tt class="py-op">.</tt><tt class="py-name">create_scoped</tt><tt class="py-op">(</tt><tt class="py-name">scopes</tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L275"></a><tt class="py-lineno">275</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L276"></a><tt class="py-lineno">276</tt> <tt class="py-line"> <tt class="py-comment"># No need to authorize the http object</tt> </tt>
+<a name="L277"></a><tt class="py-lineno">277</tt> <tt class="py-line"> <tt class="py-comment"># if the service does not require authentication.</tt> </tt>
+<a name="L278"></a><tt class="py-lineno">278</tt> <tt class="py-line"> <tt class="py-name">credentials</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L279"></a><tt class="py-lineno">279</tt> <tt class="py-line"> </tt>
+<a name="L280"></a><tt class="py-lineno">280</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">credentials</tt><tt class="py-op">:</tt> </tt>
+<a name="L281"></a><tt class="py-lineno">281</tt> <tt class="py-line"> <tt id="link-75" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-75', 'http', 'link-20');">http</a></tt> <tt class="py-op">=</tt> <tt class="py-name">credentials</tt><tt class="py-op">.</tt><tt class="py-name">authorize</tt><tt class="py-op">(</tt><tt id="link-76" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-76', 'http', 'link-20');">http</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L282"></a><tt class="py-lineno">282</tt> <tt class="py-line"> </tt>
+<a name="L283"></a><tt class="py-lineno">283</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-77" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-77', 'model', 'link-29');">model</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L284"></a><tt class="py-lineno">284</tt> <tt class="py-line"> <tt class="py-name">features</tt> <tt class="py-op">=</tt> <tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-78" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-78', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'features'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L285"></a><tt class="py-lineno">285</tt> <tt class="py-line"> <tt id="link-79" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-79', 'model', 'link-29');">model</a></tt> <tt class="py-op">=</tt> <tt id="link-80" class="py-name"><a title="googleapiclient.model.JsonModel" class="py-name" href="#" onclick="return doclink('link-80', 'JsonModel', 'link-30');">JsonModel</a></tt><tt class="py-op">(</tt><tt class="py-string">'dataWrapper'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">features</tt><tt class="py-op">)</tt> </tt>
+<a name="L286"></a><tt class="py-lineno">286</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-81" class="py-name" targets="Class googleapiclient.discovery.Resource=googleapiclient.discovery.Resource-class.html"><a title="googleapiclient.discovery.Resource" class="py-name" href="#" onclick="return doclink('link-81', 'Resource', 'link-81');">Resource</a></tt><tt class="py-op">(</tt><tt id="link-82" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-82', 'http', 'link-20');">http</a></tt><tt class="py-op">=</tt><tt id="link-83" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-83', 'http', 'link-20');">http</a></tt><tt class="py-op">,</tt> <tt class="py-name">baseUrl</tt><tt class="py-op">=</tt><tt class="py-name">base</tt><tt class="py-op">,</tt> <tt id="link-84" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-84', 'model', 'link-29');">model</a></tt><tt class="py-op">=</tt><tt id="link-85" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-85', 'model', 'link-29');">model</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L287"></a><tt class="py-lineno">287</tt> <tt class="py-line"> <tt class="py-name">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">developerKey</tt><tt class="py-op">,</tt> <tt class="py-name">requestBuilder</tt><tt class="py-op">=</tt><tt class="py-name">requestBuilder</tt><tt class="py-op">,</tt> </tt>
+<a name="L288"></a><tt class="py-lineno">288</tt> <tt class="py-line"> <tt class="py-name">resourceDesc</tt><tt class="py-op">=</tt><tt class="py-name">service</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">=</tt><tt class="py-name">service</tt><tt class="py-op">,</tt> <tt id="link-86" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-86', 'schema', 'link-38');">schema</a></tt><tt class="py-op">=</tt><tt id="link-87" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-87', 'schema', 'link-38');">schema</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L289"></a><tt class="py-lineno">289</tt> <tt class="py-line"> </tt>
-<a name="_media_size_to_long"></a><div id="_media_size_to_long-def"><a name="L290"></a><tt class="py-lineno">290</tt> <tt class="py-line"> </tt>
-<a name="L291"></a><tt class="py-lineno">291</tt> <a class="py-toggle" href="#" id="_media_size_to_long-toggle" onclick="return toggle('_media_size_to_long');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_media_size_to_long">_media_size_to_long</a><tt class="py-op">(</tt><tt class="py-param">maxSize</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="_media_size_to_long-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_media_size_to_long-expanded"><a name="L292"></a><tt class="py-lineno">292</tt> <tt class="py-line"> <tt class="py-docstring">"""Convert a string media size, such as 10GB or 3TB into an integer.</tt> </tt>
+<a name="_cast"></a><div id="_cast-def"><a name="L290"></a><tt class="py-lineno">290</tt> <tt class="py-line"> </tt>
+<a name="L291"></a><tt class="py-lineno">291</tt> <a class="py-toggle" href="#" id="_cast-toggle" onclick="return toggle('_cast');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_cast">_cast</a><tt class="py-op">(</tt><tt class="py-param">value</tt><tt class="py-op">,</tt> <tt class="py-param">schema_type</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_cast-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_cast-expanded"><a name="L292"></a><tt class="py-lineno">292</tt> <tt class="py-line"> <tt class="py-docstring">"""Convert value to a string based on JSON Schema type.</tt> </tt>
<a name="L293"></a><tt class="py-lineno">293</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L294"></a><tt class="py-lineno">294</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L295"></a><tt class="py-lineno">295</tt> <tt class="py-line"><tt class="py-docstring"> maxSize: string, size as a string, such as 2MB or 7GB.</tt> </tt>
+<a name="L294"></a><tt class="py-lineno">294</tt> <tt class="py-line"><tt class="py-docstring"> See http://tools.ietf.org/html/draft-zyp-json-schema-03 for more details on</tt> </tt>
+<a name="L295"></a><tt class="py-lineno">295</tt> <tt class="py-line"><tt class="py-docstring"> JSON Schema.</tt> </tt>
<a name="L296"></a><tt class="py-lineno">296</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L297"></a><tt class="py-lineno">297</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L298"></a><tt class="py-lineno">298</tt> <tt class="py-line"><tt class="py-docstring"> The size as an integer value.</tt> </tt>
-<a name="L299"></a><tt class="py-lineno">299</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L300"></a><tt class="py-lineno">300</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">maxSize</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">2</tt><tt class="py-op">:</tt> </tt>
-<a name="L301"></a><tt class="py-lineno">301</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0L</tt> </tt>
-<a name="L302"></a><tt class="py-lineno">302</tt> <tt class="py-line"> <tt class="py-name">units</tt> <tt class="py-op">=</tt> <tt class="py-name">maxSize</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">upper</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L303"></a><tt class="py-lineno">303</tt> <tt class="py-line"> <tt class="py-name">bit_shift</tt> <tt class="py-op">=</tt> <tt id="link-83" class="py-name"><a title="googleapiclient.discovery._MEDIA_SIZE_BIT_SHIFTS" class="py-name" href="#" onclick="return doclink('link-83', '_MEDIA_SIZE_BIT_SHIFTS', 'link-46');">_MEDIA_SIZE_BIT_SHIFTS</a></tt><tt class="py-op">.</tt><tt id="link-84" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-84', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">units</tt><tt class="py-op">)</tt> </tt>
-<a name="L304"></a><tt class="py-lineno">304</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">bit_shift</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L305"></a><tt class="py-lineno">305</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">long</tt><tt class="py-op">(</tt><tt class="py-name">maxSize</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt class="py-number">2</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-op"><<</tt> <tt class="py-name">bit_shift</tt> </tt>
-<a name="L306"></a><tt class="py-lineno">306</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L307"></a><tt class="py-lineno">307</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">long</tt><tt class="py-op">(</tt><tt class="py-name">maxSize</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L308"></a><tt class="py-lineno">308</tt> <tt class="py-line"> </tt>
-<a name="_media_path_url_from_info"></a><div id="_media_path_url_from_info-def"><a name="L309"></a><tt class="py-lineno">309</tt> <tt class="py-line"> </tt>
-<a name="L310"></a><tt class="py-lineno">310</tt> <a class="py-toggle" href="#" id="_media_path_url_from_info-toggle" onclick="return toggle('_media_path_url_from_info');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_media_path_url_from_info">_media_path_url_from_info</a><tt class="py-op">(</tt><tt class="py-param">root_desc</tt><tt class="py-op">,</tt> <tt class="py-param">path_url</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="_media_path_url_from_info-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_media_path_url_from_info-expanded"><a name="L311"></a><tt class="py-lineno">311</tt> <tt class="py-line"> <tt class="py-docstring">"""Creates an absolute media path URL.</tt> </tt>
-<a name="L312"></a><tt class="py-lineno">312</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L313"></a><tt class="py-lineno">313</tt> <tt class="py-line"><tt class="py-docstring"> Constructed using the API root URI and service path from the discovery</tt> </tt>
-<a name="L314"></a><tt class="py-lineno">314</tt> <tt class="py-line"><tt class="py-docstring"> document and the relative path for the API method.</tt> </tt>
-<a name="L315"></a><tt class="py-lineno">315</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L316"></a><tt class="py-lineno">316</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L317"></a><tt class="py-lineno">317</tt> <tt class="py-line"><tt class="py-docstring"> root_desc: Dictionary; the entire original deserialized discovery document.</tt> </tt>
-<a name="L318"></a><tt class="py-lineno">318</tt> <tt class="py-line"><tt class="py-docstring"> path_url: String; the relative URL for the API method. Relative to the API</tt> </tt>
-<a name="L319"></a><tt class="py-lineno">319</tt> <tt class="py-line"><tt class="py-docstring"> root, which is specified in the discovery document.</tt> </tt>
-<a name="L320"></a><tt class="py-lineno">320</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L321"></a><tt class="py-lineno">321</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L322"></a><tt class="py-lineno">322</tt> <tt class="py-line"><tt class="py-docstring"> String; the absolute URI for media upload for the API method.</tt> </tt>
-<a name="L323"></a><tt class="py-lineno">323</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L324"></a><tt class="py-lineno">324</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">'%(root)supload/%(service_path)s%(path)s'</tt> <tt class="py-op">%</tt> <tt class="py-op">{</tt> </tt>
-<a name="L325"></a><tt class="py-lineno">325</tt> <tt class="py-line"> <tt class="py-string">'root'</tt><tt class="py-op">:</tt> <tt class="py-name">root_desc</tt><tt class="py-op">[</tt><tt class="py-string">'rootUrl'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
-<a name="L326"></a><tt class="py-lineno">326</tt> <tt class="py-line"> <tt class="py-string">'service_path'</tt><tt class="py-op">:</tt> <tt class="py-name">root_desc</tt><tt class="py-op">[</tt><tt class="py-string">'servicePath'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
-<a name="L327"></a><tt class="py-lineno">327</tt> <tt class="py-line"> <tt class="py-string">'path'</tt><tt class="py-op">:</tt> <tt class="py-name">path_url</tt><tt class="py-op">,</tt> </tt>
-<a name="L328"></a><tt class="py-lineno">328</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt>
-</div><a name="L329"></a><tt class="py-lineno">329</tt> <tt class="py-line"> </tt>
-<a name="_fix_up_parameters"></a><div id="_fix_up_parameters-def"><a name="L330"></a><tt class="py-lineno">330</tt> <tt class="py-line"> </tt>
-<a name="L331"></a><tt class="py-lineno">331</tt> <a class="py-toggle" href="#" id="_fix_up_parameters-toggle" onclick="return toggle('_fix_up_parameters');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_fix_up_parameters">_fix_up_parameters</a><tt class="py-op">(</tt><tt class="py-param">method_desc</tt><tt class="py-op">,</tt> <tt class="py-param">root_desc</tt><tt class="py-op">,</tt> <tt class="py-param">http_method</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="_fix_up_parameters-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_fix_up_parameters-expanded"><a name="L332"></a><tt class="py-lineno">332</tt> <tt class="py-line"> <tt class="py-docstring">"""Updates parameters of an API method with values specific to this library.</tt> </tt>
-<a name="L333"></a><tt class="py-lineno">333</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L334"></a><tt class="py-lineno">334</tt> <tt class="py-line"><tt class="py-docstring"> Specifically, adds whatever global parameters are specified by the API to the</tt> </tt>
-<a name="L335"></a><tt class="py-lineno">335</tt> <tt class="py-line"><tt class="py-docstring"> parameters for the individual method. Also adds parameters which don't</tt> </tt>
-<a name="L336"></a><tt class="py-lineno">336</tt> <tt class="py-line"><tt class="py-docstring"> appear in the discovery document, but are available to all discovery based</tt> </tt>
-<a name="L337"></a><tt class="py-lineno">337</tt> <tt class="py-line"><tt class="py-docstring"> APIs (these are listed in STACK_QUERY_PARAMETERS).</tt> </tt>
-<a name="L338"></a><tt class="py-lineno">338</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L339"></a><tt class="py-lineno">339</tt> <tt class="py-line"><tt class="py-docstring"> SIDE EFFECTS: This updates the parameters dictionary object in the method</tt> </tt>
-<a name="L340"></a><tt class="py-lineno">340</tt> <tt class="py-line"><tt class="py-docstring"> description.</tt> </tt>
-<a name="L341"></a><tt class="py-lineno">341</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L342"></a><tt class="py-lineno">342</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L343"></a><tt class="py-lineno">343</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value comes</tt> </tt>
-<a name="L344"></a><tt class="py-lineno">344</tt> <tt class="py-line"><tt class="py-docstring"> from the dictionary of methods stored in the 'methods' key in the</tt> </tt>
-<a name="L345"></a><tt class="py-lineno">345</tt> <tt class="py-line"><tt class="py-docstring"> deserialized discovery document.</tt> </tt>
-<a name="L346"></a><tt class="py-lineno">346</tt> <tt class="py-line"><tt class="py-docstring"> root_desc: Dictionary; the entire original deserialized discovery document.</tt> </tt>
-<a name="L347"></a><tt class="py-lineno">347</tt> <tt class="py-line"><tt class="py-docstring"> http_method: String; the HTTP method used to call the API method described</tt> </tt>
-<a name="L348"></a><tt class="py-lineno">348</tt> <tt class="py-line"><tt class="py-docstring"> in method_desc.</tt> </tt>
-<a name="L349"></a><tt class="py-lineno">349</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L350"></a><tt class="py-lineno">350</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L351"></a><tt class="py-lineno">351</tt> <tt class="py-line"><tt class="py-docstring"> The updated Dictionary stored in the 'parameters' key of the method</tt> </tt>
-<a name="L352"></a><tt class="py-lineno">352</tt> <tt class="py-line"><tt class="py-docstring"> description dictionary.</tt> </tt>
-<a name="L353"></a><tt class="py-lineno">353</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L354"></a><tt class="py-lineno">354</tt> <tt class="py-line"> <tt class="py-name">parameters</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">.</tt><tt class="py-name">setdefault</tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
-<a name="L355"></a><tt class="py-lineno">355</tt> <tt class="py-line"> </tt>
-<a name="L356"></a><tt class="py-lineno">356</tt> <tt class="py-line"> <tt class="py-comment"># Add in the parameters common to all methods.</tt> </tt>
-<a name="L357"></a><tt class="py-lineno">357</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">description</tt> <tt class="py-keyword">in</tt> <tt class="py-name">root_desc</tt><tt class="py-op">.</tt><tt id="link-85" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-85', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L358"></a><tt class="py-lineno">358</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">description</tt> </tt>
-<a name="L359"></a><tt class="py-lineno">359</tt> <tt class="py-line"> </tt>
-<a name="L360"></a><tt class="py-lineno">360</tt> <tt class="py-line"> <tt class="py-comment"># Add in undocumented query parameters.</tt> </tt>
-<a name="L361"></a><tt class="py-lineno">361</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt id="link-86" class="py-name"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETERS" class="py-name" href="#" onclick="return doclink('link-86', 'STACK_QUERY_PARAMETERS', 'link-49');">STACK_QUERY_PARAMETERS</a></tt><tt class="py-op">:</tt> </tt>
-<a name="L362"></a><tt class="py-lineno">362</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-87" class="py-name"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-87', 'STACK_QUERY_PARAMETER_DEFAULT_VALUE', 'link-50');">STACK_QUERY_PARAMETER_DEFAULT_VALUE</a></tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L363"></a><tt class="py-lineno">363</tt> <tt class="py-line"> </tt>
-<a name="L364"></a><tt class="py-lineno">364</tt> <tt class="py-line"> <tt class="py-comment"># Add 'body' (our own reserved word) to parameters if the method supports</tt> </tt>
-<a name="L365"></a><tt class="py-lineno">365</tt> <tt class="py-line"> <tt class="py-comment"># a request payload.</tt> </tt>
-<a name="L366"></a><tt class="py-lineno">366</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">http_method</tt> <tt class="py-keyword">in</tt> <tt id="link-88" class="py-name"><a title="googleapiclient.discovery.HTTP_PAYLOAD_METHODS" class="py-name" href="#" onclick="return doclink('link-88', 'HTTP_PAYLOAD_METHODS', 'link-45');">HTTP_PAYLOAD_METHODS</a></tt> <tt class="py-keyword">and</tt> <tt class="py-string">'request'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">method_desc</tt><tt class="py-op">:</tt> </tt>
-<a name="L367"></a><tt class="py-lineno">367</tt> <tt class="py-line"> <tt id="link-89" class="py-name" targets="Method googleapiclient.channel.Channel.body()=googleapiclient.channel.Channel-class.html#body"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-89', 'body', 'link-89');">body</a></tt> <tt class="py-op">=</tt> <tt id="link-90" class="py-name"><a title="googleapiclient.discovery.BODY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-90', 'BODY_PARAMETER_DEFAULT_VALUE', 'link-47');">BODY_PARAMETER_DEFAULT_VALUE</a></tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L368"></a><tt class="py-lineno">368</tt> <tt class="py-line"> <tt id="link-91" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-91', 'body', 'link-89');">body</a></tt><tt class="py-op">.</tt><tt id="link-92" class="py-name" targets="Method googleapiclient.channel.Channel.update()=googleapiclient.channel.Channel-class.html#update"><a title="googleapiclient.channel.Channel.update" class="py-name" href="#" onclick="return doclink('link-92', 'update', 'link-92');">update</a></tt><tt class="py-op">(</tt><tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'request'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L369"></a><tt class="py-lineno">369</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-string">'body'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-93" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-93', 'body', 'link-89');">body</a></tt> </tt>
-<a name="L370"></a><tt class="py-lineno">370</tt> <tt class="py-line"> </tt>
-<a name="L371"></a><tt class="py-lineno">371</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">parameters</tt> </tt>
-</div><a name="L372"></a><tt class="py-lineno">372</tt> <tt class="py-line"> </tt>
-<a name="_fix_up_media_upload"></a><div id="_fix_up_media_upload-def"><a name="L373"></a><tt class="py-lineno">373</tt> <tt class="py-line"> </tt>
-<a name="L374"></a><tt class="py-lineno">374</tt> <a class="py-toggle" href="#" id="_fix_up_media_upload-toggle" onclick="return toggle('_fix_up_media_upload');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_fix_up_media_upload">_fix_up_media_upload</a><tt class="py-op">(</tt><tt class="py-param">method_desc</tt><tt class="py-op">,</tt> <tt class="py-param">root_desc</tt><tt class="py-op">,</tt> <tt class="py-param">path_url</tt><tt class="py-op">,</tt> <tt class="py-param">parameters</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="_fix_up_media_upload-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_fix_up_media_upload-expanded"><a name="L375"></a><tt class="py-lineno">375</tt> <tt class="py-line"> <tt class="py-docstring">"""Updates parameters of API by adding 'media_body' if supported by method.</tt> </tt>
-<a name="L376"></a><tt class="py-lineno">376</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L377"></a><tt class="py-lineno">377</tt> <tt class="py-line"><tt class="py-docstring"> SIDE EFFECTS: If the method supports media upload and has a required body,</tt> </tt>
-<a name="L378"></a><tt class="py-lineno">378</tt> <tt class="py-line"><tt class="py-docstring"> sets body to be optional (required=False) instead. Also, if there is a</tt> </tt>
-<a name="L379"></a><tt class="py-lineno">379</tt> <tt class="py-line"><tt class="py-docstring"> 'mediaUpload' in the method description, adds 'media_upload' key to</tt> </tt>
-<a name="L380"></a><tt class="py-lineno">380</tt> <tt class="py-line"><tt class="py-docstring"> parameters.</tt> </tt>
-<a name="L381"></a><tt class="py-lineno">381</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L382"></a><tt class="py-lineno">382</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L383"></a><tt class="py-lineno">383</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value comes</tt> </tt>
-<a name="L384"></a><tt class="py-lineno">384</tt> <tt class="py-line"><tt class="py-docstring"> from the dictionary of methods stored in the 'methods' key in the</tt> </tt>
-<a name="L385"></a><tt class="py-lineno">385</tt> <tt class="py-line"><tt class="py-docstring"> deserialized discovery document.</tt> </tt>
-<a name="L386"></a><tt class="py-lineno">386</tt> <tt class="py-line"><tt class="py-docstring"> root_desc: Dictionary; the entire original deserialized discovery document.</tt> </tt>
-<a name="L387"></a><tt class="py-lineno">387</tt> <tt class="py-line"><tt class="py-docstring"> path_url: String; the relative URL for the API method. Relative to the API</tt> </tt>
-<a name="L388"></a><tt class="py-lineno">388</tt> <tt class="py-line"><tt class="py-docstring"> root, which is specified in the discovery document.</tt> </tt>
-<a name="L389"></a><tt class="py-lineno">389</tt> <tt class="py-line"><tt class="py-docstring"> parameters: A dictionary describing method parameters for method described</tt> </tt>
-<a name="L390"></a><tt class="py-lineno">390</tt> <tt class="py-line"><tt class="py-docstring"> in method_desc.</tt> </tt>
-<a name="L391"></a><tt class="py-lineno">391</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L392"></a><tt class="py-lineno">392</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L393"></a><tt class="py-lineno">393</tt> <tt class="py-line"><tt class="py-docstring"> Triple (accept, max_size, media_path_url) where:</tt> </tt>
-<a name="L394"></a><tt class="py-lineno">394</tt> <tt class="py-line"><tt class="py-docstring"> - accept is a list of strings representing what content types are</tt> </tt>
-<a name="L395"></a><tt class="py-lineno">395</tt> <tt class="py-line"><tt class="py-docstring"> accepted for media upload. Defaults to empty list if not in the</tt> </tt>
-<a name="L396"></a><tt class="py-lineno">396</tt> <tt class="py-line"><tt class="py-docstring"> discovery document.</tt> </tt>
-<a name="L397"></a><tt class="py-lineno">397</tt> <tt class="py-line"><tt class="py-docstring"> - max_size is a long representing the max size in bytes allowed for a</tt> </tt>
-<a name="L398"></a><tt class="py-lineno">398</tt> <tt class="py-line"><tt class="py-docstring"> media upload. Defaults to 0L if not in the discovery document.</tt> </tt>
-<a name="L399"></a><tt class="py-lineno">399</tt> <tt class="py-line"><tt class="py-docstring"> - media_path_url is a String; the absolute URI for media upload for the</tt> </tt>
-<a name="L400"></a><tt class="py-lineno">400</tt> <tt class="py-line"><tt class="py-docstring"> API method. Constructed using the API root URI and service path from</tt> </tt>
-<a name="L401"></a><tt class="py-lineno">401</tt> <tt class="py-line"><tt class="py-docstring"> the discovery document and the relative path for the API method. If</tt> </tt>
-<a name="L402"></a><tt class="py-lineno">402</tt> <tt class="py-line"><tt class="py-docstring"> media upload is not supported, this is None.</tt> </tt>
-<a name="L403"></a><tt class="py-lineno">403</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L404"></a><tt class="py-lineno">404</tt> <tt class="py-line"> <tt class="py-name">media_upload</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-94', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'mediaUpload'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
-<a name="L405"></a><tt class="py-lineno">405</tt> <tt class="py-line"> <tt id="link-95" class="py-name" targets="Variable googleapiclient.model.BaseModel.accept=googleapiclient.model.BaseModel-class.html#accept,Variable googleapiclient.model.JsonModel.accept=googleapiclient.model.JsonModel-class.html#accept,Variable googleapiclient.model.MediaModel.accept=googleapiclient.model.MediaModel-class.html#accept,Variable googleapiclient.model.ProtocolBufferModel.accept=googleapiclient.model.ProtocolBufferModel-class.html#accept,Variable googleapiclient.model.RawModel.accept=googleapiclient.model.RawModel-class.html#accept"><a title="googleapiclient.model.BaseModel.accept
+<a name="L297"></a><tt class="py-lineno">297</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L298"></a><tt class="py-lineno">298</tt> <tt class="py-line"><tt class="py-docstring"> value: any, the value to convert</tt> </tt>
+<a name="L299"></a><tt class="py-lineno">299</tt> <tt class="py-line"><tt class="py-docstring"> schema_type: string, the type that value should be interpreted as</tt> </tt>
+<a name="L300"></a><tt class="py-lineno">300</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L301"></a><tt class="py-lineno">301</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L302"></a><tt class="py-lineno">302</tt> <tt class="py-line"><tt class="py-docstring"> A string representation of 'value' based on the schema_type.</tt> </tt>
+<a name="L303"></a><tt class="py-lineno">303</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L304"></a><tt class="py-lineno">304</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">schema_type</tt> <tt class="py-op">==</tt> <tt class="py-string">'string'</tt><tt class="py-op">:</tt> </tt>
+<a name="L305"></a><tt class="py-lineno">305</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">u''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L306"></a><tt class="py-lineno">306</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">value</tt> </tt>
+<a name="L307"></a><tt class="py-lineno">307</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L308"></a><tt class="py-lineno">308</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
+<a name="L309"></a><tt class="py-lineno">309</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">schema_type</tt> <tt class="py-op">==</tt> <tt class="py-string">'integer'</tt><tt class="py-op">:</tt> </tt>
+<a name="L310"></a><tt class="py-lineno">310</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L311"></a><tt class="py-lineno">311</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">schema_type</tt> <tt class="py-op">==</tt> <tt class="py-string">'number'</tt><tt class="py-op">:</tt> </tt>
+<a name="L312"></a><tt class="py-lineno">312</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L313"></a><tt class="py-lineno">313</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">schema_type</tt> <tt class="py-op">==</tt> <tt class="py-string">'boolean'</tt><tt class="py-op">:</tt> </tt>
+<a name="L314"></a><tt class="py-lineno">314</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">bool</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L315"></a><tt class="py-lineno">315</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L316"></a><tt class="py-lineno">316</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">u''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L317"></a><tt class="py-lineno">317</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">value</tt> </tt>
+<a name="L318"></a><tt class="py-lineno">318</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L319"></a><tt class="py-lineno">319</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L320"></a><tt class="py-lineno">320</tt> <tt class="py-line"> </tt>
+<a name="_media_size_to_long"></a><div id="_media_size_to_long-def"><a name="L321"></a><tt class="py-lineno">321</tt> <tt class="py-line"> </tt>
+<a name="L322"></a><tt class="py-lineno">322</tt> <a class="py-toggle" href="#" id="_media_size_to_long-toggle" onclick="return toggle('_media_size_to_long');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_media_size_to_long">_media_size_to_long</a><tt class="py-op">(</tt><tt class="py-param">maxSize</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_media_size_to_long-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_media_size_to_long-expanded"><a name="L323"></a><tt class="py-lineno">323</tt> <tt class="py-line"> <tt class="py-docstring">"""Convert a string media size, such as 10GB or 3TB into an integer.</tt> </tt>
+<a name="L324"></a><tt class="py-lineno">324</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L325"></a><tt class="py-lineno">325</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L326"></a><tt class="py-lineno">326</tt> <tt class="py-line"><tt class="py-docstring"> maxSize: string, size as a string, such as 2MB or 7GB.</tt> </tt>
+<a name="L327"></a><tt class="py-lineno">327</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L328"></a><tt class="py-lineno">328</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L329"></a><tt class="py-lineno">329</tt> <tt class="py-line"><tt class="py-docstring"> The size as an integer value.</tt> </tt>
+<a name="L330"></a><tt class="py-lineno">330</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L331"></a><tt class="py-lineno">331</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">maxSize</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">2</tt><tt class="py-op">:</tt> </tt>
+<a name="L332"></a><tt class="py-lineno">332</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0L</tt> </tt>
+<a name="L333"></a><tt class="py-lineno">333</tt> <tt class="py-line"> <tt class="py-name">units</tt> <tt class="py-op">=</tt> <tt class="py-name">maxSize</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">upper</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L334"></a><tt class="py-lineno">334</tt> <tt class="py-line"> <tt class="py-name">bit_shift</tt> <tt class="py-op">=</tt> <tt id="link-88" class="py-name"><a title="googleapiclient.discovery._MEDIA_SIZE_BIT_SHIFTS" class="py-name" href="#" onclick="return doclink('link-88', '_MEDIA_SIZE_BIT_SHIFTS', 'link-46');">_MEDIA_SIZE_BIT_SHIFTS</a></tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-89', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">units</tt><tt class="py-op">)</tt> </tt>
+<a name="L335"></a><tt class="py-lineno">335</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">bit_shift</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L336"></a><tt class="py-lineno">336</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">long</tt><tt class="py-op">(</tt><tt class="py-name">maxSize</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt class="py-number">2</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-op"><<</tt> <tt class="py-name">bit_shift</tt> </tt>
+<a name="L337"></a><tt class="py-lineno">337</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L338"></a><tt class="py-lineno">338</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">long</tt><tt class="py-op">(</tt><tt class="py-name">maxSize</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L339"></a><tt class="py-lineno">339</tt> <tt class="py-line"> </tt>
+<a name="_media_path_url_from_info"></a><div id="_media_path_url_from_info-def"><a name="L340"></a><tt class="py-lineno">340</tt> <tt class="py-line"> </tt>
+<a name="L341"></a><tt class="py-lineno">341</tt> <a class="py-toggle" href="#" id="_media_path_url_from_info-toggle" onclick="return toggle('_media_path_url_from_info');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_media_path_url_from_info">_media_path_url_from_info</a><tt class="py-op">(</tt><tt class="py-param">root_desc</tt><tt class="py-op">,</tt> <tt class="py-param">path_url</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_media_path_url_from_info-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_media_path_url_from_info-expanded"><a name="L342"></a><tt class="py-lineno">342</tt> <tt class="py-line"> <tt class="py-docstring">"""Creates an absolute media path URL.</tt> </tt>
+<a name="L343"></a><tt class="py-lineno">343</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L344"></a><tt class="py-lineno">344</tt> <tt class="py-line"><tt class="py-docstring"> Constructed using the API root URI and service path from the discovery</tt> </tt>
+<a name="L345"></a><tt class="py-lineno">345</tt> <tt class="py-line"><tt class="py-docstring"> document and the relative path for the API method.</tt> </tt>
+<a name="L346"></a><tt class="py-lineno">346</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L347"></a><tt class="py-lineno">347</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L348"></a><tt class="py-lineno">348</tt> <tt class="py-line"><tt class="py-docstring"> root_desc: Dictionary; the entire original deserialized discovery document.</tt> </tt>
+<a name="L349"></a><tt class="py-lineno">349</tt> <tt class="py-line"><tt class="py-docstring"> path_url: String; the relative URL for the API method. Relative to the API</tt> </tt>
+<a name="L350"></a><tt class="py-lineno">350</tt> <tt class="py-line"><tt class="py-docstring"> root, which is specified in the discovery document.</tt> </tt>
+<a name="L351"></a><tt class="py-lineno">351</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L352"></a><tt class="py-lineno">352</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L353"></a><tt class="py-lineno">353</tt> <tt class="py-line"><tt class="py-docstring"> String; the absolute URI for media upload for the API method.</tt> </tt>
+<a name="L354"></a><tt class="py-lineno">354</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L355"></a><tt class="py-lineno">355</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">'%(root)supload/%(service_path)s%(path)s'</tt> <tt class="py-op">%</tt> <tt class="py-op">{</tt> </tt>
+<a name="L356"></a><tt class="py-lineno">356</tt> <tt class="py-line"> <tt class="py-string">'root'</tt><tt class="py-op">:</tt> <tt class="py-name">root_desc</tt><tt class="py-op">[</tt><tt class="py-string">'rootUrl'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
+<a name="L357"></a><tt class="py-lineno">357</tt> <tt class="py-line"> <tt class="py-string">'service_path'</tt><tt class="py-op">:</tt> <tt class="py-name">root_desc</tt><tt class="py-op">[</tt><tt class="py-string">'servicePath'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
+<a name="L358"></a><tt class="py-lineno">358</tt> <tt class="py-line"> <tt class="py-string">'path'</tt><tt class="py-op">:</tt> <tt class="py-name">path_url</tt><tt class="py-op">,</tt> </tt>
+<a name="L359"></a><tt class="py-lineno">359</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt>
+</div><a name="L360"></a><tt class="py-lineno">360</tt> <tt class="py-line"> </tt>
+<a name="_fix_up_parameters"></a><div id="_fix_up_parameters-def"><a name="L361"></a><tt class="py-lineno">361</tt> <tt class="py-line"> </tt>
+<a name="L362"></a><tt class="py-lineno">362</tt> <a class="py-toggle" href="#" id="_fix_up_parameters-toggle" onclick="return toggle('_fix_up_parameters');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_fix_up_parameters">_fix_up_parameters</a><tt class="py-op">(</tt><tt class="py-param">method_desc</tt><tt class="py-op">,</tt> <tt class="py-param">root_desc</tt><tt class="py-op">,</tt> <tt class="py-param">http_method</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_fix_up_parameters-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_fix_up_parameters-expanded"><a name="L363"></a><tt class="py-lineno">363</tt> <tt class="py-line"> <tt class="py-docstring">"""Updates parameters of an API method with values specific to this library.</tt> </tt>
+<a name="L364"></a><tt class="py-lineno">364</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L365"></a><tt class="py-lineno">365</tt> <tt class="py-line"><tt class="py-docstring"> Specifically, adds whatever global parameters are specified by the API to the</tt> </tt>
+<a name="L366"></a><tt class="py-lineno">366</tt> <tt class="py-line"><tt class="py-docstring"> parameters for the individual method. Also adds parameters which don't</tt> </tt>
+<a name="L367"></a><tt class="py-lineno">367</tt> <tt class="py-line"><tt class="py-docstring"> appear in the discovery document, but are available to all discovery based</tt> </tt>
+<a name="L368"></a><tt class="py-lineno">368</tt> <tt class="py-line"><tt class="py-docstring"> APIs (these are listed in STACK_QUERY_PARAMETERS).</tt> </tt>
+<a name="L369"></a><tt class="py-lineno">369</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L370"></a><tt class="py-lineno">370</tt> <tt class="py-line"><tt class="py-docstring"> SIDE EFFECTS: This updates the parameters dictionary object in the method</tt> </tt>
+<a name="L371"></a><tt class="py-lineno">371</tt> <tt class="py-line"><tt class="py-docstring"> description.</tt> </tt>
+<a name="L372"></a><tt class="py-lineno">372</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L373"></a><tt class="py-lineno">373</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L374"></a><tt class="py-lineno">374</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value comes</tt> </tt>
+<a name="L375"></a><tt class="py-lineno">375</tt> <tt class="py-line"><tt class="py-docstring"> from the dictionary of methods stored in the 'methods' key in the</tt> </tt>
+<a name="L376"></a><tt class="py-lineno">376</tt> <tt class="py-line"><tt class="py-docstring"> deserialized discovery document.</tt> </tt>
+<a name="L377"></a><tt class="py-lineno">377</tt> <tt class="py-line"><tt class="py-docstring"> root_desc: Dictionary; the entire original deserialized discovery document.</tt> </tt>
+<a name="L378"></a><tt class="py-lineno">378</tt> <tt class="py-line"><tt class="py-docstring"> http_method: String; the HTTP method used to call the API method described</tt> </tt>
+<a name="L379"></a><tt class="py-lineno">379</tt> <tt class="py-line"><tt class="py-docstring"> in method_desc.</tt> </tt>
+<a name="L380"></a><tt class="py-lineno">380</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L381"></a><tt class="py-lineno">381</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L382"></a><tt class="py-lineno">382</tt> <tt class="py-line"><tt class="py-docstring"> The updated Dictionary stored in the 'parameters' key of the method</tt> </tt>
+<a name="L383"></a><tt class="py-lineno">383</tt> <tt class="py-line"><tt class="py-docstring"> description dictionary.</tt> </tt>
+<a name="L384"></a><tt class="py-lineno">384</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L385"></a><tt class="py-lineno">385</tt> <tt class="py-line"> <tt class="py-name">parameters</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">.</tt><tt class="py-name">setdefault</tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
+<a name="L386"></a><tt class="py-lineno">386</tt> <tt class="py-line"> </tt>
+<a name="L387"></a><tt class="py-lineno">387</tt> <tt class="py-line"> <tt class="py-comment"># Add in the parameters common to all methods.</tt> </tt>
+<a name="L388"></a><tt class="py-lineno">388</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">description</tt> <tt class="py-keyword">in</tt> <tt class="py-name">root_desc</tt><tt class="py-op">.</tt><tt id="link-90" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-90', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L389"></a><tt class="py-lineno">389</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">description</tt> </tt>
+<a name="L390"></a><tt class="py-lineno">390</tt> <tt class="py-line"> </tt>
+<a name="L391"></a><tt class="py-lineno">391</tt> <tt class="py-line"> <tt class="py-comment"># Add in undocumented query parameters.</tt> </tt>
+<a name="L392"></a><tt class="py-lineno">392</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt id="link-91" class="py-name"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETERS" class="py-name" href="#" onclick="return doclink('link-91', 'STACK_QUERY_PARAMETERS', 'link-49');">STACK_QUERY_PARAMETERS</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L393"></a><tt class="py-lineno">393</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-92" class="py-name"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-92', 'STACK_QUERY_PARAMETER_DEFAULT_VALUE', 'link-50');">STACK_QUERY_PARAMETER_DEFAULT_VALUE</a></tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L394"></a><tt class="py-lineno">394</tt> <tt class="py-line"> </tt>
+<a name="L395"></a><tt class="py-lineno">395</tt> <tt class="py-line"> <tt class="py-comment"># Add 'body' (our own reserved word) to parameters if the method supports</tt> </tt>
+<a name="L396"></a><tt class="py-lineno">396</tt> <tt class="py-line"> <tt class="py-comment"># a request payload.</tt> </tt>
+<a name="L397"></a><tt class="py-lineno">397</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">http_method</tt> <tt class="py-keyword">in</tt> <tt id="link-93" class="py-name"><a title="googleapiclient.discovery.HTTP_PAYLOAD_METHODS" class="py-name" href="#" onclick="return doclink('link-93', 'HTTP_PAYLOAD_METHODS', 'link-45');">HTTP_PAYLOAD_METHODS</a></tt> <tt class="py-keyword">and</tt> <tt class="py-string">'request'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">method_desc</tt><tt class="py-op">:</tt> </tt>
+<a name="L398"></a><tt class="py-lineno">398</tt> <tt class="py-line"> <tt id="link-94" class="py-name" targets="Method googleapiclient.channel.Channel.body()=googleapiclient.channel.Channel-class.html#body"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-94', 'body', 'link-94');">body</a></tt> <tt class="py-op">=</tt> <tt id="link-95" class="py-name"><a title="googleapiclient.discovery.BODY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-95', 'BODY_PARAMETER_DEFAULT_VALUE', 'link-47');">BODY_PARAMETER_DEFAULT_VALUE</a></tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L399"></a><tt class="py-lineno">399</tt> <tt class="py-line"> <tt id="link-96" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-96', 'body', 'link-94');">body</a></tt><tt class="py-op">.</tt><tt id="link-97" class="py-name" targets="Method googleapiclient.channel.Channel.update()=googleapiclient.channel.Channel-class.html#update"><a title="googleapiclient.channel.Channel.update" class="py-name" href="#" onclick="return doclink('link-97', 'update', 'link-97');">update</a></tt><tt class="py-op">(</tt><tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'request'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L400"></a><tt class="py-lineno">400</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-string">'body'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-98" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-98', 'body', 'link-94');">body</a></tt> </tt>
+<a name="L401"></a><tt class="py-lineno">401</tt> <tt class="py-line"> </tt>
+<a name="L402"></a><tt class="py-lineno">402</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">parameters</tt> </tt>
+</div><a name="L403"></a><tt class="py-lineno">403</tt> <tt class="py-line"> </tt>
+<a name="_fix_up_media_upload"></a><div id="_fix_up_media_upload-def"><a name="L404"></a><tt class="py-lineno">404</tt> <tt class="py-line"> </tt>
+<a name="L405"></a><tt class="py-lineno">405</tt> <a class="py-toggle" href="#" id="_fix_up_media_upload-toggle" onclick="return toggle('_fix_up_media_upload');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_fix_up_media_upload">_fix_up_media_upload</a><tt class="py-op">(</tt><tt class="py-param">method_desc</tt><tt class="py-op">,</tt> <tt class="py-param">root_desc</tt><tt class="py-op">,</tt> <tt class="py-param">path_url</tt><tt class="py-op">,</tt> <tt class="py-param">parameters</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_fix_up_media_upload-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_fix_up_media_upload-expanded"><a name="L406"></a><tt class="py-lineno">406</tt> <tt class="py-line"> <tt class="py-docstring">"""Updates parameters of API by adding 'media_body' if supported by method.</tt> </tt>
+<a name="L407"></a><tt class="py-lineno">407</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L408"></a><tt class="py-lineno">408</tt> <tt class="py-line"><tt class="py-docstring"> SIDE EFFECTS: If the method supports media upload and has a required body,</tt> </tt>
+<a name="L409"></a><tt class="py-lineno">409</tt> <tt class="py-line"><tt class="py-docstring"> sets body to be optional (required=False) instead. Also, if there is a</tt> </tt>
+<a name="L410"></a><tt class="py-lineno">410</tt> <tt class="py-line"><tt class="py-docstring"> 'mediaUpload' in the method description, adds 'media_upload' key to</tt> </tt>
+<a name="L411"></a><tt class="py-lineno">411</tt> <tt class="py-line"><tt class="py-docstring"> parameters.</tt> </tt>
+<a name="L412"></a><tt class="py-lineno">412</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L413"></a><tt class="py-lineno">413</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L414"></a><tt class="py-lineno">414</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value comes</tt> </tt>
+<a name="L415"></a><tt class="py-lineno">415</tt> <tt class="py-line"><tt class="py-docstring"> from the dictionary of methods stored in the 'methods' key in the</tt> </tt>
+<a name="L416"></a><tt class="py-lineno">416</tt> <tt class="py-line"><tt class="py-docstring"> deserialized discovery document.</tt> </tt>
+<a name="L417"></a><tt class="py-lineno">417</tt> <tt class="py-line"><tt class="py-docstring"> root_desc: Dictionary; the entire original deserialized discovery document.</tt> </tt>
+<a name="L418"></a><tt class="py-lineno">418</tt> <tt class="py-line"><tt class="py-docstring"> path_url: String; the relative URL for the API method. Relative to the API</tt> </tt>
+<a name="L419"></a><tt class="py-lineno">419</tt> <tt class="py-line"><tt class="py-docstring"> root, which is specified in the discovery document.</tt> </tt>
+<a name="L420"></a><tt class="py-lineno">420</tt> <tt class="py-line"><tt class="py-docstring"> parameters: A dictionary describing method parameters for method described</tt> </tt>
+<a name="L421"></a><tt class="py-lineno">421</tt> <tt class="py-line"><tt class="py-docstring"> in method_desc.</tt> </tt>
+<a name="L422"></a><tt class="py-lineno">422</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L423"></a><tt class="py-lineno">423</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L424"></a><tt class="py-lineno">424</tt> <tt class="py-line"><tt class="py-docstring"> Triple (accept, max_size, media_path_url) where:</tt> </tt>
+<a name="L425"></a><tt class="py-lineno">425</tt> <tt class="py-line"><tt class="py-docstring"> - accept is a list of strings representing what content types are</tt> </tt>
+<a name="L426"></a><tt class="py-lineno">426</tt> <tt class="py-line"><tt class="py-docstring"> accepted for media upload. Defaults to empty list if not in the</tt> </tt>
+<a name="L427"></a><tt class="py-lineno">427</tt> <tt class="py-line"><tt class="py-docstring"> discovery document.</tt> </tt>
+<a name="L428"></a><tt class="py-lineno">428</tt> <tt class="py-line"><tt class="py-docstring"> - max_size is a long representing the max size in bytes allowed for a</tt> </tt>
+<a name="L429"></a><tt class="py-lineno">429</tt> <tt class="py-line"><tt class="py-docstring"> media upload. Defaults to 0L if not in the discovery document.</tt> </tt>
+<a name="L430"></a><tt class="py-lineno">430</tt> <tt class="py-line"><tt class="py-docstring"> - media_path_url is a String; the absolute URI for media upload for the</tt> </tt>
+<a name="L431"></a><tt class="py-lineno">431</tt> <tt class="py-line"><tt class="py-docstring"> API method. Constructed using the API root URI and service path from</tt> </tt>
+<a name="L432"></a><tt class="py-lineno">432</tt> <tt class="py-line"><tt class="py-docstring"> the discovery document and the relative path for the API method. If</tt> </tt>
+<a name="L433"></a><tt class="py-lineno">433</tt> <tt class="py-line"><tt class="py-docstring"> media upload is not supported, this is None.</tt> </tt>
+<a name="L434"></a><tt class="py-lineno">434</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L435"></a><tt class="py-lineno">435</tt> <tt class="py-line"> <tt class="py-name">media_upload</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-99', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'mediaUpload'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
+<a name="L436"></a><tt class="py-lineno">436</tt> <tt class="py-line"> <tt id="link-100" class="py-name" targets="Variable googleapiclient.model.BaseModel.accept=googleapiclient.model.BaseModel-class.html#accept,Variable googleapiclient.model.JsonModel.accept=googleapiclient.model.JsonModel-class.html#accept,Variable googleapiclient.model.MediaModel.accept=googleapiclient.model.MediaModel-class.html#accept,Variable googleapiclient.model.ProtocolBufferModel.accept=googleapiclient.model.ProtocolBufferModel-class.html#accept,Variable googleapiclient.model.RawModel.accept=googleapiclient.model.RawModel-class.html#accept"><a title="googleapiclient.model.BaseModel.accept
googleapiclient.model.JsonModel.accept
googleapiclient.model.MediaModel.accept
googleapiclient.model.ProtocolBufferModel.accept
-googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-95', 'accept', 'link-95');">accept</a></tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-96" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-96', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'accept'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L406"></a><tt class="py-lineno">406</tt> <tt class="py-line"> <tt class="py-name">max_size</tt> <tt class="py-op">=</tt> <tt id="link-97" class="py-name" targets="Function googleapiclient.discovery._media_size_to_long()=googleapiclient.discovery-module.html#_media_size_to_long"><a title="googleapiclient.discovery._media_size_to_long" class="py-name" href="#" onclick="return doclink('link-97', '_media_size_to_long', 'link-97');">_media_size_to_long</a></tt><tt class="py-op">(</tt><tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-98" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-98', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'maxSize'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L407"></a><tt class="py-lineno">407</tt> <tt class="py-line"> <tt class="py-name">media_path_url</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L408"></a><tt class="py-lineno">408</tt> <tt class="py-line"> </tt>
-<a name="L409"></a><tt class="py-lineno">409</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_upload</tt><tt class="py-op">:</tt> </tt>
-<a name="L410"></a><tt class="py-lineno">410</tt> <tt class="py-line"> <tt class="py-name">media_path_url</tt> <tt class="py-op">=</tt> <tt id="link-99" class="py-name" targets="Function googleapiclient.discovery._media_path_url_from_info()=googleapiclient.discovery-module.html#_media_path_url_from_info"><a title="googleapiclient.discovery._media_path_url_from_info" class="py-name" href="#" onclick="return doclink('link-99', '_media_path_url_from_info', 'link-99');">_media_path_url_from_info</a></tt><tt class="py-op">(</tt><tt class="py-name">root_desc</tt><tt class="py-op">,</tt> <tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt>
-<a name="L411"></a><tt class="py-lineno">411</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-string">'media_body'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-100" class="py-name"><a title="googleapiclient.discovery.MEDIA_BODY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-100', 'MEDIA_BODY_PARAMETER_DEFAULT_VALUE', 'link-48');">MEDIA_BODY_PARAMETER_DEFAULT_VALUE</a></tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L412"></a><tt class="py-lineno">412</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'body'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">:</tt> </tt>
-<a name="L413"></a><tt class="py-lineno">413</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-string">'body'</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-string">'required'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
-<a name="L414"></a><tt class="py-lineno">414</tt> <tt class="py-line"> </tt>
-<a name="L415"></a><tt class="py-lineno">415</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-101" class="py-name"><a title="googleapiclient.model.BaseModel.accept
+googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-100', 'accept', 'link-100');">accept</a></tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-101" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-101', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'accept'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L437"></a><tt class="py-lineno">437</tt> <tt class="py-line"> <tt class="py-name">max_size</tt> <tt class="py-op">=</tt> <tt id="link-102" class="py-name" targets="Function googleapiclient.discovery._media_size_to_long()=googleapiclient.discovery-module.html#_media_size_to_long"><a title="googleapiclient.discovery._media_size_to_long" class="py-name" href="#" onclick="return doclink('link-102', '_media_size_to_long', 'link-102');">_media_size_to_long</a></tt><tt class="py-op">(</tt><tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-103', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'maxSize'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L438"></a><tt class="py-lineno">438</tt> <tt class="py-line"> <tt class="py-name">media_path_url</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L439"></a><tt class="py-lineno">439</tt> <tt class="py-line"> </tt>
+<a name="L440"></a><tt class="py-lineno">440</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_upload</tt><tt class="py-op">:</tt> </tt>
+<a name="L441"></a><tt class="py-lineno">441</tt> <tt class="py-line"> <tt class="py-name">media_path_url</tt> <tt class="py-op">=</tt> <tt id="link-104" class="py-name" targets="Function googleapiclient.discovery._media_path_url_from_info()=googleapiclient.discovery-module.html#_media_path_url_from_info"><a title="googleapiclient.discovery._media_path_url_from_info" class="py-name" href="#" onclick="return doclink('link-104', '_media_path_url_from_info', 'link-104');">_media_path_url_from_info</a></tt><tt class="py-op">(</tt><tt class="py-name">root_desc</tt><tt class="py-op">,</tt> <tt class="py-name">path_url</tt><tt class="py-op">)</tt> </tt>
+<a name="L442"></a><tt class="py-lineno">442</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-string">'media_body'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-105" class="py-name"><a title="googleapiclient.discovery.MEDIA_BODY_PARAMETER_DEFAULT_VALUE" class="py-name" href="#" onclick="return doclink('link-105', 'MEDIA_BODY_PARAMETER_DEFAULT_VALUE', 'link-48');">MEDIA_BODY_PARAMETER_DEFAULT_VALUE</a></tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L443"></a><tt class="py-lineno">443</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'body'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">:</tt> </tt>
+<a name="L444"></a><tt class="py-lineno">444</tt> <tt class="py-line"> <tt class="py-name">parameters</tt><tt class="py-op">[</tt><tt class="py-string">'body'</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-string">'required'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
+<a name="L445"></a><tt class="py-lineno">445</tt> <tt class="py-line"> </tt>
+<a name="L446"></a><tt class="py-lineno">446</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-106" class="py-name"><a title="googleapiclient.model.BaseModel.accept
googleapiclient.model.JsonModel.accept
googleapiclient.model.MediaModel.accept
googleapiclient.model.ProtocolBufferModel.accept
-googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-101', 'accept', 'link-95');">accept</a></tt><tt class="py-op">,</tt> <tt class="py-name">max_size</tt><tt class="py-op">,</tt> <tt class="py-name">media_path_url</tt> </tt>
-</div><a name="L416"></a><tt class="py-lineno">416</tt> <tt class="py-line"> </tt>
-<a name="_fix_up_method_description"></a><div id="_fix_up_method_description-def"><a name="L417"></a><tt class="py-lineno">417</tt> <tt class="py-line"> </tt>
-<a name="L418"></a><tt class="py-lineno">418</tt> <a class="py-toggle" href="#" id="_fix_up_method_description-toggle" onclick="return toggle('_fix_up_method_description');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_fix_up_method_description">_fix_up_method_description</a><tt class="py-op">(</tt><tt class="py-param">method_desc</tt><tt class="py-op">,</tt> <tt class="py-param">root_desc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="_fix_up_method_description-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_fix_up_method_description-expanded"><a name="L419"></a><tt class="py-lineno">419</tt> <tt class="py-line"> <tt class="py-docstring">"""Updates a method description in a discovery document.</tt> </tt>
-<a name="L420"></a><tt class="py-lineno">420</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L421"></a><tt class="py-lineno">421</tt> <tt class="py-line"><tt class="py-docstring"> SIDE EFFECTS: Changes the parameters dictionary in the method description with</tt> </tt>
-<a name="L422"></a><tt class="py-lineno">422</tt> <tt class="py-line"><tt class="py-docstring"> extra parameters which are used locally.</tt> </tt>
-<a name="L423"></a><tt class="py-lineno">423</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L424"></a><tt class="py-lineno">424</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L425"></a><tt class="py-lineno">425</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value comes</tt> </tt>
-<a name="L426"></a><tt class="py-lineno">426</tt> <tt class="py-line"><tt class="py-docstring"> from the dictionary of methods stored in the 'methods' key in the</tt> </tt>
-<a name="L427"></a><tt class="py-lineno">427</tt> <tt class="py-line"><tt class="py-docstring"> deserialized discovery document.</tt> </tt>
-<a name="L428"></a><tt class="py-lineno">428</tt> <tt class="py-line"><tt class="py-docstring"> root_desc: Dictionary; the entire original deserialized discovery document.</tt> </tt>
-<a name="L429"></a><tt class="py-lineno">429</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L430"></a><tt class="py-lineno">430</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L431"></a><tt class="py-lineno">431</tt> <tt class="py-line"><tt class="py-docstring"> Tuple (path_url, http_method, method_id, accept, max_size, media_path_url)</tt> </tt>
-<a name="L432"></a><tt class="py-lineno">432</tt> <tt class="py-line"><tt class="py-docstring"> where:</tt> </tt>
-<a name="L433"></a><tt class="py-lineno">433</tt> <tt class="py-line"><tt class="py-docstring"> - path_url is a String; the relative URL for the API method. Relative to</tt> </tt>
-<a name="L434"></a><tt class="py-lineno">434</tt> <tt class="py-line"><tt class="py-docstring"> the API root, which is specified in the discovery document.</tt> </tt>
-<a name="L435"></a><tt class="py-lineno">435</tt> <tt class="py-line"><tt class="py-docstring"> - http_method is a String; the HTTP method used to call the API method</tt> </tt>
-<a name="L436"></a><tt class="py-lineno">436</tt> <tt class="py-line"><tt class="py-docstring"> described in the method description.</tt> </tt>
-<a name="L437"></a><tt class="py-lineno">437</tt> <tt class="py-line"><tt class="py-docstring"> - method_id is a String; the name of the RPC method associated with the</tt> </tt>
-<a name="L438"></a><tt class="py-lineno">438</tt> <tt class="py-line"><tt class="py-docstring"> API method, and is in the method description in the 'id' key.</tt> </tt>
-<a name="L439"></a><tt class="py-lineno">439</tt> <tt class="py-line"><tt class="py-docstring"> - accept is a list of strings representing what content types are</tt> </tt>
-<a name="L440"></a><tt class="py-lineno">440</tt> <tt class="py-line"><tt class="py-docstring"> accepted for media upload. Defaults to empty list if not in the</tt> </tt>
-<a name="L441"></a><tt class="py-lineno">441</tt> <tt class="py-line"><tt class="py-docstring"> discovery document.</tt> </tt>
-<a name="L442"></a><tt class="py-lineno">442</tt> <tt class="py-line"><tt class="py-docstring"> - max_size is a long representing the max size in bytes allowed for a</tt> </tt>
-<a name="L443"></a><tt class="py-lineno">443</tt> <tt class="py-line"><tt class="py-docstring"> media upload. Defaults to 0L if not in the discovery document.</tt> </tt>
-<a name="L444"></a><tt class="py-lineno">444</tt> <tt class="py-line"><tt class="py-docstring"> - media_path_url is a String; the absolute URI for media upload for the</tt> </tt>
-<a name="L445"></a><tt class="py-lineno">445</tt> <tt class="py-line"><tt class="py-docstring"> API method. Constructed using the API root URI and service path from</tt> </tt>
-<a name="L446"></a><tt class="py-lineno">446</tt> <tt class="py-line"><tt class="py-docstring"> the discovery document and the relative path for the API method. If</tt> </tt>
-<a name="L447"></a><tt class="py-lineno">447</tt> <tt class="py-line"><tt class="py-docstring"> media upload is not supported, this is None.</tt> </tt>
-<a name="L448"></a><tt class="py-lineno">448</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L449"></a><tt class="py-lineno">449</tt> <tt class="py-line"> <tt class="py-name">path_url</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'path'</tt><tt class="py-op">]</tt> </tt>
-<a name="L450"></a><tt class="py-lineno">450</tt> <tt class="py-line"> <tt class="py-name">http_method</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'httpMethod'</tt><tt class="py-op">]</tt> </tt>
-<a name="L451"></a><tt class="py-lineno">451</tt> <tt class="py-line"> <tt class="py-name">method_id</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'id'</tt><tt class="py-op">]</tt> </tt>
-<a name="L452"></a><tt class="py-lineno">452</tt> <tt class="py-line"> </tt>
-<a name="L453"></a><tt class="py-lineno">453</tt> <tt class="py-line"> <tt class="py-name">parameters</tt> <tt class="py-op">=</tt> <tt id="link-102" class="py-name" targets="Function googleapiclient.discovery._fix_up_parameters()=googleapiclient.discovery-module.html#_fix_up_parameters"><a title="googleapiclient.discovery._fix_up_parameters" class="py-name" href="#" onclick="return doclink('link-102', '_fix_up_parameters', 'link-102');">_fix_up_parameters</a></tt><tt class="py-op">(</tt><tt class="py-name">method_desc</tt><tt class="py-op">,</tt> <tt class="py-name">root_desc</tt><tt class="py-op">,</tt> <tt class="py-name">http_method</tt><tt class="py-op">)</tt> </tt>
-<a name="L454"></a><tt class="py-lineno">454</tt> <tt class="py-line"> <tt class="py-comment"># Order is important. `_fix_up_media_upload` needs `method_desc` to have a</tt> </tt>
-<a name="L455"></a><tt class="py-lineno">455</tt> <tt class="py-line"> <tt class="py-comment"># 'parameters' key and needs to know if there is a 'body' parameter because it</tt> </tt>
-<a name="L456"></a><tt class="py-lineno">456</tt> <tt class="py-line"> <tt class="py-comment"># also sets a 'media_body' parameter.</tt> </tt>
-<a name="L457"></a><tt class="py-lineno">457</tt> <tt class="py-line"> <tt id="link-103" class="py-name"><a title="googleapiclient.model.BaseModel.accept
+googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-106', 'accept', 'link-100');">accept</a></tt><tt class="py-op">,</tt> <tt class="py-name">max_size</tt><tt class="py-op">,</tt> <tt class="py-name">media_path_url</tt> </tt>
+</div><a name="L447"></a><tt class="py-lineno">447</tt> <tt class="py-line"> </tt>
+<a name="_fix_up_method_description"></a><div id="_fix_up_method_description-def"><a name="L448"></a><tt class="py-lineno">448</tt> <tt class="py-line"> </tt>
+<a name="L449"></a><tt class="py-lineno">449</tt> <a class="py-toggle" href="#" id="_fix_up_method_description-toggle" onclick="return toggle('_fix_up_method_description');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#_fix_up_method_description">_fix_up_method_description</a><tt class="py-op">(</tt><tt class="py-param">method_desc</tt><tt class="py-op">,</tt> <tt class="py-param">root_desc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_fix_up_method_description-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_fix_up_method_description-expanded"><a name="L450"></a><tt class="py-lineno">450</tt> <tt class="py-line"> <tt class="py-docstring">"""Updates a method description in a discovery document.</tt> </tt>
+<a name="L451"></a><tt class="py-lineno">451</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L452"></a><tt class="py-lineno">452</tt> <tt class="py-line"><tt class="py-docstring"> SIDE EFFECTS: Changes the parameters dictionary in the method description with</tt> </tt>
+<a name="L453"></a><tt class="py-lineno">453</tt> <tt class="py-line"><tt class="py-docstring"> extra parameters which are used locally.</tt> </tt>
+<a name="L454"></a><tt class="py-lineno">454</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L455"></a><tt class="py-lineno">455</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L456"></a><tt class="py-lineno">456</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value comes</tt> </tt>
+<a name="L457"></a><tt class="py-lineno">457</tt> <tt class="py-line"><tt class="py-docstring"> from the dictionary of methods stored in the 'methods' key in the</tt> </tt>
+<a name="L458"></a><tt class="py-lineno">458</tt> <tt class="py-line"><tt class="py-docstring"> deserialized discovery document.</tt> </tt>
+<a name="L459"></a><tt class="py-lineno">459</tt> <tt class="py-line"><tt class="py-docstring"> root_desc: Dictionary; the entire original deserialized discovery document.</tt> </tt>
+<a name="L460"></a><tt class="py-lineno">460</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L461"></a><tt class="py-lineno">461</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L462"></a><tt class="py-lineno">462</tt> <tt class="py-line"><tt class="py-docstring"> Tuple (path_url, http_method, method_id, accept, max_size, media_path_url)</tt> </tt>
+<a name="L463"></a><tt class="py-lineno">463</tt> <tt class="py-line"><tt class="py-docstring"> where:</tt> </tt>
+<a name="L464"></a><tt class="py-lineno">464</tt> <tt class="py-line"><tt class="py-docstring"> - path_url is a String; the relative URL for the API method. Relative to</tt> </tt>
+<a name="L465"></a><tt class="py-lineno">465</tt> <tt class="py-line"><tt class="py-docstring"> the API root, which is specified in the discovery document.</tt> </tt>
+<a name="L466"></a><tt class="py-lineno">466</tt> <tt class="py-line"><tt class="py-docstring"> - http_method is a String; the HTTP method used to call the API method</tt> </tt>
+<a name="L467"></a><tt class="py-lineno">467</tt> <tt class="py-line"><tt class="py-docstring"> described in the method description.</tt> </tt>
+<a name="L468"></a><tt class="py-lineno">468</tt> <tt class="py-line"><tt class="py-docstring"> - method_id is a String; the name of the RPC method associated with the</tt> </tt>
+<a name="L469"></a><tt class="py-lineno">469</tt> <tt class="py-line"><tt class="py-docstring"> API method, and is in the method description in the 'id' key.</tt> </tt>
+<a name="L470"></a><tt class="py-lineno">470</tt> <tt class="py-line"><tt class="py-docstring"> - accept is a list of strings representing what content types are</tt> </tt>
+<a name="L471"></a><tt class="py-lineno">471</tt> <tt class="py-line"><tt class="py-docstring"> accepted for media upload. Defaults to empty list if not in the</tt> </tt>
+<a name="L472"></a><tt class="py-lineno">472</tt> <tt class="py-line"><tt class="py-docstring"> discovery document.</tt> </tt>
+<a name="L473"></a><tt class="py-lineno">473</tt> <tt class="py-line"><tt class="py-docstring"> - max_size is a long representing the max size in bytes allowed for a</tt> </tt>
+<a name="L474"></a><tt class="py-lineno">474</tt> <tt class="py-line"><tt class="py-docstring"> media upload. Defaults to 0L if not in the discovery document.</tt> </tt>
+<a name="L475"></a><tt class="py-lineno">475</tt> <tt class="py-line"><tt class="py-docstring"> - media_path_url is a String; the absolute URI for media upload for the</tt> </tt>
+<a name="L476"></a><tt class="py-lineno">476</tt> <tt class="py-line"><tt class="py-docstring"> API method. Constructed using the API root URI and service path from</tt> </tt>
+<a name="L477"></a><tt class="py-lineno">477</tt> <tt class="py-line"><tt class="py-docstring"> the discovery document and the relative path for the API method. If</tt> </tt>
+<a name="L478"></a><tt class="py-lineno">478</tt> <tt class="py-line"><tt class="py-docstring"> media upload is not supported, this is None.</tt> </tt>
+<a name="L479"></a><tt class="py-lineno">479</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L480"></a><tt class="py-lineno">480</tt> <tt class="py-line"> <tt class="py-name">path_url</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'path'</tt><tt class="py-op">]</tt> </tt>
+<a name="L481"></a><tt class="py-lineno">481</tt> <tt class="py-line"> <tt class="py-name">http_method</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'httpMethod'</tt><tt class="py-op">]</tt> </tt>
+<a name="L482"></a><tt class="py-lineno">482</tt> <tt class="py-line"> <tt class="py-name">method_id</tt> <tt class="py-op">=</tt> <tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'id'</tt><tt class="py-op">]</tt> </tt>
+<a name="L483"></a><tt class="py-lineno">483</tt> <tt class="py-line"> </tt>
+<a name="L484"></a><tt class="py-lineno">484</tt> <tt class="py-line"> <tt class="py-name">parameters</tt> <tt class="py-op">=</tt> <tt id="link-107" class="py-name" targets="Function googleapiclient.discovery._fix_up_parameters()=googleapiclient.discovery-module.html#_fix_up_parameters"><a title="googleapiclient.discovery._fix_up_parameters" class="py-name" href="#" onclick="return doclink('link-107', '_fix_up_parameters', 'link-107');">_fix_up_parameters</a></tt><tt class="py-op">(</tt><tt class="py-name">method_desc</tt><tt class="py-op">,</tt> <tt class="py-name">root_desc</tt><tt class="py-op">,</tt> <tt class="py-name">http_method</tt><tt class="py-op">)</tt> </tt>
+<a name="L485"></a><tt class="py-lineno">485</tt> <tt class="py-line"> <tt class="py-comment"># Order is important. `_fix_up_media_upload` needs `method_desc` to have a</tt> </tt>
+<a name="L486"></a><tt class="py-lineno">486</tt> <tt class="py-line"> <tt class="py-comment"># 'parameters' key and needs to know if there is a 'body' parameter because it</tt> </tt>
+<a name="L487"></a><tt class="py-lineno">487</tt> <tt class="py-line"> <tt class="py-comment"># also sets a 'media_body' parameter.</tt> </tt>
+<a name="L488"></a><tt class="py-lineno">488</tt> <tt class="py-line"> <tt id="link-108" class="py-name"><a title="googleapiclient.model.BaseModel.accept
googleapiclient.model.JsonModel.accept
googleapiclient.model.MediaModel.accept
googleapiclient.model.ProtocolBufferModel.accept
-googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-103', 'accept', 'link-95');">accept</a></tt><tt class="py-op">,</tt> <tt class="py-name">max_size</tt><tt class="py-op">,</tt> <tt class="py-name">media_path_url</tt> <tt class="py-op">=</tt> <tt id="link-104" class="py-name" targets="Function googleapiclient.discovery._fix_up_media_upload()=googleapiclient.discovery-module.html#_fix_up_media_upload"><a title="googleapiclient.discovery._fix_up_media_upload" class="py-name" href="#" onclick="return doclink('link-104', '_fix_up_media_upload', 'link-104');">_fix_up_media_upload</a></tt><tt class="py-op">(</tt> </tt>
-<a name="L458"></a><tt class="py-lineno">458</tt> <tt class="py-line"> <tt class="py-name">method_desc</tt><tt class="py-op">,</tt> <tt class="py-name">root_desc</tt><tt class="py-op">,</tt> <tt class="py-name">path_url</tt><tt class="py-op">,</tt> <tt class="py-name">parameters</tt><tt class="py-op">)</tt> </tt>
-<a name="L459"></a><tt class="py-lineno">459</tt> <tt class="py-line"> </tt>
-<a name="L460"></a><tt class="py-lineno">460</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">path_url</tt><tt class="py-op">,</tt> <tt class="py-name">http_method</tt><tt class="py-op">,</tt> <tt class="py-name">method_id</tt><tt class="py-op">,</tt> <tt id="link-105" class="py-name"><a title="googleapiclient.model.BaseModel.accept
+googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-108', 'accept', 'link-100');">accept</a></tt><tt class="py-op">,</tt> <tt class="py-name">max_size</tt><tt class="py-op">,</tt> <tt class="py-name">media_path_url</tt> <tt class="py-op">=</tt> <tt id="link-109" class="py-name" targets="Function googleapiclient.discovery._fix_up_media_upload()=googleapiclient.discovery-module.html#_fix_up_media_upload"><a title="googleapiclient.discovery._fix_up_media_upload" class="py-name" href="#" onclick="return doclink('link-109', '_fix_up_media_upload', 'link-109');">_fix_up_media_upload</a></tt><tt class="py-op">(</tt> </tt>
+<a name="L489"></a><tt class="py-lineno">489</tt> <tt class="py-line"> <tt class="py-name">method_desc</tt><tt class="py-op">,</tt> <tt class="py-name">root_desc</tt><tt class="py-op">,</tt> <tt class="py-name">path_url</tt><tt class="py-op">,</tt> <tt class="py-name">parameters</tt><tt class="py-op">)</tt> </tt>
+<a name="L490"></a><tt class="py-lineno">490</tt> <tt class="py-line"> </tt>
+<a name="L491"></a><tt class="py-lineno">491</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">path_url</tt><tt class="py-op">,</tt> <tt class="py-name">http_method</tt><tt class="py-op">,</tt> <tt class="py-name">method_id</tt><tt class="py-op">,</tt> <tt id="link-110" class="py-name"><a title="googleapiclient.model.BaseModel.accept
googleapiclient.model.JsonModel.accept
googleapiclient.model.MediaModel.accept
googleapiclient.model.ProtocolBufferModel.accept
-googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-105', 'accept', 'link-95');">accept</a></tt><tt class="py-op">,</tt> <tt class="py-name">max_size</tt><tt class="py-op">,</tt> <tt class="py-name">media_path_url</tt> </tt>
-</div><a name="L461"></a><tt class="py-lineno">461</tt> <tt class="py-line"> </tt>
-<a name="ResourceMethodParameters"></a><div id="ResourceMethodParameters-def"><a name="L462"></a><tt class="py-lineno">462</tt> <tt class="py-line"> </tt>
-<a name="L463"></a><tt class="py-lineno">463</tt> <tt class="py-line"><tt class="py-comment"># TODO(dhermes): Convert this class to ResourceMethod and make it callable</tt> </tt>
-<a name="L464"></a><tt class="py-lineno">464</tt> <a class="py-toggle" href="#" id="ResourceMethodParameters-toggle" onclick="return toggle('ResourceMethodParameters');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.discovery.ResourceMethodParameters-class.html">ResourceMethodParameters</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="ResourceMethodParameters-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ResourceMethodParameters-expanded"><a name="L465"></a><tt class="py-lineno">465</tt> <tt class="py-line"> <tt class="py-docstring">"""Represents the parameters associated with a method.</tt> </tt>
-<a name="L466"></a><tt class="py-lineno">466</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L467"></a><tt class="py-lineno">467</tt> <tt class="py-line"><tt class="py-docstring"> Attributes:</tt> </tt>
-<a name="L468"></a><tt class="py-lineno">468</tt> <tt class="py-line"><tt class="py-docstring"> argmap: Map from method parameter name (string) to query parameter name</tt> </tt>
-<a name="L469"></a><tt class="py-lineno">469</tt> <tt class="py-line"><tt class="py-docstring"> (string).</tt> </tt>
-<a name="L470"></a><tt class="py-lineno">470</tt> <tt class="py-line"><tt class="py-docstring"> required_params: List of required parameters (represented by parameter</tt> </tt>
-<a name="L471"></a><tt class="py-lineno">471</tt> <tt class="py-line"><tt class="py-docstring"> name as string).</tt> </tt>
-<a name="L472"></a><tt class="py-lineno">472</tt> <tt class="py-line"><tt class="py-docstring"> repeated_params: List of repeated parameters (represented by parameter</tt> </tt>
-<a name="L473"></a><tt class="py-lineno">473</tt> <tt class="py-line"><tt class="py-docstring"> name as string).</tt> </tt>
-<a name="L474"></a><tt class="py-lineno">474</tt> <tt class="py-line"><tt class="py-docstring"> pattern_params: Map from method parameter name (string) to regular</tt> </tt>
-<a name="L475"></a><tt class="py-lineno">475</tt> <tt class="py-line"><tt class="py-docstring"> expression (as a string). If the pattern is set for a parameter, the</tt> </tt>
-<a name="L476"></a><tt class="py-lineno">476</tt> <tt class="py-line"><tt class="py-docstring"> value for that parameter must match the regular expression.</tt> </tt>
-<a name="L477"></a><tt class="py-lineno">477</tt> <tt class="py-line"><tt class="py-docstring"> query_params: List of parameters (represented by parameter name as string)</tt> </tt>
-<a name="L478"></a><tt class="py-lineno">478</tt> <tt class="py-line"><tt class="py-docstring"> that will be used in the query string.</tt> </tt>
-<a name="L479"></a><tt class="py-lineno">479</tt> <tt class="py-line"><tt class="py-docstring"> path_params: Set of parameters (represented by parameter name as string)</tt> </tt>
-<a name="L480"></a><tt class="py-lineno">480</tt> <tt class="py-line"><tt class="py-docstring"> that will be used in the base URL path.</tt> </tt>
-<a name="L481"></a><tt class="py-lineno">481</tt> <tt class="py-line"><tt class="py-docstring"> param_types: Map from method parameter name (string) to parameter type. Type</tt> </tt>
-<a name="L482"></a><tt class="py-lineno">482</tt> <tt class="py-line"><tt class="py-docstring"> can be any valid JSON schema type; valid values are 'any', 'array',</tt> </tt>
-<a name="L483"></a><tt class="py-lineno">483</tt> <tt class="py-line"><tt class="py-docstring"> 'boolean', 'integer', 'number', 'object', or 'string'. Reference:</tt> </tt>
-<a name="L484"></a><tt class="py-lineno">484</tt> <tt class="py-line"><tt class="py-docstring"> http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1</tt> </tt>
-<a name="L485"></a><tt class="py-lineno">485</tt> <tt class="py-line"><tt class="py-docstring"> enum_params: Map from method parameter name (string) to list of strings,</tt> </tt>
-<a name="L486"></a><tt class="py-lineno">486</tt> <tt class="py-line"><tt class="py-docstring"> where each list of strings is the list of acceptable enum values.</tt> </tt>
-<a name="L487"></a><tt class="py-lineno">487</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L488"></a><tt class="py-lineno">488</tt> <tt class="py-line"> </tt>
-<a name="ResourceMethodParameters.__init__"></a><div id="ResourceMethodParameters.__init__-def"><a name="L489"></a><tt class="py-lineno">489</tt> <a class="py-toggle" href="#" id="ResourceMethodParameters.__init__-toggle" onclick="return toggle('ResourceMethodParameters.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.ResourceMethodParameters-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">method_desc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="ResourceMethodParameters.__init__-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="ResourceMethodParameters.__init__-expanded"><a name="L490"></a><tt class="py-lineno">490</tt> <tt class="py-line"> <tt class="py-docstring">"""Constructor for ResourceMethodParameters.</tt> </tt>
-<a name="L491"></a><tt class="py-lineno">491</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L492"></a><tt class="py-lineno">492</tt> <tt class="py-line"><tt class="py-docstring"> Sets default values and defers to set_parameters to populate.</tt> </tt>
-<a name="L493"></a><tt class="py-lineno">493</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L494"></a><tt class="py-lineno">494</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L495"></a><tt class="py-lineno">495</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value</tt> </tt>
-<a name="L496"></a><tt class="py-lineno">496</tt> <tt class="py-line"><tt class="py-docstring"> comes from the dictionary of methods stored in the 'methods' key in</tt> </tt>
-<a name="L497"></a><tt class="py-lineno">497</tt> <tt class="py-line"><tt class="py-docstring"> the deserialized discovery document.</tt> </tt>
-<a name="L498"></a><tt class="py-lineno">498</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L499"></a><tt class="py-lineno">499</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L500"></a><tt class="py-lineno">500</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">required_params</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
-<a name="L501"></a><tt class="py-lineno">501</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
-<a name="L502"></a><tt class="py-lineno">502</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pattern_params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L503"></a><tt class="py-lineno">503</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
-<a name="L504"></a><tt class="py-lineno">504</tt> <tt class="py-line"> <tt class="py-comment"># TODO(dhermes): Change path_params to a list if the extra URITEMPLATE</tt> </tt>
-<a name="L505"></a><tt class="py-lineno">505</tt> <tt class="py-line"> <tt class="py-comment"># parsing is gotten rid of.</tt> </tt>
-<a name="L506"></a><tt class="py-lineno">506</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_params</tt> <tt class="py-op">=</tt> <tt class="py-name">set</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L507"></a><tt class="py-lineno">507</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">param_types</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L508"></a><tt class="py-lineno">508</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">enum_params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L509"></a><tt class="py-lineno">509</tt> <tt class="py-line"> </tt>
-<a name="L510"></a><tt class="py-lineno">510</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-106" class="py-name" targets="Method googleapiclient.discovery.ResourceMethodParameters.set_parameters()=googleapiclient.discovery.ResourceMethodParameters-class.html#set_parameters"><a title="googleapiclient.discovery.ResourceMethodParameters.set_parameters" class="py-name" href="#" onclick="return doclink('link-106', 'set_parameters', 'link-106');">set_parameters</a></tt><tt class="py-op">(</tt><tt class="py-name">method_desc</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L511"></a><tt class="py-lineno">511</tt> <tt class="py-line"> </tt>
-<a name="ResourceMethodParameters.set_parameters"></a><div id="ResourceMethodParameters.set_parameters-def"><a name="L512"></a><tt class="py-lineno">512</tt> <a class="py-toggle" href="#" id="ResourceMethodParameters.set_parameters-toggle" onclick="return toggle('ResourceMethodParameters.set_parameters');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.ResourceMethodParameters-class.html#set_parameters">set_parameters</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">method_desc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="ResourceMethodParameters.set_parameters-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="ResourceMethodParameters.set_parameters-expanded"><a name="L513"></a><tt class="py-lineno">513</tt> <tt class="py-line"> <tt class="py-docstring">"""Populates maps and lists based on method description.</tt> </tt>
-<a name="L514"></a><tt class="py-lineno">514</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L515"></a><tt class="py-lineno">515</tt> <tt class="py-line"><tt class="py-docstring"> Iterates through each parameter for the method and parses the values from</tt> </tt>
-<a name="L516"></a><tt class="py-lineno">516</tt> <tt class="py-line"><tt class="py-docstring"> the parameter dictionary.</tt> </tt>
-<a name="L517"></a><tt class="py-lineno">517</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L518"></a><tt class="py-lineno">518</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L519"></a><tt class="py-lineno">519</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value</tt> </tt>
-<a name="L520"></a><tt class="py-lineno">520</tt> <tt class="py-line"><tt class="py-docstring"> comes from the dictionary of methods stored in the 'methods' key in</tt> </tt>
-<a name="L521"></a><tt class="py-lineno">521</tt> <tt class="py-line"><tt class="py-docstring"> the deserialized discovery document.</tt> </tt>
-<a name="L522"></a><tt class="py-lineno">522</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L523"></a><tt class="py-lineno">523</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">arg</tt><tt class="py-op">,</tt> <tt class="py-name">desc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">method_desc</tt><tt class="py-op">.</tt><tt id="link-107" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-107', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L524"></a><tt class="py-lineno">524</tt> <tt class="py-line"> <tt class="py-name">param</tt> <tt class="py-op">=</tt> <tt id="link-108" class="py-name" targets="Function googleapiclient.discovery.key2param()=googleapiclient.discovery-module.html#key2param"><a title="googleapiclient.discovery.key2param" class="py-name" href="#" onclick="return doclink('link-108', 'key2param', 'link-108');">key2param</a></tt><tt class="py-op">(</tt><tt class="py-name">arg</tt><tt class="py-op">)</tt> </tt>
-<a name="L525"></a><tt class="py-lineno">525</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">[</tt><tt class="py-name">param</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">arg</tt> </tt>
-<a name="L526"></a><tt class="py-lineno">526</tt> <tt class="py-line"> </tt>
-<a name="L527"></a><tt class="py-lineno">527</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-109" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-109', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'pattern'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L528"></a><tt class="py-lineno">528</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pattern_params</tt><tt class="py-op">[</tt><tt class="py-name">param</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">desc</tt><tt class="py-op">[</tt><tt class="py-string">'pattern'</tt><tt class="py-op">]</tt> </tt>
-<a name="L529"></a><tt class="py-lineno">529</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-110" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-110', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'enum'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L530"></a><tt class="py-lineno">530</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">enum_params</tt><tt class="py-op">[</tt><tt class="py-name">param</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">desc</tt><tt class="py-op">[</tt><tt class="py-string">'enum'</tt><tt class="py-op">]</tt> </tt>
-<a name="L531"></a><tt class="py-lineno">531</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-111" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-111', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'required'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L532"></a><tt class="py-lineno">532</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">required_params</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">)</tt> </tt>
-<a name="L533"></a><tt class="py-lineno">533</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-112" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-112', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'repeated'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L534"></a><tt class="py-lineno">534</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">)</tt> </tt>
-<a name="L535"></a><tt class="py-lineno">535</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-113" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-113', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'location'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">'query'</tt><tt class="py-op">:</tt> </tt>
-<a name="L536"></a><tt class="py-lineno">536</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">)</tt> </tt>
-<a name="L537"></a><tt class="py-lineno">537</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-114', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'location'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">'path'</tt><tt class="py-op">:</tt> </tt>
-<a name="L538"></a><tt class="py-lineno">538</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_params</tt><tt class="py-op">.</tt><tt id="link-115" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest.add()=googleapiclient.http.BatchHttpRequest-class.html#add"><a title="googleapiclient.http.BatchHttpRequest.add" class="py-name" href="#" onclick="return doclink('link-115', 'add', 'link-115');">add</a></tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">)</tt> </tt>
-<a name="L539"></a><tt class="py-lineno">539</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">param_types</tt><tt class="py-op">[</tt><tt class="py-name">param</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-116" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-116', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'type'</tt><tt class="py-op">,</tt> <tt class="py-string">'string'</tt><tt class="py-op">)</tt> </tt>
+googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-110', 'accept', 'link-100');">accept</a></tt><tt class="py-op">,</tt> <tt class="py-name">max_size</tt><tt class="py-op">,</tt> <tt class="py-name">media_path_url</tt> </tt>
+</div><a name="L492"></a><tt class="py-lineno">492</tt> <tt class="py-line"> </tt>
+<a name="ResourceMethodParameters"></a><div id="ResourceMethodParameters-def"><a name="L493"></a><tt class="py-lineno">493</tt> <tt class="py-line"> </tt>
+<a name="L494"></a><tt class="py-lineno">494</tt> <tt class="py-line"><tt class="py-comment"># TODO(dhermes): Convert this class to ResourceMethod and make it callable</tt> </tt>
+<a name="L495"></a><tt class="py-lineno">495</tt> <a class="py-toggle" href="#" id="ResourceMethodParameters-toggle" onclick="return toggle('ResourceMethodParameters');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.discovery.ResourceMethodParameters-class.html">ResourceMethodParameters</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ResourceMethodParameters-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ResourceMethodParameters-expanded"><a name="L496"></a><tt class="py-lineno">496</tt> <tt class="py-line"> <tt class="py-docstring">"""Represents the parameters associated with a method.</tt> </tt>
+<a name="L497"></a><tt class="py-lineno">497</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L498"></a><tt class="py-lineno">498</tt> <tt class="py-line"><tt class="py-docstring"> Attributes:</tt> </tt>
+<a name="L499"></a><tt class="py-lineno">499</tt> <tt class="py-line"><tt class="py-docstring"> argmap: Map from method parameter name (string) to query parameter name</tt> </tt>
+<a name="L500"></a><tt class="py-lineno">500</tt> <tt class="py-line"><tt class="py-docstring"> (string).</tt> </tt>
+<a name="L501"></a><tt class="py-lineno">501</tt> <tt class="py-line"><tt class="py-docstring"> required_params: List of required parameters (represented by parameter</tt> </tt>
+<a name="L502"></a><tt class="py-lineno">502</tt> <tt class="py-line"><tt class="py-docstring"> name as string).</tt> </tt>
+<a name="L503"></a><tt class="py-lineno">503</tt> <tt class="py-line"><tt class="py-docstring"> repeated_params: List of repeated parameters (represented by parameter</tt> </tt>
+<a name="L504"></a><tt class="py-lineno">504</tt> <tt class="py-line"><tt class="py-docstring"> name as string).</tt> </tt>
+<a name="L505"></a><tt class="py-lineno">505</tt> <tt class="py-line"><tt class="py-docstring"> pattern_params: Map from method parameter name (string) to regular</tt> </tt>
+<a name="L506"></a><tt class="py-lineno">506</tt> <tt class="py-line"><tt class="py-docstring"> expression (as a string). If the pattern is set for a parameter, the</tt> </tt>
+<a name="L507"></a><tt class="py-lineno">507</tt> <tt class="py-line"><tt class="py-docstring"> value for that parameter must match the regular expression.</tt> </tt>
+<a name="L508"></a><tt class="py-lineno">508</tt> <tt class="py-line"><tt class="py-docstring"> query_params: List of parameters (represented by parameter name as string)</tt> </tt>
+<a name="L509"></a><tt class="py-lineno">509</tt> <tt class="py-line"><tt class="py-docstring"> that will be used in the query string.</tt> </tt>
+<a name="L510"></a><tt class="py-lineno">510</tt> <tt class="py-line"><tt class="py-docstring"> path_params: Set of parameters (represented by parameter name as string)</tt> </tt>
+<a name="L511"></a><tt class="py-lineno">511</tt> <tt class="py-line"><tt class="py-docstring"> that will be used in the base URL path.</tt> </tt>
+<a name="L512"></a><tt class="py-lineno">512</tt> <tt class="py-line"><tt class="py-docstring"> param_types: Map from method parameter name (string) to parameter type. Type</tt> </tt>
+<a name="L513"></a><tt class="py-lineno">513</tt> <tt class="py-line"><tt class="py-docstring"> can be any valid JSON schema type; valid values are 'any', 'array',</tt> </tt>
+<a name="L514"></a><tt class="py-lineno">514</tt> <tt class="py-line"><tt class="py-docstring"> 'boolean', 'integer', 'number', 'object', or 'string'. Reference:</tt> </tt>
+<a name="L515"></a><tt class="py-lineno">515</tt> <tt class="py-line"><tt class="py-docstring"> http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1</tt> </tt>
+<a name="L516"></a><tt class="py-lineno">516</tt> <tt class="py-line"><tt class="py-docstring"> enum_params: Map from method parameter name (string) to list of strings,</tt> </tt>
+<a name="L517"></a><tt class="py-lineno">517</tt> <tt class="py-line"><tt class="py-docstring"> where each list of strings is the list of acceptable enum values.</tt> </tt>
+<a name="L518"></a><tt class="py-lineno">518</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L519"></a><tt class="py-lineno">519</tt> <tt class="py-line"> </tt>
+<a name="ResourceMethodParameters.__init__"></a><div id="ResourceMethodParameters.__init__-def"><a name="L520"></a><tt class="py-lineno">520</tt> <a class="py-toggle" href="#" id="ResourceMethodParameters.__init__-toggle" onclick="return toggle('ResourceMethodParameters.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.ResourceMethodParameters-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">method_desc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ResourceMethodParameters.__init__-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="ResourceMethodParameters.__init__-expanded"><a name="L521"></a><tt class="py-lineno">521</tt> <tt class="py-line"> <tt class="py-docstring">"""Constructor for ResourceMethodParameters.</tt> </tt>
+<a name="L522"></a><tt class="py-lineno">522</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L523"></a><tt class="py-lineno">523</tt> <tt class="py-line"><tt class="py-docstring"> Sets default values and defers to set_parameters to populate.</tt> </tt>
+<a name="L524"></a><tt class="py-lineno">524</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L525"></a><tt class="py-lineno">525</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L526"></a><tt class="py-lineno">526</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value</tt> </tt>
+<a name="L527"></a><tt class="py-lineno">527</tt> <tt class="py-line"><tt class="py-docstring"> comes from the dictionary of methods stored in the 'methods' key in</tt> </tt>
+<a name="L528"></a><tt class="py-lineno">528</tt> <tt class="py-line"><tt class="py-docstring"> the deserialized discovery document.</tt> </tt>
+<a name="L529"></a><tt class="py-lineno">529</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L530"></a><tt class="py-lineno">530</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L531"></a><tt class="py-lineno">531</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">required_params</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L532"></a><tt class="py-lineno">532</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L533"></a><tt class="py-lineno">533</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pattern_params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L534"></a><tt class="py-lineno">534</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L535"></a><tt class="py-lineno">535</tt> <tt class="py-line"> <tt class="py-comment"># TODO(dhermes): Change path_params to a list if the extra URITEMPLATE</tt> </tt>
+<a name="L536"></a><tt class="py-lineno">536</tt> <tt class="py-line"> <tt class="py-comment"># parsing is gotten rid of.</tt> </tt>
+<a name="L537"></a><tt class="py-lineno">537</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_params</tt> <tt class="py-op">=</tt> <tt class="py-name">set</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L538"></a><tt class="py-lineno">538</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">param_types</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L539"></a><tt class="py-lineno">539</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">enum_params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
<a name="L540"></a><tt class="py-lineno">540</tt> <tt class="py-line"> </tt>
-<a name="L541"></a><tt class="py-lineno">541</tt> <tt class="py-line"> <tt class="py-comment"># TODO(dhermes): Determine if this is still necessary. Discovery based APIs</tt> </tt>
-<a name="L542"></a><tt class="py-lineno">542</tt> <tt class="py-line"> <tt class="py-comment"># should have all path parameters already marked with</tt> </tt>
-<a name="L543"></a><tt class="py-lineno">543</tt> <tt class="py-line"> <tt class="py-comment"># 'location: path'.</tt> </tt>
-<a name="L544"></a><tt class="py-lineno">544</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">match</tt> <tt class="py-keyword">in</tt> <tt id="link-117" class="py-name"><a title="googleapiclient.discovery.URITEMPLATE" class="py-name" href="#" onclick="return doclink('link-117', 'URITEMPLATE', 'link-41');">URITEMPLATE</a></tt><tt class="py-op">.</tt><tt class="py-name">finditer</tt><tt class="py-op">(</tt><tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'path'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L545"></a><tt class="py-lineno">545</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">namematch</tt> <tt class="py-keyword">in</tt> <tt id="link-118" class="py-name"><a title="googleapiclient.discovery.VARNAME" class="py-name" href="#" onclick="return doclink('link-118', 'VARNAME', 'link-42');">VARNAME</a></tt><tt class="py-op">.</tt><tt class="py-name">finditer</tt><tt class="py-op">(</tt><tt class="py-name">match</tt><tt class="py-op">.</tt><tt class="py-name">group</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L546"></a><tt class="py-lineno">546</tt> <tt class="py-line"> <tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt id="link-119" class="py-name"><a title="googleapiclient.discovery.key2param" class="py-name" href="#" onclick="return doclink('link-119', 'key2param', 'link-108');">key2param</a></tt><tt class="py-op">(</tt><tt class="py-name">namematch</tt><tt class="py-op">.</tt><tt class="py-name">group</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L547"></a><tt class="py-lineno">547</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_params</tt><tt class="py-op">.</tt><tt id="link-120" class="py-name"><a title="googleapiclient.http.BatchHttpRequest.add" class="py-name" href="#" onclick="return doclink('link-120', 'add', 'link-115');">add</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
-<a name="L548"></a><tt class="py-lineno">548</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt><tt class="py-op">:</tt> </tt>
-<a name="L549"></a><tt class="py-lineno">549</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt><tt class="py-op">.</tt><tt class="py-name">remove</tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L550"></a><tt class="py-lineno">550</tt> <tt class="py-line"> </tt>
-<a name="createMethod"></a><div id="createMethod-def"><a name="L551"></a><tt class="py-lineno">551</tt> <tt class="py-line"> </tt>
-<a name="L552"></a><tt class="py-lineno">552</tt> <a class="py-toggle" href="#" id="createMethod-toggle" onclick="return toggle('createMethod');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#createMethod">createMethod</a><tt class="py-op">(</tt><tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-param">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-param">rootDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="createMethod-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="createMethod-expanded"><a name="L553"></a><tt class="py-lineno">553</tt> <tt class="py-line"> <tt class="py-docstring">"""Creates a method for attaching to a Resource.</tt> </tt>
-<a name="L554"></a><tt class="py-lineno">554</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L555"></a><tt class="py-lineno">555</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L556"></a><tt class="py-lineno">556</tt> <tt class="py-line"><tt class="py-docstring"> methodName: string, name of the method to use.</tt> </tt>
-<a name="L557"></a><tt class="py-lineno">557</tt> <tt class="py-line"><tt class="py-docstring"> methodDesc: object, fragment of deserialized discovery document that</tt> </tt>
-<a name="L558"></a><tt class="py-lineno">558</tt> <tt class="py-line"><tt class="py-docstring"> describes the method.</tt> </tt>
-<a name="L559"></a><tt class="py-lineno">559</tt> <tt class="py-line"><tt class="py-docstring"> rootDesc: object, the entire deserialized discovery document.</tt> </tt>
-<a name="L560"></a><tt class="py-lineno">560</tt> <tt class="py-line"><tt class="py-docstring"> schema: object, mapping of schema names to schema descriptions.</tt> </tt>
-<a name="L561"></a><tt class="py-lineno">561</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L562"></a><tt class="py-lineno">562</tt> <tt class="py-line"> <tt class="py-name">methodName</tt> <tt class="py-op">=</tt> <tt id="link-121" class="py-name" targets="Function googleapiclient.discovery.fix_method_name()=googleapiclient.discovery-module.html#fix_method_name"><a title="googleapiclient.discovery.fix_method_name" class="py-name" href="#" onclick="return doclink('link-121', 'fix_method_name', 'link-121');">fix_method_name</a></tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">)</tt> </tt>
-<a name="L563"></a><tt class="py-lineno">563</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">pathUrl</tt><tt class="py-op">,</tt> <tt class="py-name">httpMethod</tt><tt class="py-op">,</tt> <tt class="py-name">methodId</tt><tt class="py-op">,</tt> <tt id="link-122" class="py-name"><a title="googleapiclient.model.BaseModel.accept
+<a name="L541"></a><tt class="py-lineno">541</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-111" class="py-name" targets="Method googleapiclient.discovery.ResourceMethodParameters.set_parameters()=googleapiclient.discovery.ResourceMethodParameters-class.html#set_parameters"><a title="googleapiclient.discovery.ResourceMethodParameters.set_parameters" class="py-name" href="#" onclick="return doclink('link-111', 'set_parameters', 'link-111');">set_parameters</a></tt><tt class="py-op">(</tt><tt class="py-name">method_desc</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L542"></a><tt class="py-lineno">542</tt> <tt class="py-line"> </tt>
+<a name="ResourceMethodParameters.set_parameters"></a><div id="ResourceMethodParameters.set_parameters-def"><a name="L543"></a><tt class="py-lineno">543</tt> <a class="py-toggle" href="#" id="ResourceMethodParameters.set_parameters-toggle" onclick="return toggle('ResourceMethodParameters.set_parameters');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.ResourceMethodParameters-class.html#set_parameters">set_parameters</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">method_desc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ResourceMethodParameters.set_parameters-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="ResourceMethodParameters.set_parameters-expanded"><a name="L544"></a><tt class="py-lineno">544</tt> <tt class="py-line"> <tt class="py-docstring">"""Populates maps and lists based on method description.</tt> </tt>
+<a name="L545"></a><tt class="py-lineno">545</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L546"></a><tt class="py-lineno">546</tt> <tt class="py-line"><tt class="py-docstring"> Iterates through each parameter for the method and parses the values from</tt> </tt>
+<a name="L547"></a><tt class="py-lineno">547</tt> <tt class="py-line"><tt class="py-docstring"> the parameter dictionary.</tt> </tt>
+<a name="L548"></a><tt class="py-lineno">548</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L549"></a><tt class="py-lineno">549</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L550"></a><tt class="py-lineno">550</tt> <tt class="py-line"><tt class="py-docstring"> method_desc: Dictionary with metadata describing an API method. Value</tt> </tt>
+<a name="L551"></a><tt class="py-lineno">551</tt> <tt class="py-line"><tt class="py-docstring"> comes from the dictionary of methods stored in the 'methods' key in</tt> </tt>
+<a name="L552"></a><tt class="py-lineno">552</tt> <tt class="py-line"><tt class="py-docstring"> the deserialized discovery document.</tt> </tt>
+<a name="L553"></a><tt class="py-lineno">553</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L554"></a><tt class="py-lineno">554</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">arg</tt><tt class="py-op">,</tt> <tt class="py-name">desc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">method_desc</tt><tt class="py-op">.</tt><tt id="link-112" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-112', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L555"></a><tt class="py-lineno">555</tt> <tt class="py-line"> <tt class="py-name">param</tt> <tt class="py-op">=</tt> <tt id="link-113" class="py-name" targets="Function googleapiclient.discovery.key2param()=googleapiclient.discovery-module.html#key2param"><a title="googleapiclient.discovery.key2param" class="py-name" href="#" onclick="return doclink('link-113', 'key2param', 'link-113');">key2param</a></tt><tt class="py-op">(</tt><tt class="py-name">arg</tt><tt class="py-op">)</tt> </tt>
+<a name="L556"></a><tt class="py-lineno">556</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">[</tt><tt class="py-name">param</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">arg</tt> </tt>
+<a name="L557"></a><tt class="py-lineno">557</tt> <tt class="py-line"> </tt>
+<a name="L558"></a><tt class="py-lineno">558</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-114', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'pattern'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L559"></a><tt class="py-lineno">559</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pattern_params</tt><tt class="py-op">[</tt><tt class="py-name">param</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">desc</tt><tt class="py-op">[</tt><tt class="py-string">'pattern'</tt><tt class="py-op">]</tt> </tt>
+<a name="L560"></a><tt class="py-lineno">560</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-115" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-115', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'enum'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L561"></a><tt class="py-lineno">561</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">enum_params</tt><tt class="py-op">[</tt><tt class="py-name">param</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">desc</tt><tt class="py-op">[</tt><tt class="py-string">'enum'</tt><tt class="py-op">]</tt> </tt>
+<a name="L562"></a><tt class="py-lineno">562</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-116" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-116', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'required'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L563"></a><tt class="py-lineno">563</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">required_params</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">)</tt> </tt>
+<a name="L564"></a><tt class="py-lineno">564</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-117" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-117', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'repeated'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L565"></a><tt class="py-lineno">565</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">)</tt> </tt>
+<a name="L566"></a><tt class="py-lineno">566</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-118" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-118', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'location'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">'query'</tt><tt class="py-op">:</tt> </tt>
+<a name="L567"></a><tt class="py-lineno">567</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">)</tt> </tt>
+<a name="L568"></a><tt class="py-lineno">568</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-119" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-119', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'location'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">'path'</tt><tt class="py-op">:</tt> </tt>
+<a name="L569"></a><tt class="py-lineno">569</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_params</tt><tt class="py-op">.</tt><tt id="link-120" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest.add()=googleapiclient.http.BatchHttpRequest-class.html#add"><a title="googleapiclient.http.BatchHttpRequest.add" class="py-name" href="#" onclick="return doclink('link-120', 'add', 'link-120');">add</a></tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">)</tt> </tt>
+<a name="L570"></a><tt class="py-lineno">570</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">param_types</tt><tt class="py-op">[</tt><tt class="py-name">param</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">desc</tt><tt class="py-op">.</tt><tt id="link-121" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-121', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'type'</tt><tt class="py-op">,</tt> <tt class="py-string">'string'</tt><tt class="py-op">)</tt> </tt>
+<a name="L571"></a><tt class="py-lineno">571</tt> <tt class="py-line"> </tt>
+<a name="L572"></a><tt class="py-lineno">572</tt> <tt class="py-line"> <tt class="py-comment"># TODO(dhermes): Determine if this is still necessary. Discovery based APIs</tt> </tt>
+<a name="L573"></a><tt class="py-lineno">573</tt> <tt class="py-line"> <tt class="py-comment"># should have all path parameters already marked with</tt> </tt>
+<a name="L574"></a><tt class="py-lineno">574</tt> <tt class="py-line"> <tt class="py-comment"># 'location: path'.</tt> </tt>
+<a name="L575"></a><tt class="py-lineno">575</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">match</tt> <tt class="py-keyword">in</tt> <tt id="link-122" class="py-name"><a title="googleapiclient.discovery.URITEMPLATE" class="py-name" href="#" onclick="return doclink('link-122', 'URITEMPLATE', 'link-41');">URITEMPLATE</a></tt><tt class="py-op">.</tt><tt class="py-name">finditer</tt><tt class="py-op">(</tt><tt class="py-name">method_desc</tt><tt class="py-op">[</tt><tt class="py-string">'path'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L576"></a><tt class="py-lineno">576</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">namematch</tt> <tt class="py-keyword">in</tt> <tt id="link-123" class="py-name"><a title="googleapiclient.discovery.VARNAME" class="py-name" href="#" onclick="return doclink('link-123', 'VARNAME', 'link-42');">VARNAME</a></tt><tt class="py-op">.</tt><tt class="py-name">finditer</tt><tt class="py-op">(</tt><tt class="py-name">match</tt><tt class="py-op">.</tt><tt class="py-name">group</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L577"></a><tt class="py-lineno">577</tt> <tt class="py-line"> <tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt id="link-124" class="py-name"><a title="googleapiclient.discovery.key2param" class="py-name" href="#" onclick="return doclink('link-124', 'key2param', 'link-113');">key2param</a></tt><tt class="py-op">(</tt><tt class="py-name">namematch</tt><tt class="py-op">.</tt><tt class="py-name">group</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L578"></a><tt class="py-lineno">578</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path_params</tt><tt class="py-op">.</tt><tt id="link-125" class="py-name"><a title="googleapiclient.http.BatchHttpRequest.add" class="py-name" href="#" onclick="return doclink('link-125', 'add', 'link-120');">add</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
+<a name="L579"></a><tt class="py-lineno">579</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt><tt class="py-op">:</tt> </tt>
+<a name="L580"></a><tt class="py-lineno">580</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt><tt class="py-op">.</tt><tt class="py-name">remove</tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L581"></a><tt class="py-lineno">581</tt> <tt class="py-line"> </tt>
+<a name="createMethod"></a><div id="createMethod-def"><a name="L582"></a><tt class="py-lineno">582</tt> <tt class="py-line"> </tt>
+<a name="L583"></a><tt class="py-lineno">583</tt> <a class="py-toggle" href="#" id="createMethod-toggle" onclick="return toggle('createMethod');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#createMethod">createMethod</a><tt class="py-op">(</tt><tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-param">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-param">rootDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="createMethod-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="createMethod-expanded"><a name="L584"></a><tt class="py-lineno">584</tt> <tt class="py-line"> <tt class="py-docstring">"""Creates a method for attaching to a Resource.</tt> </tt>
+<a name="L585"></a><tt class="py-lineno">585</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L586"></a><tt class="py-lineno">586</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L587"></a><tt class="py-lineno">587</tt> <tt class="py-line"><tt class="py-docstring"> methodName: string, name of the method to use.</tt> </tt>
+<a name="L588"></a><tt class="py-lineno">588</tt> <tt class="py-line"><tt class="py-docstring"> methodDesc: object, fragment of deserialized discovery document that</tt> </tt>
+<a name="L589"></a><tt class="py-lineno">589</tt> <tt class="py-line"><tt class="py-docstring"> describes the method.</tt> </tt>
+<a name="L590"></a><tt class="py-lineno">590</tt> <tt class="py-line"><tt class="py-docstring"> rootDesc: object, the entire deserialized discovery document.</tt> </tt>
+<a name="L591"></a><tt class="py-lineno">591</tt> <tt class="py-line"><tt class="py-docstring"> schema: object, mapping of schema names to schema descriptions.</tt> </tt>
+<a name="L592"></a><tt class="py-lineno">592</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L593"></a><tt class="py-lineno">593</tt> <tt class="py-line"> <tt class="py-name">methodName</tt> <tt class="py-op">=</tt> <tt id="link-126" class="py-name" targets="Function googleapiclient.discovery.fix_method_name()=googleapiclient.discovery-module.html#fix_method_name"><a title="googleapiclient.discovery.fix_method_name" class="py-name" href="#" onclick="return doclink('link-126', 'fix_method_name', 'link-126');">fix_method_name</a></tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">)</tt> </tt>
+<a name="L594"></a><tt class="py-lineno">594</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">pathUrl</tt><tt class="py-op">,</tt> <tt class="py-name">httpMethod</tt><tt class="py-op">,</tt> <tt class="py-name">methodId</tt><tt class="py-op">,</tt> <tt id="link-127" class="py-name"><a title="googleapiclient.model.BaseModel.accept
googleapiclient.model.JsonModel.accept
googleapiclient.model.MediaModel.accept
googleapiclient.model.ProtocolBufferModel.accept
-googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-122', 'accept', 'link-95');">accept</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L564"></a><tt class="py-lineno">564</tt> <tt class="py-line"> <tt class="py-name">maxSize</tt><tt class="py-op">,</tt> <tt class="py-name">mediaPathUrl</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt id="link-123" class="py-name" targets="Function googleapiclient.discovery._fix_up_method_description()=googleapiclient.discovery-module.html#_fix_up_method_description"><a title="googleapiclient.discovery._fix_up_method_description" class="py-name" href="#" onclick="return doclink('link-123', '_fix_up_method_description', 'link-123');">_fix_up_method_description</a></tt><tt class="py-op">(</tt><tt class="py-name">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">)</tt> </tt>
-<a name="L565"></a><tt class="py-lineno">565</tt> <tt class="py-line"> </tt>
-<a name="L566"></a><tt class="py-lineno">566</tt> <tt class="py-line"> <tt class="py-name">parameters</tt> <tt class="py-op">=</tt> <tt id="link-124" class="py-name" targets="Class googleapiclient.discovery.ResourceMethodParameters=googleapiclient.discovery.ResourceMethodParameters-class.html"><a title="googleapiclient.discovery.ResourceMethodParameters" class="py-name" href="#" onclick="return doclink('link-124', 'ResourceMethodParameters', 'link-124');">ResourceMethodParameters</a></tt><tt class="py-op">(</tt><tt class="py-name">methodDesc</tt><tt class="py-op">)</tt> </tt>
-<a name="L567"></a><tt class="py-lineno">567</tt> <tt class="py-line"> </tt>
-<a name="L568"></a><tt class="py-lineno">568</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">method</tt><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L569"></a><tt class="py-lineno">569</tt> <tt class="py-line"> <tt class="py-comment"># Don't bother with doc string, it will be over-written by createMethod.</tt> </tt>
-<a name="L570"></a><tt class="py-lineno">570</tt> <tt class="py-line"> </tt>
-<a name="L571"></a><tt class="py-lineno">571</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">iterkeys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L572"></a><tt class="py-lineno">572</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">:</tt> </tt>
-<a name="L573"></a><tt class="py-lineno">573</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt><tt class="py-string">'Got an unexpected keyword argument "%s"'</tt> <tt class="py-op">%</tt> <tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
-<a name="L574"></a><tt class="py-lineno">574</tt> <tt class="py-line"> </tt>
-<a name="L575"></a><tt class="py-lineno">575</tt> <tt class="py-line"> <tt class="py-comment"># Remove args that have a value of None.</tt> </tt>
-<a name="L576"></a><tt class="py-lineno">576</tt> <tt class="py-line"> <tt class="py-name">keys</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L577"></a><tt class="py-lineno">577</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">keys</tt><tt class="py-op">:</tt> </tt>
-<a name="L578"></a><tt class="py-lineno">578</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L579"></a><tt class="py-lineno">579</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> </tt>
-<a name="L580"></a><tt class="py-lineno">580</tt> <tt class="py-line"> </tt>
-<a name="L581"></a><tt class="py-lineno">581</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">required_params</tt><tt class="py-op">:</tt> </tt>
-<a name="L582"></a><tt class="py-lineno">582</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">:</tt> </tt>
-<a name="L583"></a><tt class="py-lineno">583</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt><tt class="py-string">'Missing required parameter "%s"'</tt> <tt class="py-op">%</tt> <tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
-<a name="L584"></a><tt class="py-lineno">584</tt> <tt class="py-line"> </tt>
-<a name="L585"></a><tt class="py-lineno">585</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">regex</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">pattern_params</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L586"></a><tt class="py-lineno">586</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">:</tt> </tt>
-<a name="L587"></a><tt class="py-lineno">587</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L588"></a><tt class="py-lineno">588</tt> <tt class="py-line"> <tt class="py-name">pvalues</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> </tt>
-<a name="L589"></a><tt class="py-lineno">589</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L590"></a><tt class="py-lineno">590</tt> <tt class="py-line"> <tt class="py-name">pvalues</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> </tt>
-<a name="L591"></a><tt class="py-lineno">591</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">pvalue</tt> <tt class="py-keyword">in</tt> <tt class="py-name">pvalues</tt><tt class="py-op">:</tt> </tt>
-<a name="L592"></a><tt class="py-lineno">592</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">match</tt><tt class="py-op">(</tt><tt class="py-name">regex</tt><tt class="py-op">,</tt> <tt class="py-name">pvalue</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L593"></a><tt class="py-lineno">593</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt> </tt>
-<a name="L594"></a><tt class="py-lineno">594</tt> <tt class="py-line"> <tt class="py-string">'Parameter "%s" value "%s" does not match the pattern "%s"'</tt> <tt class="py-op">%</tt> </tt>
-<a name="L595"></a><tt class="py-lineno">595</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">pvalue</tt><tt class="py-op">,</tt> <tt class="py-name">regex</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-127', 'accept', 'link-100');">accept</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L595"></a><tt class="py-lineno">595</tt> <tt class="py-line"> <tt class="py-name">maxSize</tt><tt class="py-op">,</tt> <tt class="py-name">mediaPathUrl</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt id="link-128" class="py-name" targets="Function googleapiclient.discovery._fix_up_method_description()=googleapiclient.discovery-module.html#_fix_up_method_description"><a title="googleapiclient.discovery._fix_up_method_description" class="py-name" href="#" onclick="return doclink('link-128', '_fix_up_method_description', 'link-128');">_fix_up_method_description</a></tt><tt class="py-op">(</tt><tt class="py-name">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">)</tt> </tt>
<a name="L596"></a><tt class="py-lineno">596</tt> <tt class="py-line"> </tt>
-<a name="L597"></a><tt class="py-lineno">597</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">enums</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">enum_params</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L598"></a><tt class="py-lineno">598</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">:</tt> </tt>
-<a name="L599"></a><tt class="py-lineno">599</tt> <tt class="py-line"> <tt class="py-comment"># We need to handle the case of a repeated enum</tt> </tt>
-<a name="L600"></a><tt class="py-lineno">600</tt> <tt class="py-line"> <tt class="py-comment"># name differently, since we want to handle both</tt> </tt>
-<a name="L601"></a><tt class="py-lineno">601</tt> <tt class="py-line"> <tt class="py-comment"># arg='value' and arg=['value1', 'value2']</tt> </tt>
-<a name="L602"></a><tt class="py-lineno">602</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt> <tt class="py-keyword">and</tt> </tt>
-<a name="L603"></a><tt class="py-lineno">603</tt> <tt class="py-line"> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L604"></a><tt class="py-lineno">604</tt> <tt class="py-line"> <tt class="py-name">values</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> </tt>
-<a name="L605"></a><tt class="py-lineno">605</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L606"></a><tt class="py-lineno">606</tt> <tt class="py-line"> <tt class="py-name">values</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> </tt>
-<a name="L607"></a><tt class="py-lineno">607</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">value</tt> <tt class="py-keyword">in</tt> <tt class="py-name">values</tt><tt class="py-op">:</tt> </tt>
-<a name="L608"></a><tt class="py-lineno">608</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">enums</tt><tt class="py-op">:</tt> </tt>
-<a name="L609"></a><tt class="py-lineno">609</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt> </tt>
-<a name="L610"></a><tt class="py-lineno">610</tt> <tt class="py-line"> <tt class="py-string">'Parameter "%s" value "%s" is not an allowed value in "%s"'</tt> <tt class="py-op">%</tt> </tt>
-<a name="L611"></a><tt class="py-lineno">611</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">enums</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L612"></a><tt class="py-lineno">612</tt> <tt class="py-line"> </tt>
-<a name="L613"></a><tt class="py-lineno">613</tt> <tt class="py-line"> <tt class="py-name">actual_query_params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L614"></a><tt class="py-lineno">614</tt> <tt class="py-line"> <tt class="py-name">actual_path_params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L615"></a><tt class="py-lineno">615</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L616"></a><tt class="py-lineno">616</tt> <tt class="py-line"> <tt class="py-name">to_type</tt> <tt class="py-op">=</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">param_types</tt><tt class="py-op">.</tt><tt id="link-125" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-125', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-string">'string'</tt><tt class="py-op">)</tt> </tt>
-<a name="L617"></a><tt class="py-lineno">617</tt> <tt class="py-line"> <tt class="py-comment"># For repeated parameters we cast each member of the list.</tt> </tt>
-<a name="L618"></a><tt class="py-lineno">618</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt> <tt class="py-keyword">and</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L619"></a><tt class="py-lineno">619</tt> <tt class="py-line"> <tt class="py-name">cast_value</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-126" class="py-name" targets="Function googleapiclient.discovery._cast()=googleapiclient.discovery-module.html#_cast"><a title="googleapiclient.discovery._cast" class="py-name" href="#" onclick="return doclink('link-126', '_cast', 'link-126');">_cast</a></tt><tt class="py-op">(</tt><tt class="py-name">x</tt><tt class="py-op">,</tt> <tt class="py-name">to_type</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">x</tt> <tt class="py-keyword">in</tt> <tt class="py-name">value</tt><tt class="py-op">]</tt> </tt>
-<a name="L620"></a><tt class="py-lineno">620</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L621"></a><tt class="py-lineno">621</tt> <tt class="py-line"> <tt class="py-name">cast_value</tt> <tt class="py-op">=</tt> <tt id="link-127" class="py-name"><a title="googleapiclient.discovery._cast" class="py-name" href="#" onclick="return doclink('link-127', '_cast', 'link-126');">_cast</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt class="py-name">to_type</tt><tt class="py-op">)</tt> </tt>
-<a name="L622"></a><tt class="py-lineno">622</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt><tt class="py-op">:</tt> </tt>
-<a name="L623"></a><tt class="py-lineno">623</tt> <tt class="py-line"> <tt class="py-name">actual_query_params</tt><tt class="py-op">[</tt><tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">cast_value</tt> </tt>
-<a name="L624"></a><tt class="py-lineno">624</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">path_params</tt><tt class="py-op">:</tt> </tt>
-<a name="L625"></a><tt class="py-lineno">625</tt> <tt class="py-line"> <tt class="py-name">actual_path_params</tt><tt class="py-op">[</tt><tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">cast_value</tt> </tt>
-<a name="L626"></a><tt class="py-lineno">626</tt> <tt class="py-line"> <tt class="py-name">body_value</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt id="link-128" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-128', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'body'</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
-<a name="L627"></a><tt class="py-lineno">627</tt> <tt class="py-line"> <tt class="py-name">media_filename</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt id="link-129" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-129', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'media_body'</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
-<a name="L628"></a><tt class="py-lineno">628</tt> <tt class="py-line"> </tt>
-<a name="L629"></a><tt class="py-lineno">629</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_developerKey</tt><tt class="py-op">:</tt> </tt>
-<a name="L630"></a><tt class="py-lineno">630</tt> <tt class="py-line"> <tt class="py-name">actual_query_params</tt><tt class="py-op">[</tt><tt class="py-string">'key'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_developerKey</tt> </tt>
-<a name="L631"></a><tt class="py-lineno">631</tt> <tt class="py-line"> </tt>
-<a name="L632"></a><tt class="py-lineno">632</tt> <tt class="py-line"> <tt id="link-130" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-130', 'model', 'link-29');">model</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_model</tt> </tt>
-<a name="L633"></a><tt class="py-lineno">633</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">methodName</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">'_media'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L634"></a><tt class="py-lineno">634</tt> <tt class="py-line"> <tt id="link-131" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-131', 'model', 'link-29');">model</a></tt> <tt class="py-op">=</tt> <tt id="link-132" class="py-name"><a title="googleapiclient.model.MediaModel" class="py-name" href="#" onclick="return doclink('link-132', 'MediaModel', 'link-33');">MediaModel</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L635"></a><tt class="py-lineno">635</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-string">'response'</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">:</tt> </tt>
-<a name="L636"></a><tt class="py-lineno">636</tt> <tt class="py-line"> <tt id="link-133" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-133', 'model', 'link-29');">model</a></tt> <tt class="py-op">=</tt> <tt id="link-134" class="py-name"><a title="googleapiclient.model.RawModel" class="py-name" href="#" onclick="return doclink('link-134', 'RawModel', 'link-36');">RawModel</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L637"></a><tt class="py-lineno">637</tt> <tt class="py-line"> </tt>
-<a name="L638"></a><tt class="py-lineno">638</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L639"></a><tt class="py-lineno">639</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">,</tt> <tt class="py-name">query</tt><tt class="py-op">,</tt> <tt id="link-135" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-135', 'body', 'link-89');">body</a></tt> <tt class="py-op">=</tt> <tt id="link-136" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-136', 'model', 'link-29');">model</a></tt><tt class="py-op">.</tt><tt id="link-137" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L597"></a><tt class="py-lineno">597</tt> <tt class="py-line"> <tt class="py-name">parameters</tt> <tt class="py-op">=</tt> <tt id="link-129" class="py-name" targets="Class googleapiclient.discovery.ResourceMethodParameters=googleapiclient.discovery.ResourceMethodParameters-class.html"><a title="googleapiclient.discovery.ResourceMethodParameters" class="py-name" href="#" onclick="return doclink('link-129', 'ResourceMethodParameters', 'link-129');">ResourceMethodParameters</a></tt><tt class="py-op">(</tt><tt class="py-name">methodDesc</tt><tt class="py-op">)</tt> </tt>
+<a name="L598"></a><tt class="py-lineno">598</tt> <tt class="py-line"> </tt>
+<a name="L599"></a><tt class="py-lineno">599</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">method</tt><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L600"></a><tt class="py-lineno">600</tt> <tt class="py-line"> <tt class="py-comment"># Don't bother with doc string, it will be over-written by createMethod.</tt> </tt>
+<a name="L601"></a><tt class="py-lineno">601</tt> <tt class="py-line"> </tt>
+<a name="L602"></a><tt class="py-lineno">602</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">iterkeys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L603"></a><tt class="py-lineno">603</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">:</tt> </tt>
+<a name="L604"></a><tt class="py-lineno">604</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt><tt class="py-string">'Got an unexpected keyword argument "%s"'</tt> <tt class="py-op">%</tt> <tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
+<a name="L605"></a><tt class="py-lineno">605</tt> <tt class="py-line"> </tt>
+<a name="L606"></a><tt class="py-lineno">606</tt> <tt class="py-line"> <tt class="py-comment"># Remove args that have a value of None.</tt> </tt>
+<a name="L607"></a><tt class="py-lineno">607</tt> <tt class="py-line"> <tt class="py-name">keys</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L608"></a><tt class="py-lineno">608</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">keys</tt><tt class="py-op">:</tt> </tt>
+<a name="L609"></a><tt class="py-lineno">609</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L610"></a><tt class="py-lineno">610</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> </tt>
+<a name="L611"></a><tt class="py-lineno">611</tt> <tt class="py-line"> </tt>
+<a name="L612"></a><tt class="py-lineno">612</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">required_params</tt><tt class="py-op">:</tt> </tt>
+<a name="L613"></a><tt class="py-lineno">613</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">:</tt> </tt>
+<a name="L614"></a><tt class="py-lineno">614</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt><tt class="py-string">'Missing required parameter "%s"'</tt> <tt class="py-op">%</tt> <tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
+<a name="L615"></a><tt class="py-lineno">615</tt> <tt class="py-line"> </tt>
+<a name="L616"></a><tt class="py-lineno">616</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">regex</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">pattern_params</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L617"></a><tt class="py-lineno">617</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">:</tt> </tt>
+<a name="L618"></a><tt class="py-lineno">618</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L619"></a><tt class="py-lineno">619</tt> <tt class="py-line"> <tt class="py-name">pvalues</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> </tt>
+<a name="L620"></a><tt class="py-lineno">620</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L621"></a><tt class="py-lineno">621</tt> <tt class="py-line"> <tt class="py-name">pvalues</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> </tt>
+<a name="L622"></a><tt class="py-lineno">622</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">pvalue</tt> <tt class="py-keyword">in</tt> <tt class="py-name">pvalues</tt><tt class="py-op">:</tt> </tt>
+<a name="L623"></a><tt class="py-lineno">623</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">match</tt><tt class="py-op">(</tt><tt class="py-name">regex</tt><tt class="py-op">,</tt> <tt class="py-name">pvalue</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L624"></a><tt class="py-lineno">624</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt> </tt>
+<a name="L625"></a><tt class="py-lineno">625</tt> <tt class="py-line"> <tt class="py-string">'Parameter "%s" value "%s" does not match the pattern "%s"'</tt> <tt class="py-op">%</tt> </tt>
+<a name="L626"></a><tt class="py-lineno">626</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">pvalue</tt><tt class="py-op">,</tt> <tt class="py-name">regex</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L627"></a><tt class="py-lineno">627</tt> <tt class="py-line"> </tt>
+<a name="L628"></a><tt class="py-lineno">628</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">enums</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">enum_params</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L629"></a><tt class="py-lineno">629</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">:</tt> </tt>
+<a name="L630"></a><tt class="py-lineno">630</tt> <tt class="py-line"> <tt class="py-comment"># We need to handle the case of a repeated enum</tt> </tt>
+<a name="L631"></a><tt class="py-lineno">631</tt> <tt class="py-line"> <tt class="py-comment"># name differently, since we want to handle both</tt> </tt>
+<a name="L632"></a><tt class="py-lineno">632</tt> <tt class="py-line"> <tt class="py-comment"># arg='value' and arg=['value1', 'value2']</tt> </tt>
+<a name="L633"></a><tt class="py-lineno">633</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt> <tt class="py-keyword">and</tt> </tt>
+<a name="L634"></a><tt class="py-lineno">634</tt> <tt class="py-line"> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L635"></a><tt class="py-lineno">635</tt> <tt class="py-line"> <tt class="py-name">values</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> </tt>
+<a name="L636"></a><tt class="py-lineno">636</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L637"></a><tt class="py-lineno">637</tt> <tt class="py-line"> <tt class="py-name">values</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">kwargs</tt><tt class="py-op">[</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> </tt>
+<a name="L638"></a><tt class="py-lineno">638</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">value</tt> <tt class="py-keyword">in</tt> <tt class="py-name">values</tt><tt class="py-op">:</tt> </tt>
+<a name="L639"></a><tt class="py-lineno">639</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">enums</tt><tt class="py-op">:</tt> </tt>
+<a name="L640"></a><tt class="py-lineno">640</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt> </tt>
+<a name="L641"></a><tt class="py-lineno">641</tt> <tt class="py-line"> <tt class="py-string">'Parameter "%s" value "%s" is not an allowed value in "%s"'</tt> <tt class="py-op">%</tt> </tt>
+<a name="L642"></a><tt class="py-lineno">642</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">enums</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L643"></a><tt class="py-lineno">643</tt> <tt class="py-line"> </tt>
+<a name="L644"></a><tt class="py-lineno">644</tt> <tt class="py-line"> <tt class="py-name">actual_query_params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L645"></a><tt class="py-lineno">645</tt> <tt class="py-line"> <tt class="py-name">actual_path_params</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L646"></a><tt class="py-lineno">646</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt> <tt class="py-keyword">in</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L647"></a><tt class="py-lineno">647</tt> <tt class="py-line"> <tt class="py-name">to_type</tt> <tt class="py-op">=</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">param_types</tt><tt class="py-op">.</tt><tt id="link-130" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-130', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-string">'string'</tt><tt class="py-op">)</tt> </tt>
+<a name="L648"></a><tt class="py-lineno">648</tt> <tt class="py-line"> <tt class="py-comment"># For repeated parameters we cast each member of the list.</tt> </tt>
+<a name="L649"></a><tt class="py-lineno">649</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt> <tt class="py-keyword">and</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L650"></a><tt class="py-lineno">650</tt> <tt class="py-line"> <tt class="py-name">cast_value</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-131" class="py-name" targets="Function googleapiclient.discovery._cast()=googleapiclient.discovery-module.html#_cast"><a title="googleapiclient.discovery._cast" class="py-name" href="#" onclick="return doclink('link-131', '_cast', 'link-131');">_cast</a></tt><tt class="py-op">(</tt><tt class="py-name">x</tt><tt class="py-op">,</tt> <tt class="py-name">to_type</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">x</tt> <tt class="py-keyword">in</tt> <tt class="py-name">value</tt><tt class="py-op">]</tt> </tt>
+<a name="L651"></a><tt class="py-lineno">651</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L652"></a><tt class="py-lineno">652</tt> <tt class="py-line"> <tt class="py-name">cast_value</tt> <tt class="py-op">=</tt> <tt id="link-132" class="py-name"><a title="googleapiclient.discovery._cast" class="py-name" href="#" onclick="return doclink('link-132', '_cast', 'link-131');">_cast</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt class="py-name">to_type</tt><tt class="py-op">)</tt> </tt>
+<a name="L653"></a><tt class="py-lineno">653</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">query_params</tt><tt class="py-op">:</tt> </tt>
+<a name="L654"></a><tt class="py-lineno">654</tt> <tt class="py-line"> <tt class="py-name">actual_query_params</tt><tt class="py-op">[</tt><tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">cast_value</tt> </tt>
+<a name="L655"></a><tt class="py-lineno">655</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">path_params</tt><tt class="py-op">:</tt> </tt>
+<a name="L656"></a><tt class="py-lineno">656</tt> <tt class="py-line"> <tt class="py-name">actual_path_params</tt><tt class="py-op">[</tt><tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">cast_value</tt> </tt>
+<a name="L657"></a><tt class="py-lineno">657</tt> <tt class="py-line"> <tt class="py-name">body_value</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt id="link-133" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-133', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'body'</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
+<a name="L658"></a><tt class="py-lineno">658</tt> <tt class="py-line"> <tt class="py-name">media_filename</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt id="link-134" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-134', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'media_body'</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
+<a name="L659"></a><tt class="py-lineno">659</tt> <tt class="py-line"> </tt>
+<a name="L660"></a><tt class="py-lineno">660</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_developerKey</tt><tt class="py-op">:</tt> </tt>
+<a name="L661"></a><tt class="py-lineno">661</tt> <tt class="py-line"> <tt class="py-name">actual_query_params</tt><tt class="py-op">[</tt><tt class="py-string">'key'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_developerKey</tt> </tt>
+<a name="L662"></a><tt class="py-lineno">662</tt> <tt class="py-line"> </tt>
+<a name="L663"></a><tt class="py-lineno">663</tt> <tt class="py-line"> <tt id="link-135" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-135', 'model', 'link-29');">model</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_model</tt> </tt>
+<a name="L664"></a><tt class="py-lineno">664</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">methodName</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">'_media'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L665"></a><tt class="py-lineno">665</tt> <tt class="py-line"> <tt id="link-136" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-136', 'model', 'link-29');">model</a></tt> <tt class="py-op">=</tt> <tt id="link-137" class="py-name"><a title="googleapiclient.model.MediaModel" class="py-name" href="#" onclick="return doclink('link-137', 'MediaModel', 'link-33');">MediaModel</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L666"></a><tt class="py-lineno">666</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-string">'response'</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">:</tt> </tt>
+<a name="L667"></a><tt class="py-lineno">667</tt> <tt class="py-line"> <tt id="link-138" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-138', 'model', 'link-29');">model</a></tt> <tt class="py-op">=</tt> <tt id="link-139" class="py-name"><a title="googleapiclient.model.RawModel" class="py-name" href="#" onclick="return doclink('link-139', 'RawModel', 'link-36');">RawModel</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L668"></a><tt class="py-lineno">668</tt> <tt class="py-line"> </tt>
+<a name="L669"></a><tt class="py-lineno">669</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L670"></a><tt class="py-lineno">670</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">,</tt> <tt class="py-name">query</tt><tt class="py-op">,</tt> <tt id="link-140" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-140', 'body', 'link-94');">body</a></tt> <tt class="py-op">=</tt> <tt id="link-141" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-141', 'model', 'link-29');">model</a></tt><tt class="py-op">.</tt><tt id="link-142" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
-googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-137', 'request', 'link-59');">request</a></tt><tt class="py-op">(</tt><tt class="py-name">headers</tt><tt class="py-op">,</tt> </tt>
-<a name="L640"></a><tt class="py-lineno">640</tt> <tt class="py-line"> <tt class="py-name">actual_path_params</tt><tt class="py-op">,</tt> <tt class="py-name">actual_query_params</tt><tt class="py-op">,</tt> <tt class="py-name">body_value</tt><tt class="py-op">)</tt> </tt>
-<a name="L641"></a><tt class="py-lineno">641</tt> <tt class="py-line"> </tt>
-<a name="L642"></a><tt class="py-lineno">642</tt> <tt class="py-line"> <tt class="py-name">expanded_url</tt> <tt class="py-op">=</tt> <tt class="py-name">uritemplate</tt><tt class="py-op">.</tt><tt class="py-name">expand</tt><tt class="py-op">(</tt><tt class="py-name">pathUrl</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">)</tt> </tt>
-<a name="L643"></a><tt class="py-lineno">643</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urljoin</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_baseUrl</tt><tt class="py-op">,</tt> <tt class="py-name">expanded_url</tt> <tt class="py-op">+</tt> <tt class="py-name">query</tt><tt class="py-op">)</tt> </tt>
-<a name="L644"></a><tt class="py-lineno">644</tt> <tt class="py-line"> </tt>
-<a name="L645"></a><tt class="py-lineno">645</tt> <tt class="py-line"> <tt id="link-138" class="py-name" targets="Method googleapiclient.http.MediaIoBaseUpload.resumable()=googleapiclient.http.MediaIoBaseUpload-class.html#resumable,Method googleapiclient.http.MediaUpload.resumable()=googleapiclient.http.MediaUpload-class.html#resumable"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
-googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-138', 'resumable', 'link-138');">resumable</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L646"></a><tt class="py-lineno">646</tt> <tt class="py-line"> <tt class="py-name">multipart_boundary</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
-<a name="L647"></a><tt class="py-lineno">647</tt> <tt class="py-line"> </tt>
-<a name="L648"></a><tt class="py-lineno">648</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_filename</tt><tt class="py-op">:</tt> </tt>
-<a name="L649"></a><tt class="py-lineno">649</tt> <tt class="py-line"> <tt class="py-comment"># Ensure we end up with a valid MediaUpload object.</tt> </tt>
-<a name="L650"></a><tt class="py-lineno">650</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L651"></a><tt class="py-lineno">651</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">media_mime_type</tt><tt class="py-op">,</tt> <tt class="py-name">encoding</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt class="py-name">mimetypes</tt><tt class="py-op">.</tt><tt class="py-name">guess_type</tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">)</tt> </tt>
-<a name="L652"></a><tt class="py-lineno">652</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_mime_type</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L653"></a><tt class="py-lineno">653</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-139" class="py-name"><a title="googleapiclient.errors.UnknownFileType" class="py-name" href="#" onclick="return doclink('link-139', 'UnknownFileType', 'link-18');">UnknownFileType</a></tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">)</tt> </tt>
-<a name="L654"></a><tt class="py-lineno">654</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt id="link-140" class="py-name"><a title="googleapiclient.mimeparse" class="py-name" href="#" onclick="return doclink('link-140', 'mimeparse', 'link-0');">mimeparse</a></tt><tt class="py-op">.</tt><tt id="link-141" class="py-name" targets="Function googleapiclient.mimeparse.best_match()=googleapiclient.mimeparse-module.html#best_match"><a title="googleapiclient.mimeparse.best_match" class="py-name" href="#" onclick="return doclink('link-141', 'best_match', 'link-141');">best_match</a></tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-name">media_mime_type</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-string">','</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt id="link-142" class="py-name"><a title="googleapiclient.model.BaseModel.accept
+googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-142', 'request', 'link-59');">request</a></tt><tt class="py-op">(</tt><tt class="py-name">headers</tt><tt class="py-op">,</tt> </tt>
+<a name="L671"></a><tt class="py-lineno">671</tt> <tt class="py-line"> <tt class="py-name">actual_path_params</tt><tt class="py-op">,</tt> <tt class="py-name">actual_query_params</tt><tt class="py-op">,</tt> <tt class="py-name">body_value</tt><tt class="py-op">)</tt> </tt>
+<a name="L672"></a><tt class="py-lineno">672</tt> <tt class="py-line"> </tt>
+<a name="L673"></a><tt class="py-lineno">673</tt> <tt class="py-line"> <tt class="py-name">expanded_url</tt> <tt class="py-op">=</tt> <tt class="py-name">uritemplate</tt><tt class="py-op">.</tt><tt class="py-name">expand</tt><tt class="py-op">(</tt><tt class="py-name">pathUrl</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">)</tt> </tt>
+<a name="L674"></a><tt class="py-lineno">674</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urljoin</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_baseUrl</tt><tt class="py-op">,</tt> <tt class="py-name">expanded_url</tt> <tt class="py-op">+</tt> <tt class="py-name">query</tt><tt class="py-op">)</tt> </tt>
+<a name="L675"></a><tt class="py-lineno">675</tt> <tt class="py-line"> </tt>
+<a name="L676"></a><tt class="py-lineno">676</tt> <tt class="py-line"> <tt id="link-143" class="py-name" targets="Method googleapiclient.http.MediaIoBaseUpload.resumable()=googleapiclient.http.MediaIoBaseUpload-class.html#resumable,Method googleapiclient.http.MediaUpload.resumable()=googleapiclient.http.MediaUpload-class.html#resumable"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
+googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-143', 'resumable', 'link-143');">resumable</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L677"></a><tt class="py-lineno">677</tt> <tt class="py-line"> <tt class="py-name">multipart_boundary</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
+<a name="L678"></a><tt class="py-lineno">678</tt> <tt class="py-line"> </tt>
+<a name="L679"></a><tt class="py-lineno">679</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_filename</tt><tt class="py-op">:</tt> </tt>
+<a name="L680"></a><tt class="py-lineno">680</tt> <tt class="py-line"> <tt class="py-comment"># Ensure we end up with a valid MediaUpload object.</tt> </tt>
+<a name="L681"></a><tt class="py-lineno">681</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L682"></a><tt class="py-lineno">682</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">media_mime_type</tt><tt class="py-op">,</tt> <tt class="py-name">encoding</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt class="py-name">mimetypes</tt><tt class="py-op">.</tt><tt class="py-name">guess_type</tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">)</tt> </tt>
+<a name="L683"></a><tt class="py-lineno">683</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_mime_type</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L684"></a><tt class="py-lineno">684</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-144" class="py-name"><a title="googleapiclient.errors.UnknownFileType" class="py-name" href="#" onclick="return doclink('link-144', 'UnknownFileType', 'link-18');">UnknownFileType</a></tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">)</tt> </tt>
+<a name="L685"></a><tt class="py-lineno">685</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt id="link-145" class="py-name"><a title="googleapiclient.mimeparse" class="py-name" href="#" onclick="return doclink('link-145', 'mimeparse', 'link-0');">mimeparse</a></tt><tt class="py-op">.</tt><tt id="link-146" class="py-name" targets="Function googleapiclient.mimeparse.best_match()=googleapiclient.mimeparse-module.html#best_match"><a title="googleapiclient.mimeparse.best_match" class="py-name" href="#" onclick="return doclink('link-146', 'best_match', 'link-146');">best_match</a></tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-name">media_mime_type</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-string">','</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt id="link-147" class="py-name"><a title="googleapiclient.model.BaseModel.accept
googleapiclient.model.JsonModel.accept
googleapiclient.model.MediaModel.accept
googleapiclient.model.ProtocolBufferModel.accept
-googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-142', 'accept', 'link-95');">accept</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L655"></a><tt class="py-lineno">655</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-143" class="py-name"><a title="googleapiclient.errors.UnacceptableMimeTypeError" class="py-name" href="#" onclick="return doclink('link-143', 'UnacceptableMimeTypeError', 'link-12');">UnacceptableMimeTypeError</a></tt><tt class="py-op">(</tt><tt class="py-name">media_mime_type</tt><tt class="py-op">)</tt> </tt>
-<a name="L656"></a><tt class="py-lineno">656</tt> <tt class="py-line"> <tt class="py-name">media_upload</tt> <tt class="py-op">=</tt> <tt id="link-144" class="py-name"><a title="googleapiclient.http.MediaFileUpload" class="py-name" href="#" onclick="return doclink('link-144', 'MediaFileUpload', 'link-24');">MediaFileUpload</a></tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">,</tt> </tt>
-<a name="L657"></a><tt class="py-lineno">657</tt> <tt class="py-line"> <tt id="link-145" class="py-name" targets="Method googleapiclient.http.MediaIoBaseUpload.mimetype()=googleapiclient.http.MediaIoBaseUpload-class.html#mimetype,Method googleapiclient.http.MediaUpload.mimetype()=googleapiclient.http.MediaUpload-class.html#mimetype"><a title="googleapiclient.http.MediaIoBaseUpload.mimetype
-googleapiclient.http.MediaUpload.mimetype" class="py-name" href="#" onclick="return doclink('link-145', 'mimetype', 'link-145');">mimetype</a></tt><tt class="py-op">=</tt><tt class="py-name">media_mime_type</tt><tt class="py-op">)</tt> </tt>
-<a name="L658"></a><tt class="py-lineno">658</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">,</tt> <tt id="link-146" class="py-name"><a title="googleapiclient.http.MediaUpload" class="py-name" href="#" onclick="return doclink('link-146', 'MediaUpload', 'link-27');">MediaUpload</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L659"></a><tt class="py-lineno">659</tt> <tt class="py-line"> <tt class="py-name">media_upload</tt> <tt class="py-op">=</tt> <tt class="py-name">media_filename</tt> </tt>
-<a name="L660"></a><tt class="py-lineno">660</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L661"></a><tt class="py-lineno">661</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt><tt class="py-string">'media_filename must be str or MediaUpload.'</tt><tt class="py-op">)</tt> </tt>
-<a name="L662"></a><tt class="py-lineno">662</tt> <tt class="py-line"> </tt>
-<a name="L663"></a><tt class="py-lineno">663</tt> <tt class="py-line"> <tt class="py-comment"># Check the maxSize</tt> </tt>
-<a name="L664"></a><tt class="py-lineno">664</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">maxSize</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt> <tt class="py-keyword">and</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-147" class="py-name" targets="Method googleapiclient.http.MediaIoBaseUpload.size()=googleapiclient.http.MediaIoBaseUpload-class.html#size,Method googleapiclient.http.MediaUpload.size()=googleapiclient.http.MediaUpload-class.html#size"><a title="googleapiclient.http.MediaIoBaseUpload.size
-googleapiclient.http.MediaUpload.size" class="py-name" href="#" onclick="return doclink('link-147', 'size', 'link-147');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-name">maxSize</tt><tt class="py-op">:</tt> </tt>
-<a name="L665"></a><tt class="py-lineno">665</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-148" class="py-name"><a title="googleapiclient.errors.MediaUploadSizeError" class="py-name" href="#" onclick="return doclink('link-148', 'MediaUploadSizeError', 'link-9');">MediaUploadSizeError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Media larger than: %s"</tt> <tt class="py-op">%</tt> <tt class="py-name">maxSize</tt><tt class="py-op">)</tt> </tt>
-<a name="L666"></a><tt class="py-lineno">666</tt> <tt class="py-line"> </tt>
-<a name="L667"></a><tt class="py-lineno">667</tt> <tt class="py-line"> <tt class="py-comment"># Use the media path uri for media uploads</tt> </tt>
-<a name="L668"></a><tt class="py-lineno">668</tt> <tt class="py-line"> <tt class="py-name">expanded_url</tt> <tt class="py-op">=</tt> <tt class="py-name">uritemplate</tt><tt class="py-op">.</tt><tt class="py-name">expand</tt><tt class="py-op">(</tt><tt class="py-name">mediaPathUrl</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">)</tt> </tt>
-<a name="L669"></a><tt class="py-lineno">669</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urljoin</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_baseUrl</tt><tt class="py-op">,</tt> <tt class="py-name">expanded_url</tt> <tt class="py-op">+</tt> <tt class="py-name">query</tt><tt class="py-op">)</tt> </tt>
-<a name="L670"></a><tt class="py-lineno">670</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-149" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
-googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-149', 'resumable', 'link-138');">resumable</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L671"></a><tt class="py-lineno">671</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">_add_query_parameter</tt><tt class="py-op">(</tt><tt class="py-name">url</tt><tt class="py-op">,</tt> <tt class="py-string">'uploadType'</tt><tt class="py-op">,</tt> <tt class="py-string">'resumable'</tt><tt class="py-op">)</tt> </tt>
-<a name="L672"></a><tt class="py-lineno">672</tt> <tt class="py-line"> </tt>
-<a name="L673"></a><tt class="py-lineno">673</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-150" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
-googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-150', 'resumable', 'link-138');">resumable</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L674"></a><tt class="py-lineno">674</tt> <tt class="py-line"> <tt class="py-comment"># This is all we need to do for resumable, if the body exists it gets</tt> </tt>
-<a name="L675"></a><tt class="py-lineno">675</tt> <tt class="py-line"> <tt class="py-comment"># sent in the first request, otherwise an empty body is sent.</tt> </tt>
-<a name="L676"></a><tt class="py-lineno">676</tt> <tt class="py-line"> <tt id="link-151" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
-googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-151', 'resumable', 'link-138');">resumable</a></tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt> </tt>
-<a name="L677"></a><tt class="py-lineno">677</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L678"></a><tt class="py-lineno">678</tt> <tt class="py-line"> <tt class="py-comment"># A non-resumable upload</tt> </tt>
-<a name="L679"></a><tt class="py-lineno">679</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-152" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-152', 'body', 'link-89');">body</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L680"></a><tt class="py-lineno">680</tt> <tt class="py-line"> <tt class="py-comment"># This is a simple media upload</tt> </tt>
-<a name="L681"></a><tt class="py-lineno">681</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-153" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.mimetype
-googleapiclient.http.MediaUpload.mimetype" class="py-name" href="#" onclick="return doclink('link-153', 'mimetype', 'link-145');">mimetype</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L682"></a><tt class="py-lineno">682</tt> <tt class="py-line"> <tt id="link-154" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-154', 'body', 'link-89');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-155" class="py-name" targets="Method googleapiclient.http.MediaIoBaseUpload.getbytes()=googleapiclient.http.MediaIoBaseUpload-class.html#getbytes,Method googleapiclient.http.MediaUpload.getbytes()=googleapiclient.http.MediaUpload-class.html#getbytes"><a title="googleapiclient.http.MediaIoBaseUpload.getbytes
-googleapiclient.http.MediaUpload.getbytes" class="py-name" href="#" onclick="return doclink('link-155', 'getbytes', 'link-155');">getbytes</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-156" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.size
-googleapiclient.http.MediaUpload.size" class="py-name" href="#" onclick="return doclink('link-156', 'size', 'link-147');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L683"></a><tt class="py-lineno">683</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">_add_query_parameter</tt><tt class="py-op">(</tt><tt class="py-name">url</tt><tt class="py-op">,</tt> <tt class="py-string">'uploadType'</tt><tt class="py-op">,</tt> <tt class="py-string">'media'</tt><tt class="py-op">)</tt> </tt>
-<a name="L684"></a><tt class="py-lineno">684</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L685"></a><tt class="py-lineno">685</tt> <tt class="py-line"> <tt class="py-comment"># This is a multipart/related upload.</tt> </tt>
-<a name="L686"></a><tt class="py-lineno">686</tt> <tt class="py-line"> <tt class="py-name">msgRoot</tt> <tt class="py-op">=</tt> <tt class="py-name">MIMEMultipart</tt><tt class="py-op">(</tt><tt class="py-string">'related'</tt><tt class="py-op">)</tt> </tt>
-<a name="L687"></a><tt class="py-lineno">687</tt> <tt class="py-line"> <tt class="py-comment"># msgRoot should not write out it's own headers</tt> </tt>
-<a name="L688"></a><tt class="py-lineno">688</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">msgRoot</tt><tt class="py-op">,</tt> <tt class="py-string">'_write_headers'</tt><tt class="py-op">,</tt> <tt class="py-keyword">lambda</tt> <tt class="py-name">self</tt><tt class="py-op">:</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
-<a name="L689"></a><tt class="py-lineno">689</tt> <tt class="py-line"> </tt>
-<a name="L690"></a><tt class="py-lineno">690</tt> <tt class="py-line"> <tt class="py-comment"># attach the body as one part</tt> </tt>
-<a name="L691"></a><tt class="py-lineno">691</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">MIMENonMultipart</tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L692"></a><tt class="py-lineno">692</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt class="py-name">set_payload</tt><tt class="py-op">(</tt><tt id="link-157" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-157', 'body', 'link-89');">body</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L693"></a><tt class="py-lineno">693</tt> <tt class="py-line"> <tt class="py-name">msgRoot</tt><tt class="py-op">.</tt><tt class="py-name">attach</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
-<a name="L694"></a><tt class="py-lineno">694</tt> <tt class="py-line"> </tt>
-<a name="L695"></a><tt class="py-lineno">695</tt> <tt class="py-line"> <tt class="py-comment"># attach the media as the second part</tt> </tt>
-<a name="L696"></a><tt class="py-lineno">696</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">MIMENonMultipart</tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-158" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.mimetype
-googleapiclient.http.MediaUpload.mimetype" class="py-name" href="#" onclick="return doclink('link-158', 'mimetype', 'link-145');">mimetype</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L697"></a><tt class="py-lineno">697</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">[</tt><tt class="py-string">'Content-Transfer-Encoding'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-string">'binary'</tt> </tt>
-<a name="L698"></a><tt class="py-lineno">698</tt> <tt class="py-line"> </tt>
-<a name="L699"></a><tt class="py-lineno">699</tt> <tt class="py-line"> <tt class="py-name">payload</tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-159" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.getbytes
-googleapiclient.http.MediaUpload.getbytes" class="py-name" href="#" onclick="return doclink('link-159', 'getbytes', 'link-155');">getbytes</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-160" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.size
-googleapiclient.http.MediaUpload.size" class="py-name" href="#" onclick="return doclink('link-160', 'size', 'link-147');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L700"></a><tt class="py-lineno">700</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt class="py-name">set_payload</tt><tt class="py-op">(</tt><tt class="py-name">payload</tt><tt class="py-op">)</tt> </tt>
-<a name="L701"></a><tt class="py-lineno">701</tt> <tt class="py-line"> <tt class="py-name">msgRoot</tt><tt class="py-op">.</tt><tt class="py-name">attach</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
-<a name="L702"></a><tt class="py-lineno">702</tt> <tt class="py-line"> <tt id="link-161" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-161', 'body', 'link-89');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">msgRoot</tt><tt class="py-op">.</tt><tt class="py-name">as_string</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+googleapiclient.model.RawModel.accept" class="py-name" href="#" onclick="return doclink('link-147', 'accept', 'link-100');">accept</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L686"></a><tt class="py-lineno">686</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-148" class="py-name"><a title="googleapiclient.errors.UnacceptableMimeTypeError" class="py-name" href="#" onclick="return doclink('link-148', 'UnacceptableMimeTypeError', 'link-12');">UnacceptableMimeTypeError</a></tt><tt class="py-op">(</tt><tt class="py-name">media_mime_type</tt><tt class="py-op">)</tt> </tt>
+<a name="L687"></a><tt class="py-lineno">687</tt> <tt class="py-line"> <tt class="py-name">media_upload</tt> <tt class="py-op">=</tt> <tt id="link-149" class="py-name"><a title="googleapiclient.http.MediaFileUpload" class="py-name" href="#" onclick="return doclink('link-149', 'MediaFileUpload', 'link-24');">MediaFileUpload</a></tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">,</tt> </tt>
+<a name="L688"></a><tt class="py-lineno">688</tt> <tt class="py-line"> <tt id="link-150" class="py-name" targets="Method googleapiclient.http.MediaIoBaseUpload.mimetype()=googleapiclient.http.MediaIoBaseUpload-class.html#mimetype,Method googleapiclient.http.MediaUpload.mimetype()=googleapiclient.http.MediaUpload-class.html#mimetype"><a title="googleapiclient.http.MediaIoBaseUpload.mimetype
+googleapiclient.http.MediaUpload.mimetype" class="py-name" href="#" onclick="return doclink('link-150', 'mimetype', 'link-150');">mimetype</a></tt><tt class="py-op">=</tt><tt class="py-name">media_mime_type</tt><tt class="py-op">)</tt> </tt>
+<a name="L689"></a><tt class="py-lineno">689</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">media_filename</tt><tt class="py-op">,</tt> <tt id="link-151" class="py-name"><a title="googleapiclient.http.MediaUpload" class="py-name" href="#" onclick="return doclink('link-151', 'MediaUpload', 'link-27');">MediaUpload</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L690"></a><tt class="py-lineno">690</tt> <tt class="py-line"> <tt class="py-name">media_upload</tt> <tt class="py-op">=</tt> <tt class="py-name">media_filename</tt> </tt>
+<a name="L691"></a><tt class="py-lineno">691</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L692"></a><tt class="py-lineno">692</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt><tt class="py-op">(</tt><tt class="py-string">'media_filename must be str or MediaUpload.'</tt><tt class="py-op">)</tt> </tt>
+<a name="L693"></a><tt class="py-lineno">693</tt> <tt class="py-line"> </tt>
+<a name="L694"></a><tt class="py-lineno">694</tt> <tt class="py-line"> <tt class="py-comment"># Check the maxSize</tt> </tt>
+<a name="L695"></a><tt class="py-lineno">695</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">maxSize</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt> <tt class="py-keyword">and</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-152" class="py-name" targets="Method googleapiclient.http.MediaIoBaseUpload.size()=googleapiclient.http.MediaIoBaseUpload-class.html#size,Method googleapiclient.http.MediaUpload.size()=googleapiclient.http.MediaUpload-class.html#size"><a title="googleapiclient.http.MediaIoBaseUpload.size
+googleapiclient.http.MediaUpload.size" class="py-name" href="#" onclick="return doclink('link-152', 'size', 'link-152');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-name">maxSize</tt><tt class="py-op">:</tt> </tt>
+<a name="L696"></a><tt class="py-lineno">696</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-153" class="py-name"><a title="googleapiclient.errors.MediaUploadSizeError" class="py-name" href="#" onclick="return doclink('link-153', 'MediaUploadSizeError', 'link-9');">MediaUploadSizeError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Media larger than: %s"</tt> <tt class="py-op">%</tt> <tt class="py-name">maxSize</tt><tt class="py-op">)</tt> </tt>
+<a name="L697"></a><tt class="py-lineno">697</tt> <tt class="py-line"> </tt>
+<a name="L698"></a><tt class="py-lineno">698</tt> <tt class="py-line"> <tt class="py-comment"># Use the media path uri for media uploads</tt> </tt>
+<a name="L699"></a><tt class="py-lineno">699</tt> <tt class="py-line"> <tt class="py-name">expanded_url</tt> <tt class="py-op">=</tt> <tt class="py-name">uritemplate</tt><tt class="py-op">.</tt><tt class="py-name">expand</tt><tt class="py-op">(</tt><tt class="py-name">mediaPathUrl</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">)</tt> </tt>
+<a name="L700"></a><tt class="py-lineno">700</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urljoin</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_baseUrl</tt><tt class="py-op">,</tt> <tt class="py-name">expanded_url</tt> <tt class="py-op">+</tt> <tt class="py-name">query</tt><tt class="py-op">)</tt> </tt>
+<a name="L701"></a><tt class="py-lineno">701</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-154" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
+googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-154', 'resumable', 'link-143');">resumable</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L702"></a><tt class="py-lineno">702</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">_add_query_parameter</tt><tt class="py-op">(</tt><tt class="py-name">url</tt><tt class="py-op">,</tt> <tt class="py-string">'uploadType'</tt><tt class="py-op">,</tt> <tt class="py-string">'resumable'</tt><tt class="py-op">)</tt> </tt>
<a name="L703"></a><tt class="py-lineno">703</tt> <tt class="py-line"> </tt>
-<a name="L704"></a><tt class="py-lineno">704</tt> <tt class="py-line"> <tt class="py-name">multipart_boundary</tt> <tt class="py-op">=</tt> <tt class="py-name">msgRoot</tt><tt class="py-op">.</tt><tt class="py-name">get_boundary</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L705"></a><tt class="py-lineno">705</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-string">'multipart/related; '</tt> </tt>
-<a name="L706"></a><tt class="py-lineno">706</tt> <tt class="py-line"> <tt class="py-string">'boundary="%s"'</tt><tt class="py-op">)</tt> <tt class="py-op">%</tt> <tt class="py-name">multipart_boundary</tt> </tt>
-<a name="L707"></a><tt class="py-lineno">707</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">_add_query_parameter</tt><tt class="py-op">(</tt><tt class="py-name">url</tt><tt class="py-op">,</tt> <tt class="py-string">'uploadType'</tt><tt class="py-op">,</tt> <tt class="py-string">'multipart'</tt><tt class="py-op">)</tt> </tt>
-<a name="L708"></a><tt class="py-lineno">708</tt> <tt class="py-line"> </tt>
-<a name="L709"></a><tt class="py-lineno">709</tt> <tt class="py-line"> <tt id="link-162" class="py-name"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-162', 'logger', 'link-40');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">'URL being requested: %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">url</tt><tt class="py-op">)</tt> </tt>
-<a name="L710"></a><tt class="py-lineno">710</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requestBuilder</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_http</tt><tt class="py-op">,</tt> </tt>
-<a name="L711"></a><tt class="py-lineno">711</tt> <tt class="py-line"> <tt id="link-163" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-163', 'model', 'link-29');">model</a></tt><tt class="py-op">.</tt><tt id="link-164" class="py-name" targets="Method googleapiclient.model.BaseModel.response()=googleapiclient.model.BaseModel-class.html#response,Method googleapiclient.model.Model.response()=googleapiclient.model.Model-class.html#response"><a title="googleapiclient.model.BaseModel.response
-googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-164', 'response', 'link-164');">response</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L712"></a><tt class="py-lineno">712</tt> <tt class="py-line"> <tt class="py-name">url</tt><tt class="py-op">,</tt> </tt>
-<a name="L713"></a><tt class="py-lineno">713</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">=</tt><tt class="py-name">httpMethod</tt><tt class="py-op">,</tt> </tt>
-<a name="L714"></a><tt class="py-lineno">714</tt> <tt class="py-line"> <tt id="link-165" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-165', 'body', 'link-89');">body</a></tt><tt class="py-op">=</tt><tt id="link-166" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-166', 'body', 'link-89');">body</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L715"></a><tt class="py-lineno">715</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">=</tt><tt class="py-name">headers</tt><tt class="py-op">,</tt> </tt>
-<a name="L716"></a><tt class="py-lineno">716</tt> <tt class="py-line"> <tt class="py-name">methodId</tt><tt class="py-op">=</tt><tt class="py-name">methodId</tt><tt class="py-op">,</tt> </tt>
-<a name="L717"></a><tt class="py-lineno">717</tt> <tt class="py-line"> <tt id="link-167" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
-googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-167', 'resumable', 'link-138');">resumable</a></tt><tt class="py-op">=</tt><tt id="link-168" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
-googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-168', 'resumable', 'link-138');">resumable</a></tt><tt class="py-op">)</tt> </tt>
-</div><a name="L718"></a><tt class="py-lineno">718</tt> <tt class="py-line"> </tt>
-<a name="L719"></a><tt class="py-lineno">719</tt> <tt class="py-line"> <tt class="py-name">docs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">methodDesc</tt><tt class="py-op">.</tt><tt id="link-169" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-169', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'description'</tt><tt class="py-op">,</tt> <tt id="link-170" class="py-name"><a title="googleapiclient.discovery.DEFAULT_METHOD_DOC" class="py-name" href="#" onclick="return doclink('link-170', 'DEFAULT_METHOD_DOC', 'link-44');">DEFAULT_METHOD_DOC</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">'\n\n'</tt><tt class="py-op">]</tt> </tt>
-<a name="L720"></a><tt class="py-lineno">720</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
-<a name="L721"></a><tt class="py-lineno">721</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'Args:\n'</tt><tt class="py-op">)</tt> </tt>
-<a name="L722"></a><tt class="py-lineno">722</tt> <tt class="py-line"> </tt>
-<a name="L723"></a><tt class="py-lineno">723</tt> <tt class="py-line"> <tt class="py-comment"># Skip undocumented params and params common to all methods.</tt> </tt>
-<a name="L724"></a><tt class="py-lineno">724</tt> <tt class="py-line"> <tt class="py-name">skip_parameters</tt> <tt class="py-op">=</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">.</tt><tt id="link-171" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-171', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L725"></a><tt class="py-lineno">725</tt> <tt class="py-line"> <tt class="py-name">skip_parameters</tt><tt class="py-op">.</tt><tt class="py-name">extend</tt><tt class="py-op">(</tt><tt id="link-172" class="py-name"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETERS" class="py-name" href="#" onclick="return doclink('link-172', 'STACK_QUERY_PARAMETERS', 'link-49');">STACK_QUERY_PARAMETERS</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L726"></a><tt class="py-lineno">726</tt> <tt class="py-line"> </tt>
-<a name="L727"></a><tt class="py-lineno">727</tt> <tt class="py-line"> <tt class="py-name">all_args</tt> <tt class="py-op">=</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L728"></a><tt class="py-lineno">728</tt> <tt class="py-line"> <tt class="py-name">args_ordered</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-173" class="py-name"><a title="googleapiclient.discovery.key2param" class="py-name" href="#" onclick="return doclink('link-173', 'key2param', 'link-108');">key2param</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">s</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">.</tt><tt id="link-174" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-174', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameterOrder'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
+<a name="L704"></a><tt class="py-lineno">704</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-155" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
+googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-155', 'resumable', 'link-143');">resumable</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L705"></a><tt class="py-lineno">705</tt> <tt class="py-line"> <tt class="py-comment"># This is all we need to do for resumable, if the body exists it gets</tt> </tt>
+<a name="L706"></a><tt class="py-lineno">706</tt> <tt class="py-line"> <tt class="py-comment"># sent in the first request, otherwise an empty body is sent.</tt> </tt>
+<a name="L707"></a><tt class="py-lineno">707</tt> <tt class="py-line"> <tt id="link-156" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
+googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-156', 'resumable', 'link-143');">resumable</a></tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt> </tt>
+<a name="L708"></a><tt class="py-lineno">708</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L709"></a><tt class="py-lineno">709</tt> <tt class="py-line"> <tt class="py-comment"># A non-resumable upload</tt> </tt>
+<a name="L710"></a><tt class="py-lineno">710</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-157" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-157', 'body', 'link-94');">body</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L711"></a><tt class="py-lineno">711</tt> <tt class="py-line"> <tt class="py-comment"># This is a simple media upload</tt> </tt>
+<a name="L712"></a><tt class="py-lineno">712</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-158" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.mimetype
+googleapiclient.http.MediaUpload.mimetype" class="py-name" href="#" onclick="return doclink('link-158', 'mimetype', 'link-150');">mimetype</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L713"></a><tt class="py-lineno">713</tt> <tt class="py-line"> <tt id="link-159" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-159', 'body', 'link-94');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-160" class="py-name" targets="Method googleapiclient.http.MediaIoBaseUpload.getbytes()=googleapiclient.http.MediaIoBaseUpload-class.html#getbytes,Method googleapiclient.http.MediaUpload.getbytes()=googleapiclient.http.MediaUpload-class.html#getbytes"><a title="googleapiclient.http.MediaIoBaseUpload.getbytes
+googleapiclient.http.MediaUpload.getbytes" class="py-name" href="#" onclick="return doclink('link-160', 'getbytes', 'link-160');">getbytes</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-161" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.size
+googleapiclient.http.MediaUpload.size" class="py-name" href="#" onclick="return doclink('link-161', 'size', 'link-152');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L714"></a><tt class="py-lineno">714</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">_add_query_parameter</tt><tt class="py-op">(</tt><tt class="py-name">url</tt><tt class="py-op">,</tt> <tt class="py-string">'uploadType'</tt><tt class="py-op">,</tt> <tt class="py-string">'media'</tt><tt class="py-op">)</tt> </tt>
+<a name="L715"></a><tt class="py-lineno">715</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L716"></a><tt class="py-lineno">716</tt> <tt class="py-line"> <tt class="py-comment"># This is a multipart/related upload.</tt> </tt>
+<a name="L717"></a><tt class="py-lineno">717</tt> <tt class="py-line"> <tt class="py-name">msgRoot</tt> <tt class="py-op">=</tt> <tt class="py-name">MIMEMultipart</tt><tt class="py-op">(</tt><tt class="py-string">'related'</tt><tt class="py-op">)</tt> </tt>
+<a name="L718"></a><tt class="py-lineno">718</tt> <tt class="py-line"> <tt class="py-comment"># msgRoot should not write out it's own headers</tt> </tt>
+<a name="L719"></a><tt class="py-lineno">719</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">msgRoot</tt><tt class="py-op">,</tt> <tt class="py-string">'_write_headers'</tt><tt class="py-op">,</tt> <tt class="py-keyword">lambda</tt> <tt class="py-name">self</tt><tt class="py-op">:</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
+<a name="L720"></a><tt class="py-lineno">720</tt> <tt class="py-line"> </tt>
+<a name="L721"></a><tt class="py-lineno">721</tt> <tt class="py-line"> <tt class="py-comment"># attach the body as one part</tt> </tt>
+<a name="L722"></a><tt class="py-lineno">722</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">MIMENonMultipart</tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L723"></a><tt class="py-lineno">723</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt class="py-name">set_payload</tt><tt class="py-op">(</tt><tt id="link-162" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-162', 'body', 'link-94');">body</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L724"></a><tt class="py-lineno">724</tt> <tt class="py-line"> <tt class="py-name">msgRoot</tt><tt class="py-op">.</tt><tt class="py-name">attach</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
+<a name="L725"></a><tt class="py-lineno">725</tt> <tt class="py-line"> </tt>
+<a name="L726"></a><tt class="py-lineno">726</tt> <tt class="py-line"> <tt class="py-comment"># attach the media as the second part</tt> </tt>
+<a name="L727"></a><tt class="py-lineno">727</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">MIMENonMultipart</tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-163" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.mimetype
+googleapiclient.http.MediaUpload.mimetype" class="py-name" href="#" onclick="return doclink('link-163', 'mimetype', 'link-150');">mimetype</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L728"></a><tt class="py-lineno">728</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">[</tt><tt class="py-string">'Content-Transfer-Encoding'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-string">'binary'</tt> </tt>
<a name="L729"></a><tt class="py-lineno">729</tt> <tt class="py-line"> </tt>
-<a name="L730"></a><tt class="py-lineno">730</tt> <tt class="py-line"> <tt class="py-comment"># Move body to the front of the line.</tt> </tt>
-<a name="L731"></a><tt class="py-lineno">731</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'body'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">all_args</tt><tt class="py-op">:</tt> </tt>
-<a name="L732"></a><tt class="py-lineno">732</tt> <tt class="py-line"> <tt class="py-name">args_ordered</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'body'</tt><tt class="py-op">)</tt> </tt>
-<a name="L733"></a><tt class="py-lineno">733</tt> <tt class="py-line"> </tt>
-<a name="L734"></a><tt class="py-lineno">734</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">all_args</tt><tt class="py-op">:</tt> </tt>
-<a name="L735"></a><tt class="py-lineno">735</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">args_ordered</tt><tt class="py-op">:</tt> </tt>
-<a name="L736"></a><tt class="py-lineno">736</tt> <tt class="py-line"> <tt class="py-name">args_ordered</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
-<a name="L737"></a><tt class="py-lineno">737</tt> <tt class="py-line"> </tt>
-<a name="L738"></a><tt class="py-lineno">738</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">args_ordered</tt><tt class="py-op">:</tt> </tt>
-<a name="L739"></a><tt class="py-lineno">739</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">skip_parameters</tt><tt class="py-op">:</tt> </tt>
-<a name="L740"></a><tt class="py-lineno">740</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
-<a name="L741"></a><tt class="py-lineno">741</tt> <tt class="py-line"> </tt>
-<a name="L742"></a><tt class="py-lineno">742</tt> <tt class="py-line"> <tt class="py-name">repeated</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
-<a name="L743"></a><tt class="py-lineno">743</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt><tt class="py-op">:</tt> </tt>
-<a name="L744"></a><tt class="py-lineno">744</tt> <tt class="py-line"> <tt class="py-name">repeated</tt> <tt class="py-op">=</tt> <tt class="py-string">' (repeated)'</tt> </tt>
-<a name="L745"></a><tt class="py-lineno">745</tt> <tt class="py-line"> <tt class="py-name">required</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
-<a name="L746"></a><tt class="py-lineno">746</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">required_params</tt><tt class="py-op">:</tt> </tt>
-<a name="L747"></a><tt class="py-lineno">747</tt> <tt class="py-line"> <tt class="py-name">required</tt> <tt class="py-op">=</tt> <tt class="py-string">' (required)'</tt> </tt>
-<a name="L748"></a><tt class="py-lineno">748</tt> <tt class="py-line"> <tt class="py-name">paramdesc</tt> <tt class="py-op">=</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">[</tt><tt class="py-string">'parameters'</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">[</tt><tt class="py-name">arg</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> </tt>
-<a name="L749"></a><tt class="py-lineno">749</tt> <tt class="py-line"> <tt class="py-name">paramdoc</tt> <tt class="py-op">=</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">.</tt><tt id="link-175" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-175', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'description'</tt><tt class="py-op">,</tt> <tt class="py-string">'A parameter'</tt><tt class="py-op">)</tt> </tt>
-<a name="L750"></a><tt class="py-lineno">750</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'$ref'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">:</tt> </tt>
-<a name="L751"></a><tt class="py-lineno">751</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt> </tt>
-<a name="L752"></a><tt class="py-lineno">752</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-string">' %s: object, %s%s%s\n The object takes the'</tt> </tt>
-<a name="L753"></a><tt class="py-lineno">753</tt> <tt class="py-line"> <tt class="py-string">' form of:\n\n%s\n\n'</tt><tt class="py-op">)</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">arg</tt><tt class="py-op">,</tt> <tt class="py-name">paramdoc</tt><tt class="py-op">,</tt> <tt class="py-name">required</tt><tt class="py-op">,</tt> <tt class="py-name">repeated</tt><tt class="py-op">,</tt> </tt>
-<a name="L754"></a><tt class="py-lineno">754</tt> <tt class="py-line"> <tt id="link-176" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-176', 'schema', 'link-38');">schema</a></tt><tt class="py-op">.</tt><tt id="link-177" class="py-name" targets="Method googleapiclient.schema.Schemas.prettyPrintByName()=googleapiclient.schema.Schemas-class.html#prettyPrintByName"><a title="googleapiclient.schema.Schemas.prettyPrintByName" class="py-name" href="#" onclick="return doclink('link-177', 'prettyPrintByName', 'link-177');">prettyPrintByName</a></tt><tt class="py-op">(</tt><tt class="py-name">paramdesc</tt><tt class="py-op">[</tt><tt class="py-string">'$ref'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L755"></a><tt class="py-lineno">755</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L756"></a><tt class="py-lineno">756</tt> <tt class="py-line"> <tt class="py-name">paramtype</tt> <tt class="py-op">=</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">.</tt><tt id="link-178" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-178', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'type'</tt><tt class="py-op">,</tt> <tt class="py-string">'string'</tt><tt class="py-op">)</tt> </tt>
-<a name="L757"></a><tt class="py-lineno">757</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">' %s: %s, %s%s%s\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">arg</tt><tt class="py-op">,</tt> <tt class="py-name">paramtype</tt><tt class="py-op">,</tt> <tt class="py-name">paramdoc</tt><tt class="py-op">,</tt> <tt class="py-name">required</tt><tt class="py-op">,</tt> </tt>
-<a name="L758"></a><tt class="py-lineno">758</tt> <tt class="py-line"> <tt class="py-name">repeated</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L759"></a><tt class="py-lineno">759</tt> <tt class="py-line"> <tt class="py-name">enum</tt> <tt class="py-op">=</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">.</tt><tt id="link-179" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-179', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'enum'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L760"></a><tt class="py-lineno">760</tt> <tt class="py-line"> <tt class="py-name">enumDesc</tt> <tt class="py-op">=</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">.</tt><tt id="link-180" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-180', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'enumDescriptions'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L761"></a><tt class="py-lineno">761</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">enum</tt> <tt class="py-keyword">and</tt> <tt class="py-name">enumDesc</tt><tt class="py-op">:</tt> </tt>
-<a name="L762"></a><tt class="py-lineno">762</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">' Allowed values\n'</tt><tt class="py-op">)</tt> </tt>
-<a name="L763"></a><tt class="py-lineno">763</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">desc</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">zip</tt><tt class="py-op">(</tt><tt class="py-name">enum</tt><tt class="py-op">,</tt> <tt class="py-name">enumDesc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L764"></a><tt class="py-lineno">764</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">' %s - %s\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">desc</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L765"></a><tt class="py-lineno">765</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'response'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">:</tt> </tt>
-<a name="L766"></a><tt class="py-lineno">766</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">methodName</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">'_media'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L767"></a><tt class="py-lineno">767</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'\nReturns:\n The media object as a string.\n\n '</tt><tt class="py-op">)</tt> </tt>
-<a name="L768"></a><tt class="py-lineno">768</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L769"></a><tt class="py-lineno">769</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'\nReturns:\n An object of the form:\n\n '</tt><tt class="py-op">)</tt> </tt>
-<a name="L770"></a><tt class="py-lineno">770</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt id="link-181" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-181', 'schema', 'link-38');">schema</a></tt><tt class="py-op">.</tt><tt id="link-182" class="py-name" targets="Method googleapiclient.schema.Schemas.prettyPrintSchema()=googleapiclient.schema.Schemas-class.html#prettyPrintSchema"><a title="googleapiclient.schema.Schemas.prettyPrintSchema" class="py-name" href="#" onclick="return doclink('link-182', 'prettyPrintSchema', 'link-182');">prettyPrintSchema</a></tt><tt class="py-op">(</tt><tt class="py-name">methodDesc</tt><tt class="py-op">[</tt><tt class="py-string">'response'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L771"></a><tt class="py-lineno">771</tt> <tt class="py-line"> </tt>
-<a name="L772"></a><tt class="py-lineno">772</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">,</tt> <tt class="py-string">'__doc__'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">docs</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L773"></a><tt class="py-lineno">773</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L774"></a><tt class="py-lineno">774</tt> <tt class="py-line"> </tt>
-<a name="createNextMethod"></a><div id="createNextMethod-def"><a name="L775"></a><tt class="py-lineno">775</tt> <tt class="py-line"> </tt>
-<a name="L776"></a><tt class="py-lineno">776</tt> <a class="py-toggle" href="#" id="createNextMethod-toggle" onclick="return toggle('createNextMethod');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#createNextMethod">createNextMethod</a><tt class="py-op">(</tt><tt class="py-param">methodName</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="createNextMethod-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="createNextMethod-expanded"><a name="L777"></a><tt class="py-lineno">777</tt> <tt class="py-line"> <tt class="py-docstring">"""Creates any _next methods for attaching to a Resource.</tt> </tt>
-<a name="L778"></a><tt class="py-lineno">778</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L779"></a><tt class="py-lineno">779</tt> <tt class="py-line"><tt class="py-docstring"> The _next methods allow for easy iteration through list() responses.</tt> </tt>
-<a name="L780"></a><tt class="py-lineno">780</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L781"></a><tt class="py-lineno">781</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L782"></a><tt class="py-lineno">782</tt> <tt class="py-line"><tt class="py-docstring"> methodName: string, name of the method to use.</tt> </tt>
-<a name="L783"></a><tt class="py-lineno">783</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L784"></a><tt class="py-lineno">784</tt> <tt class="py-line"> <tt class="py-name">methodName</tt> <tt class="py-op">=</tt> <tt id="link-183" class="py-name"><a title="googleapiclient.discovery.fix_method_name" class="py-name" href="#" onclick="return doclink('link-183', 'fix_method_name', 'link-121');">fix_method_name</a></tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">)</tt> </tt>
-<a name="L785"></a><tt class="py-lineno">785</tt> <tt class="py-line"> </tt>
-<a name="L786"></a><tt class="py-lineno">786</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">methodNext</tt><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">previous_request</tt><tt class="py-op">,</tt> <tt class="py-param">previous_response</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L787"></a><tt class="py-lineno">787</tt> <tt class="py-line"> <tt class="py-docstring">"""Retrieves the next page of results.</tt> </tt>
-<a name="L788"></a><tt class="py-lineno">788</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L789"></a><tt class="py-lineno">789</tt> <tt class="py-line"><tt class="py-docstring">Args:</tt> </tt>
-<a name="L790"></a><tt class="py-lineno">790</tt> <tt class="py-line"><tt class="py-docstring"> previous_request: The request for the previous page. (required)</tt> </tt>
-<a name="L791"></a><tt class="py-lineno">791</tt> <tt class="py-line"><tt class="py-docstring"> previous_response: The response from the request for the previous page. (required)</tt> </tt>
-<a name="L792"></a><tt class="py-lineno">792</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L793"></a><tt class="py-lineno">793</tt> <tt class="py-line"><tt class="py-docstring">Returns:</tt> </tt>
-<a name="L794"></a><tt class="py-lineno">794</tt> <tt class="py-line"><tt class="py-docstring"> A request object that you can call 'execute()' on to request the next</tt> </tt>
-<a name="L795"></a><tt class="py-lineno">795</tt> <tt class="py-line"><tt class="py-docstring"> page. Returns None if there are no more items in the collection.</tt> </tt>
-<a name="L796"></a><tt class="py-lineno">796</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L797"></a><tt class="py-lineno">797</tt> <tt class="py-line"> <tt class="py-comment"># Retrieve nextPageToken from previous_response</tt> </tt>
-<a name="L798"></a><tt class="py-lineno">798</tt> <tt class="py-line"> <tt class="py-comment"># Use as pageToken in previous_request to create new request.</tt> </tt>
-<a name="L799"></a><tt class="py-lineno">799</tt> <tt class="py-line"> </tt>
-<a name="L800"></a><tt class="py-lineno">800</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'nextPageToken'</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">previous_response</tt><tt class="py-op">:</tt> </tt>
-<a name="L801"></a><tt class="py-lineno">801</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
-<a name="L802"></a><tt class="py-lineno">802</tt> <tt class="py-line"> </tt>
-<a name="L803"></a><tt class="py-lineno">803</tt> <tt class="py-line"> <tt id="link-184" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L730"></a><tt class="py-lineno">730</tt> <tt class="py-line"> <tt class="py-name">payload</tt> <tt class="py-op">=</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-164" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.getbytes
+googleapiclient.http.MediaUpload.getbytes" class="py-name" href="#" onclick="return doclink('link-164', 'getbytes', 'link-160');">getbytes</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-name">media_upload</tt><tt class="py-op">.</tt><tt id="link-165" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.size
+googleapiclient.http.MediaUpload.size" class="py-name" href="#" onclick="return doclink('link-165', 'size', 'link-152');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L731"></a><tt class="py-lineno">731</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt class="py-name">set_payload</tt><tt class="py-op">(</tt><tt class="py-name">payload</tt><tt class="py-op">)</tt> </tt>
+<a name="L732"></a><tt class="py-lineno">732</tt> <tt class="py-line"> <tt class="py-name">msgRoot</tt><tt class="py-op">.</tt><tt class="py-name">attach</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
+<a name="L733"></a><tt class="py-lineno">733</tt> <tt class="py-line"> <tt class="py-comment"># encode the body: note that we can't use `as_string`, because</tt> </tt>
+<a name="L734"></a><tt class="py-lineno">734</tt> <tt class="py-line"> <tt class="py-comment"># it plays games with `From ` lines.</tt> </tt>
+<a name="L735"></a><tt class="py-lineno">735</tt> <tt class="py-line"> <tt class="py-name">fp</tt> <tt class="py-op">=</tt> <tt class="py-name">StringIO</tt><tt class="py-op">.</tt><tt class="py-name">StringIO</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L736"></a><tt class="py-lineno">736</tt> <tt class="py-line"> <tt class="py-name">g</tt> <tt class="py-op">=</tt> <tt class="py-name">Generator</tt><tt class="py-op">(</tt><tt class="py-name">fp</tt><tt class="py-op">,</tt> <tt class="py-name">mangle_from_</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
+<a name="L737"></a><tt class="py-lineno">737</tt> <tt class="py-line"> <tt class="py-name">g</tt><tt class="py-op">.</tt><tt class="py-name">flatten</tt><tt class="py-op">(</tt><tt class="py-name">msgRoot</tt><tt class="py-op">,</tt> <tt class="py-name">unixfrom</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
+<a name="L738"></a><tt class="py-lineno">738</tt> <tt class="py-line"> <tt id="link-166" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-166', 'body', 'link-94');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fp</tt><tt class="py-op">.</tt><tt class="py-name">getvalue</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L739"></a><tt class="py-lineno">739</tt> <tt class="py-line"> </tt>
+<a name="L740"></a><tt class="py-lineno">740</tt> <tt class="py-line"> <tt class="py-name">multipart_boundary</tt> <tt class="py-op">=</tt> <tt class="py-name">msgRoot</tt><tt class="py-op">.</tt><tt class="py-name">get_boundary</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L741"></a><tt class="py-lineno">741</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-string">'multipart/related; '</tt> </tt>
+<a name="L742"></a><tt class="py-lineno">742</tt> <tt class="py-line"> <tt class="py-string">'boundary="%s"'</tt><tt class="py-op">)</tt> <tt class="py-op">%</tt> <tt class="py-name">multipart_boundary</tt> </tt>
+<a name="L743"></a><tt class="py-lineno">743</tt> <tt class="py-line"> <tt class="py-name">url</tt> <tt class="py-op">=</tt> <tt class="py-name">_add_query_parameter</tt><tt class="py-op">(</tt><tt class="py-name">url</tt><tt class="py-op">,</tt> <tt class="py-string">'uploadType'</tt><tt class="py-op">,</tt> <tt class="py-string">'multipart'</tt><tt class="py-op">)</tt> </tt>
+<a name="L744"></a><tt class="py-lineno">744</tt> <tt class="py-line"> </tt>
+<a name="L745"></a><tt class="py-lineno">745</tt> <tt class="py-line"> <tt id="link-167" class="py-name"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-167', 'logger', 'link-40');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">'URL being requested: %s %s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">httpMethod</tt><tt class="py-op">,</tt><tt class="py-name">url</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L746"></a><tt class="py-lineno">746</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requestBuilder</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_http</tt><tt class="py-op">,</tt> </tt>
+<a name="L747"></a><tt class="py-lineno">747</tt> <tt class="py-line"> <tt id="link-168" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-168', 'model', 'link-29');">model</a></tt><tt class="py-op">.</tt><tt id="link-169" class="py-name" targets="Method googleapiclient.model.BaseModel.response()=googleapiclient.model.BaseModel-class.html#response,Method googleapiclient.model.Model.response()=googleapiclient.model.Model-class.html#response"><a title="googleapiclient.model.BaseModel.response
+googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-169', 'response', 'link-169');">response</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L748"></a><tt class="py-lineno">748</tt> <tt class="py-line"> <tt class="py-name">url</tt><tt class="py-op">,</tt> </tt>
+<a name="L749"></a><tt class="py-lineno">749</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">=</tt><tt class="py-name">httpMethod</tt><tt class="py-op">,</tt> </tt>
+<a name="L750"></a><tt class="py-lineno">750</tt> <tt class="py-line"> <tt id="link-170" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-170', 'body', 'link-94');">body</a></tt><tt class="py-op">=</tt><tt id="link-171" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-171', 'body', 'link-94');">body</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L751"></a><tt class="py-lineno">751</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">=</tt><tt class="py-name">headers</tt><tt class="py-op">,</tt> </tt>
+<a name="L752"></a><tt class="py-lineno">752</tt> <tt class="py-line"> <tt class="py-name">methodId</tt><tt class="py-op">=</tt><tt class="py-name">methodId</tt><tt class="py-op">,</tt> </tt>
+<a name="L753"></a><tt class="py-lineno">753</tt> <tt class="py-line"> <tt id="link-172" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
+googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-172', 'resumable', 'link-143');">resumable</a></tt><tt class="py-op">=</tt><tt id="link-173" class="py-name"><a title="googleapiclient.http.MediaIoBaseUpload.resumable
+googleapiclient.http.MediaUpload.resumable" class="py-name" href="#" onclick="return doclink('link-173', 'resumable', 'link-143');">resumable</a></tt><tt class="py-op">)</tt> </tt>
+</div><a name="L754"></a><tt class="py-lineno">754</tt> <tt class="py-line"> </tt>
+<a name="L755"></a><tt class="py-lineno">755</tt> <tt class="py-line"> <tt class="py-name">docs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">methodDesc</tt><tt class="py-op">.</tt><tt id="link-174" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-174', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'description'</tt><tt class="py-op">,</tt> <tt id="link-175" class="py-name"><a title="googleapiclient.discovery.DEFAULT_METHOD_DOC" class="py-name" href="#" onclick="return doclink('link-175', 'DEFAULT_METHOD_DOC', 'link-44');">DEFAULT_METHOD_DOC</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">'\n\n'</tt><tt class="py-op">]</tt> </tt>
+<a name="L756"></a><tt class="py-lineno">756</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L757"></a><tt class="py-lineno">757</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'Args:\n'</tt><tt class="py-op">)</tt> </tt>
+<a name="L758"></a><tt class="py-lineno">758</tt> <tt class="py-line"> </tt>
+<a name="L759"></a><tt class="py-lineno">759</tt> <tt class="py-line"> <tt class="py-comment"># Skip undocumented params and params common to all methods.</tt> </tt>
+<a name="L760"></a><tt class="py-lineno">760</tt> <tt class="py-line"> <tt class="py-name">skip_parameters</tt> <tt class="py-op">=</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">.</tt><tt id="link-176" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-176', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L761"></a><tt class="py-lineno">761</tt> <tt class="py-line"> <tt class="py-name">skip_parameters</tt><tt class="py-op">.</tt><tt class="py-name">extend</tt><tt class="py-op">(</tt><tt id="link-177" class="py-name"><a title="googleapiclient.discovery.STACK_QUERY_PARAMETERS" class="py-name" href="#" onclick="return doclink('link-177', 'STACK_QUERY_PARAMETERS', 'link-49');">STACK_QUERY_PARAMETERS</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L762"></a><tt class="py-lineno">762</tt> <tt class="py-line"> </tt>
+<a name="L763"></a><tt class="py-lineno">763</tt> <tt class="py-line"> <tt class="py-name">all_args</tt> <tt class="py-op">=</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L764"></a><tt class="py-lineno">764</tt> <tt class="py-line"> <tt class="py-name">args_ordered</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-178" class="py-name"><a title="googleapiclient.discovery.key2param" class="py-name" href="#" onclick="return doclink('link-178', 'key2param', 'link-113');">key2param</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">s</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">.</tt><tt id="link-179" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-179', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameterOrder'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
+<a name="L765"></a><tt class="py-lineno">765</tt> <tt class="py-line"> </tt>
+<a name="L766"></a><tt class="py-lineno">766</tt> <tt class="py-line"> <tt class="py-comment"># Move body to the front of the line.</tt> </tt>
+<a name="L767"></a><tt class="py-lineno">767</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'body'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">all_args</tt><tt class="py-op">:</tt> </tt>
+<a name="L768"></a><tt class="py-lineno">768</tt> <tt class="py-line"> <tt class="py-name">args_ordered</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'body'</tt><tt class="py-op">)</tt> </tt>
+<a name="L769"></a><tt class="py-lineno">769</tt> <tt class="py-line"> </tt>
+<a name="L770"></a><tt class="py-lineno">770</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">all_args</tt><tt class="py-op">:</tt> </tt>
+<a name="L771"></a><tt class="py-lineno">771</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">name</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">args_ordered</tt><tt class="py-op">:</tt> </tt>
+<a name="L772"></a><tt class="py-lineno">772</tt> <tt class="py-line"> <tt class="py-name">args_ordered</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
+<a name="L773"></a><tt class="py-lineno">773</tt> <tt class="py-line"> </tt>
+<a name="L774"></a><tt class="py-lineno">774</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">args_ordered</tt><tt class="py-op">:</tt> </tt>
+<a name="L775"></a><tt class="py-lineno">775</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">skip_parameters</tt><tt class="py-op">:</tt> </tt>
+<a name="L776"></a><tt class="py-lineno">776</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L777"></a><tt class="py-lineno">777</tt> <tt class="py-line"> </tt>
+<a name="L778"></a><tt class="py-lineno">778</tt> <tt class="py-line"> <tt class="py-name">repeated</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
+<a name="L779"></a><tt class="py-lineno">779</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">repeated_params</tt><tt class="py-op">:</tt> </tt>
+<a name="L780"></a><tt class="py-lineno">780</tt> <tt class="py-line"> <tt class="py-name">repeated</tt> <tt class="py-op">=</tt> <tt class="py-string">' (repeated)'</tt> </tt>
+<a name="L781"></a><tt class="py-lineno">781</tt> <tt class="py-line"> <tt class="py-name">required</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
+<a name="L782"></a><tt class="py-lineno">782</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">required_params</tt><tt class="py-op">:</tt> </tt>
+<a name="L783"></a><tt class="py-lineno">783</tt> <tt class="py-line"> <tt class="py-name">required</tt> <tt class="py-op">=</tt> <tt class="py-string">' (required)'</tt> </tt>
+<a name="L784"></a><tt class="py-lineno">784</tt> <tt class="py-line"> <tt class="py-name">paramdesc</tt> <tt class="py-op">=</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">[</tt><tt class="py-string">'parameters'</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-name">parameters</tt><tt class="py-op">.</tt><tt class="py-name">argmap</tt><tt class="py-op">[</tt><tt class="py-name">arg</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> </tt>
+<a name="L785"></a><tt class="py-lineno">785</tt> <tt class="py-line"> <tt class="py-name">paramdoc</tt> <tt class="py-op">=</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">.</tt><tt id="link-180" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-180', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'description'</tt><tt class="py-op">,</tt> <tt class="py-string">'A parameter'</tt><tt class="py-op">)</tt> </tt>
+<a name="L786"></a><tt class="py-lineno">786</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'$ref'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">:</tt> </tt>
+<a name="L787"></a><tt class="py-lineno">787</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt> </tt>
+<a name="L788"></a><tt class="py-lineno">788</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-string">' %s: object, %s%s%s\n The object takes the'</tt> </tt>
+<a name="L789"></a><tt class="py-lineno">789</tt> <tt class="py-line"> <tt class="py-string">' form of:\n\n%s\n\n'</tt><tt class="py-op">)</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">arg</tt><tt class="py-op">,</tt> <tt class="py-name">paramdoc</tt><tt class="py-op">,</tt> <tt class="py-name">required</tt><tt class="py-op">,</tt> <tt class="py-name">repeated</tt><tt class="py-op">,</tt> </tt>
+<a name="L790"></a><tt class="py-lineno">790</tt> <tt class="py-line"> <tt id="link-181" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-181', 'schema', 'link-38');">schema</a></tt><tt class="py-op">.</tt><tt id="link-182" class="py-name" targets="Method googleapiclient.schema.Schemas.prettyPrintByName()=googleapiclient.schema.Schemas-class.html#prettyPrintByName"><a title="googleapiclient.schema.Schemas.prettyPrintByName" class="py-name" href="#" onclick="return doclink('link-182', 'prettyPrintByName', 'link-182');">prettyPrintByName</a></tt><tt class="py-op">(</tt><tt class="py-name">paramdesc</tt><tt class="py-op">[</tt><tt class="py-string">'$ref'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L791"></a><tt class="py-lineno">791</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L792"></a><tt class="py-lineno">792</tt> <tt class="py-line"> <tt class="py-name">paramtype</tt> <tt class="py-op">=</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">.</tt><tt id="link-183" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-183', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'type'</tt><tt class="py-op">,</tt> <tt class="py-string">'string'</tt><tt class="py-op">)</tt> </tt>
+<a name="L793"></a><tt class="py-lineno">793</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">' %s: %s, %s%s%s\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">arg</tt><tt class="py-op">,</tt> <tt class="py-name">paramtype</tt><tt class="py-op">,</tt> <tt class="py-name">paramdoc</tt><tt class="py-op">,</tt> <tt class="py-name">required</tt><tt class="py-op">,</tt> </tt>
+<a name="L794"></a><tt class="py-lineno">794</tt> <tt class="py-line"> <tt class="py-name">repeated</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L795"></a><tt class="py-lineno">795</tt> <tt class="py-line"> <tt class="py-name">enum</tt> <tt class="py-op">=</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">.</tt><tt id="link-184" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-184', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'enum'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L796"></a><tt class="py-lineno">796</tt> <tt class="py-line"> <tt class="py-name">enumDesc</tt> <tt class="py-op">=</tt> <tt class="py-name">paramdesc</tt><tt class="py-op">.</tt><tt id="link-185" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-185', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'enumDescriptions'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L797"></a><tt class="py-lineno">797</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">enum</tt> <tt class="py-keyword">and</tt> <tt class="py-name">enumDesc</tt><tt class="py-op">:</tt> </tt>
+<a name="L798"></a><tt class="py-lineno">798</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">' Allowed values\n'</tt><tt class="py-op">)</tt> </tt>
+<a name="L799"></a><tt class="py-lineno">799</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">desc</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">zip</tt><tt class="py-op">(</tt><tt class="py-name">enum</tt><tt class="py-op">,</tt> <tt class="py-name">enumDesc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L800"></a><tt class="py-lineno">800</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">' %s - %s\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">desc</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L801"></a><tt class="py-lineno">801</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'response'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">:</tt> </tt>
+<a name="L802"></a><tt class="py-lineno">802</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">methodName</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">'_media'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L803"></a><tt class="py-lineno">803</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'\nReturns:\n The media object as a string.\n\n '</tt><tt class="py-op">)</tt> </tt>
+<a name="L804"></a><tt class="py-lineno">804</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L805"></a><tt class="py-lineno">805</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">'\nReturns:\n An object of the form:\n\n '</tt><tt class="py-op">)</tt> </tt>
+<a name="L806"></a><tt class="py-lineno">806</tt> <tt class="py-line"> <tt class="py-name">docs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt id="link-186" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-186', 'schema', 'link-38');">schema</a></tt><tt class="py-op">.</tt><tt id="link-187" class="py-name" targets="Method googleapiclient.schema.Schemas.prettyPrintSchema()=googleapiclient.schema.Schemas-class.html#prettyPrintSchema"><a title="googleapiclient.schema.Schemas.prettyPrintSchema" class="py-name" href="#" onclick="return doclink('link-187', 'prettyPrintSchema', 'link-187');">prettyPrintSchema</a></tt><tt class="py-op">(</tt><tt class="py-name">methodDesc</tt><tt class="py-op">[</tt><tt class="py-string">'response'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L807"></a><tt class="py-lineno">807</tt> <tt class="py-line"> </tt>
+<a name="L808"></a><tt class="py-lineno">808</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">,</tt> <tt class="py-string">'__doc__'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">docs</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L809"></a><tt class="py-lineno">809</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L810"></a><tt class="py-lineno">810</tt> <tt class="py-line"> </tt>
+<a name="createNextMethod"></a><div id="createNextMethod-def"><a name="L811"></a><tt class="py-lineno">811</tt> <tt class="py-line"> </tt>
+<a name="L812"></a><tt class="py-lineno">812</tt> <a class="py-toggle" href="#" id="createNextMethod-toggle" onclick="return toggle('createNextMethod');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery-module.html#createNextMethod">createNextMethod</a><tt class="py-op">(</tt><tt class="py-param">methodName</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="createNextMethod-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="createNextMethod-expanded"><a name="L813"></a><tt class="py-lineno">813</tt> <tt class="py-line"> <tt class="py-docstring">"""Creates any _next methods for attaching to a Resource.</tt> </tt>
+<a name="L814"></a><tt class="py-lineno">814</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L815"></a><tt class="py-lineno">815</tt> <tt class="py-line"><tt class="py-docstring"> The _next methods allow for easy iteration through list() responses.</tt> </tt>
+<a name="L816"></a><tt class="py-lineno">816</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L817"></a><tt class="py-lineno">817</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L818"></a><tt class="py-lineno">818</tt> <tt class="py-line"><tt class="py-docstring"> methodName: string, name of the method to use.</tt> </tt>
+<a name="L819"></a><tt class="py-lineno">819</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L820"></a><tt class="py-lineno">820</tt> <tt class="py-line"> <tt class="py-name">methodName</tt> <tt class="py-op">=</tt> <tt id="link-188" class="py-name"><a title="googleapiclient.discovery.fix_method_name" class="py-name" href="#" onclick="return doclink('link-188', 'fix_method_name', 'link-126');">fix_method_name</a></tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">)</tt> </tt>
+<a name="L821"></a><tt class="py-lineno">821</tt> <tt class="py-line"> </tt>
+<a name="L822"></a><tt class="py-lineno">822</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">methodNext</tt><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">previous_request</tt><tt class="py-op">,</tt> <tt class="py-param">previous_response</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L823"></a><tt class="py-lineno">823</tt> <tt class="py-line"> <tt class="py-docstring">"""Retrieves the next page of results.</tt> </tt>
+<a name="L824"></a><tt class="py-lineno">824</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L825"></a><tt class="py-lineno">825</tt> <tt class="py-line"><tt class="py-docstring">Args:</tt> </tt>
+<a name="L826"></a><tt class="py-lineno">826</tt> <tt class="py-line"><tt class="py-docstring"> previous_request: The request for the previous page. (required)</tt> </tt>
+<a name="L827"></a><tt class="py-lineno">827</tt> <tt class="py-line"><tt class="py-docstring"> previous_response: The response from the request for the previous page. (required)</tt> </tt>
+<a name="L828"></a><tt class="py-lineno">828</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L829"></a><tt class="py-lineno">829</tt> <tt class="py-line"><tt class="py-docstring">Returns:</tt> </tt>
+<a name="L830"></a><tt class="py-lineno">830</tt> <tt class="py-line"><tt class="py-docstring"> A request object that you can call 'execute()' on to request the next</tt> </tt>
+<a name="L831"></a><tt class="py-lineno">831</tt> <tt class="py-line"><tt class="py-docstring"> page. Returns None if there are no more items in the collection.</tt> </tt>
+<a name="L832"></a><tt class="py-lineno">832</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L833"></a><tt class="py-lineno">833</tt> <tt class="py-line"> <tt class="py-comment"># Retrieve nextPageToken from previous_response</tt> </tt>
+<a name="L834"></a><tt class="py-lineno">834</tt> <tt class="py-line"> <tt class="py-comment"># Use as pageToken in previous_request to create new request.</tt> </tt>
+<a name="L835"></a><tt class="py-lineno">835</tt> <tt class="py-line"> </tt>
+<a name="L836"></a><tt class="py-lineno">836</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'nextPageToken'</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">previous_response</tt><tt class="py-op">:</tt> </tt>
+<a name="L837"></a><tt class="py-lineno">837</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
+<a name="L838"></a><tt class="py-lineno">838</tt> <tt class="py-line"> </tt>
+<a name="L839"></a><tt class="py-lineno">839</tt> <tt class="py-line"> <tt id="link-189" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
-googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-184', 'request', 'link-59');">request</a></tt> <tt class="py-op">=</tt> <tt class="py-name">copy</tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-name">previous_request</tt><tt class="py-op">)</tt> </tt>
-<a name="L804"></a><tt class="py-lineno">804</tt> <tt class="py-line"> </tt>
-<a name="L805"></a><tt class="py-lineno">805</tt> <tt class="py-line"> <tt class="py-name">pageToken</tt> <tt class="py-op">=</tt> <tt class="py-name">previous_response</tt><tt class="py-op">[</tt><tt class="py-string">'nextPageToken'</tt><tt class="py-op">]</tt> </tt>
-<a name="L806"></a><tt class="py-lineno">806</tt> <tt class="py-line"> <tt class="py-name">parsed</tt> <tt class="py-op">=</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urlparse</tt><tt class="py-op">(</tt><tt id="link-185" class="py-name"><a title="googleapiclient.http.HttpMock.request
+googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-189', 'request', 'link-59');">request</a></tt> <tt class="py-op">=</tt> <tt class="py-name">copy</tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-name">previous_request</tt><tt class="py-op">)</tt> </tt>
+<a name="L840"></a><tt class="py-lineno">840</tt> <tt class="py-line"> </tt>
+<a name="L841"></a><tt class="py-lineno">841</tt> <tt class="py-line"> <tt class="py-name">pageToken</tt> <tt class="py-op">=</tt> <tt class="py-name">previous_response</tt><tt class="py-op">[</tt><tt class="py-string">'nextPageToken'</tt><tt class="py-op">]</tt> </tt>
+<a name="L842"></a><tt class="py-lineno">842</tt> <tt class="py-line"> <tt class="py-name">parsed</tt> <tt class="py-op">=</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urlparse</tt><tt class="py-op">(</tt><tt id="link-190" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
-googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-185', 'request', 'link-59');">request</a></tt><tt class="py-op">.</tt><tt class="py-name">uri</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L807"></a><tt class="py-lineno">807</tt> <tt class="py-line"> <tt class="py-name">q</tt> <tt class="py-op">=</tt> <tt class="py-name">parse_qsl</tt><tt class="py-op">(</tt><tt class="py-name">parsed</tt><tt class="py-op">[</tt><tt class="py-number">4</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L808"></a><tt class="py-lineno">808</tt> <tt class="py-line"> </tt>
-<a name="L809"></a><tt class="py-lineno">809</tt> <tt class="py-line"> <tt class="py-comment"># Find and remove old 'pageToken' value from URI</tt> </tt>
-<a name="L810"></a><tt class="py-lineno">810</tt> <tt class="py-line"> <tt class="py-name">newq</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">q</tt> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-op">!=</tt> <tt class="py-string">'pageToken'</tt><tt class="py-op">]</tt> </tt>
-<a name="L811"></a><tt class="py-lineno">811</tt> <tt class="py-line"> <tt class="py-name">newq</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-string">'pageToken'</tt><tt class="py-op">,</tt> <tt class="py-name">pageToken</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L812"></a><tt class="py-lineno">812</tt> <tt class="py-line"> <tt class="py-name">parsed</tt><tt class="py-op">[</tt><tt class="py-number">4</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">urllib</tt><tt class="py-op">.</tt><tt class="py-name">urlencode</tt><tt class="py-op">(</tt><tt class="py-name">newq</tt><tt class="py-op">)</tt> </tt>
-<a name="L813"></a><tt class="py-lineno">813</tt> <tt class="py-line"> <tt class="py-name">uri</tt> <tt class="py-op">=</tt> <tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urlunparse</tt><tt class="py-op">(</tt><tt class="py-name">parsed</tt><tt class="py-op">)</tt> </tt>
-<a name="L814"></a><tt class="py-lineno">814</tt> <tt class="py-line"> </tt>
-<a name="L815"></a><tt class="py-lineno">815</tt> <tt class="py-line"> <tt id="link-186" class="py-name"><a title="googleapiclient.http.HttpMock.request
+googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-190', 'request', 'link-59');">request</a></tt><tt class="py-op">.</tt><tt class="py-name">uri</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L843"></a><tt class="py-lineno">843</tt> <tt class="py-line"> <tt class="py-name">q</tt> <tt class="py-op">=</tt> <tt class="py-name">parse_qsl</tt><tt class="py-op">(</tt><tt class="py-name">parsed</tt><tt class="py-op">[</tt><tt class="py-number">4</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L844"></a><tt class="py-lineno">844</tt> <tt class="py-line"> </tt>
+<a name="L845"></a><tt class="py-lineno">845</tt> <tt class="py-line"> <tt class="py-comment"># Find and remove old 'pageToken' value from URI</tt> </tt>
+<a name="L846"></a><tt class="py-lineno">846</tt> <tt class="py-line"> <tt class="py-name">newq</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">q</tt> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-op">!=</tt> <tt class="py-string">'pageToken'</tt><tt class="py-op">]</tt> </tt>
+<a name="L847"></a><tt class="py-lineno">847</tt> <tt class="py-line"> <tt class="py-name">newq</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-string">'pageToken'</tt><tt class="py-op">,</tt> <tt class="py-name">pageToken</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L848"></a><tt class="py-lineno">848</tt> <tt class="py-line"> <tt class="py-name">parsed</tt><tt class="py-op">[</tt><tt class="py-number">4</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">urllib</tt><tt class="py-op">.</tt><tt class="py-name">urlencode</tt><tt class="py-op">(</tt><tt class="py-name">newq</tt><tt class="py-op">)</tt> </tt>
+<a name="L849"></a><tt class="py-lineno">849</tt> <tt class="py-line"> <tt class="py-name">uri</tt> <tt class="py-op">=</tt> <tt class="py-name">urlparse</tt><tt class="py-op">.</tt><tt class="py-name">urlunparse</tt><tt class="py-op">(</tt><tt class="py-name">parsed</tt><tt class="py-op">)</tt> </tt>
+<a name="L850"></a><tt class="py-lineno">850</tt> <tt class="py-line"> </tt>
+<a name="L851"></a><tt class="py-lineno">851</tt> <tt class="py-line"> <tt id="link-191" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
-googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-186', 'request', 'link-59');">request</a></tt><tt class="py-op">.</tt><tt class="py-name">uri</tt> <tt class="py-op">=</tt> <tt class="py-name">uri</tt> </tt>
-<a name="L816"></a><tt class="py-lineno">816</tt> <tt class="py-line"> </tt>
-<a name="L817"></a><tt class="py-lineno">817</tt> <tt class="py-line"> <tt id="link-187" class="py-name"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-187', 'logger', 'link-40');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">'URL being requested: %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">uri</tt><tt class="py-op">)</tt> </tt>
-<a name="L818"></a><tt class="py-lineno">818</tt> <tt class="py-line"> </tt>
-<a name="L819"></a><tt class="py-lineno">819</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-188" class="py-name"><a title="googleapiclient.http.HttpMock.request
+googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-191', 'request', 'link-59');">request</a></tt><tt class="py-op">.</tt><tt class="py-name">uri</tt> <tt class="py-op">=</tt> <tt class="py-name">uri</tt> </tt>
+<a name="L852"></a><tt class="py-lineno">852</tt> <tt class="py-line"> </tt>
+<a name="L853"></a><tt class="py-lineno">853</tt> <tt class="py-line"> <tt id="link-192" class="py-name"><a title="googleapiclient.discovery.logger" class="py-name" href="#" onclick="return doclink('link-192', 'logger', 'link-40');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">'URL being requested: %s %s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt><tt class="py-name">uri</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L854"></a><tt class="py-lineno">854</tt> <tt class="py-line"> </tt>
+<a name="L855"></a><tt class="py-lineno">855</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-193" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
-googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-188', 'request', 'link-59');">request</a></tt> </tt>
-</div><a name="L820"></a><tt class="py-lineno">820</tt> <tt class="py-line"> </tt>
-<a name="L821"></a><tt class="py-lineno">821</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodNext</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L822"></a><tt class="py-lineno">822</tt> <tt class="py-line"> </tt>
-<a name="Resource"></a><div id="Resource-def"><a name="L823"></a><tt class="py-lineno">823</tt> <tt class="py-line"> </tt>
-<a name="L824"></a><tt class="py-lineno">824</tt> <a class="py-toggle" href="#" id="Resource-toggle" onclick="return toggle('Resource');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html">Resource</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Resource-expanded"><a name="L825"></a><tt class="py-lineno">825</tt> <tt class="py-line"> <tt class="py-docstring">"""A class for interacting with a resource."""</tt> </tt>
-<a name="L826"></a><tt class="py-lineno">826</tt> <tt class="py-line"> </tt>
-<a name="Resource.__init__"></a><div id="Resource.__init__-def"><a name="L827"></a><tt class="py-lineno">827</tt> <a class="py-toggle" href="#" id="Resource.__init__-toggle" onclick="return toggle('Resource.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">http</tt><tt class="py-op">,</tt> <tt class="py-param">baseUrl</tt><tt class="py-op">,</tt> <tt class="py-param">model</tt><tt class="py-op">,</tt> <tt class="py-param">requestBuilder</tt><tt class="py-op">,</tt> <tt class="py-param">developerKey</tt><tt class="py-op">,</tt> </tt>
-<a name="L828"></a><tt class="py-lineno">828</tt> <tt class="py-line"> <tt class="py-param">resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-param">rootDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource.__init__-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource.__init__-expanded"><a name="L829"></a><tt class="py-lineno">829</tt> <tt class="py-line"> <tt class="py-docstring">"""Build a Resource from the API description.</tt> </tt>
-<a name="L830"></a><tt class="py-lineno">830</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L831"></a><tt class="py-lineno">831</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L832"></a><tt class="py-lineno">832</tt> <tt class="py-line"><tt class="py-docstring"> http: httplib2.Http, Object to make http requests with.</tt> </tt>
-<a name="L833"></a><tt class="py-lineno">833</tt> <tt class="py-line"><tt class="py-docstring"> baseUrl: string, base URL for the API. All requests are relative to this</tt> </tt>
-<a name="L834"></a><tt class="py-lineno">834</tt> <tt class="py-line"><tt class="py-docstring"> URI.</tt> </tt>
-<a name="L835"></a><tt class="py-lineno">835</tt> <tt class="py-line"><tt class="py-docstring"> model: googleapiclient.Model, converts to and from the wire format.</tt> </tt>
-<a name="L836"></a><tt class="py-lineno">836</tt> <tt class="py-line"><tt class="py-docstring"> requestBuilder: class or callable that instantiates an</tt> </tt>
-<a name="L837"></a><tt class="py-lineno">837</tt> <tt class="py-line"><tt class="py-docstring"> googleapiclient.HttpRequest object.</tt> </tt>
-<a name="L838"></a><tt class="py-lineno">838</tt> <tt class="py-line"><tt class="py-docstring"> developerKey: string, key obtained from</tt> </tt>
-<a name="L839"></a><tt class="py-lineno">839</tt> <tt class="py-line"><tt class="py-docstring"> https://code.google.com/apis/console</tt> </tt>
-<a name="L840"></a><tt class="py-lineno">840</tt> <tt class="py-line"><tt class="py-docstring"> resourceDesc: object, section of deserialized discovery document that</tt> </tt>
-<a name="L841"></a><tt class="py-lineno">841</tt> <tt class="py-line"><tt class="py-docstring"> describes a resource. Note that the top level discovery document</tt> </tt>
-<a name="L842"></a><tt class="py-lineno">842</tt> <tt class="py-line"><tt class="py-docstring"> is considered a resource.</tt> </tt>
-<a name="L843"></a><tt class="py-lineno">843</tt> <tt class="py-line"><tt class="py-docstring"> rootDesc: object, the entire deserialized discovery document.</tt> </tt>
-<a name="L844"></a><tt class="py-lineno">844</tt> <tt class="py-line"><tt class="py-docstring"> schema: object, mapping of schema names to schema descriptions.</tt> </tt>
-<a name="L845"></a><tt class="py-lineno">845</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L846"></a><tt class="py-lineno">846</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dynamic_attrs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
-<a name="L847"></a><tt class="py-lineno">847</tt> <tt class="py-line"> </tt>
-<a name="L848"></a><tt class="py-lineno">848</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_http</tt> <tt class="py-op">=</tt> <tt id="link-189" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-189', 'http', 'link-20');">http</a></tt> </tt>
-<a name="L849"></a><tt class="py-lineno">849</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_baseUrl</tt> <tt class="py-op">=</tt> <tt class="py-name">baseUrl</tt> </tt>
-<a name="L850"></a><tt class="py-lineno">850</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_model</tt> <tt class="py-op">=</tt> <tt id="link-190" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-190', 'model', 'link-29');">model</a></tt> </tt>
-<a name="L851"></a><tt class="py-lineno">851</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_developerKey</tt> <tt class="py-op">=</tt> <tt class="py-name">developerKey</tt> </tt>
-<a name="L852"></a><tt class="py-lineno">852</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requestBuilder</tt> <tt class="py-op">=</tt> <tt class="py-name">requestBuilder</tt> </tt>
-<a name="L853"></a><tt class="py-lineno">853</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_resourceDesc</tt> <tt class="py-op">=</tt> <tt class="py-name">resourceDesc</tt> </tt>
-<a name="L854"></a><tt class="py-lineno">854</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rootDesc</tt> <tt class="py-op">=</tt> <tt class="py-name">rootDesc</tt> </tt>
-<a name="L855"></a><tt class="py-lineno">855</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_schema</tt> <tt class="py-op">=</tt> <tt id="link-191" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-191', 'schema', 'link-38');">schema</a></tt> </tt>
-<a name="L856"></a><tt class="py-lineno">856</tt> <tt class="py-line"> </tt>
-<a name="L857"></a><tt class="py-lineno">857</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-192" class="py-name" targets="Method googleapiclient.discovery.Resource._set_service_methods()=googleapiclient.discovery.Resource-class.html#_set_service_methods"><a title="googleapiclient.discovery.Resource._set_service_methods" class="py-name" href="#" onclick="return doclink('link-192', '_set_service_methods', 'link-192');">_set_service_methods</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-193', 'request', 'link-59');">request</a></tt> </tt>
+</div><a name="L856"></a><tt class="py-lineno">856</tt> <tt class="py-line"> </tt>
+<a name="L857"></a><tt class="py-lineno">857</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodNext</tt><tt class="py-op">)</tt> </tt>
</div><a name="L858"></a><tt class="py-lineno">858</tt> <tt class="py-line"> </tt>
-<a name="Resource._set_dynamic_attr"></a><div id="Resource._set_dynamic_attr-def"><a name="L859"></a><tt class="py-lineno">859</tt> <a class="py-toggle" href="#" id="Resource._set_dynamic_attr-toggle" onclick="return toggle('Resource._set_dynamic_attr');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_set_dynamic_attr">_set_dynamic_attr</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">attr_name</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource._set_dynamic_attr-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._set_dynamic_attr-expanded"><a name="L860"></a><tt class="py-lineno">860</tt> <tt class="py-line"> <tt class="py-docstring">"""Sets an instance attribute and tracks it in a list of dynamic attributes.</tt> </tt>
-<a name="L861"></a><tt class="py-lineno">861</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L862"></a><tt class="py-lineno">862</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L863"></a><tt class="py-lineno">863</tt> <tt class="py-line"><tt class="py-docstring"> attr_name: string; The name of the attribute to be set</tt> </tt>
-<a name="L864"></a><tt class="py-lineno">864</tt> <tt class="py-line"><tt class="py-docstring"> value: The value being set on the object and tracked in the dynamic cache.</tt> </tt>
-<a name="L865"></a><tt class="py-lineno">865</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L866"></a><tt class="py-lineno">866</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dynamic_attrs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">attr_name</tt><tt class="py-op">)</tt> </tt>
-<a name="L867"></a><tt class="py-lineno">867</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">[</tt><tt class="py-name">attr_name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
-</div><a name="L868"></a><tt class="py-lineno">868</tt> <tt class="py-line"> </tt>
-<a name="Resource.__getstate__"></a><div id="Resource.__getstate__-def"><a name="L869"></a><tt class="py-lineno">869</tt> <a class="py-toggle" href="#" id="Resource.__getstate__-toggle" onclick="return toggle('Resource.__getstate__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#__getstate__">__getstate__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource.__getstate__-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource.__getstate__-expanded"><a name="L870"></a><tt class="py-lineno">870</tt> <tt class="py-line"> <tt class="py-docstring">"""Trim the state down to something that can be pickled.</tt> </tt>
-<a name="L871"></a><tt class="py-lineno">871</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L872"></a><tt class="py-lineno">872</tt> <tt class="py-line"><tt class="py-docstring"> Uses the fact that the instance variable _dynamic_attrs holds attrs that</tt> </tt>
-<a name="L873"></a><tt class="py-lineno">873</tt> <tt class="py-line"><tt class="py-docstring"> will be wiped and restored on pickle serialization.</tt> </tt>
-<a name="L874"></a><tt class="py-lineno">874</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L875"></a><tt class="py-lineno">875</tt> <tt class="py-line"> <tt class="py-name">state_dict</tt> <tt class="py-op">=</tt> <tt class="py-name">copy</tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">)</tt> </tt>
-<a name="L876"></a><tt class="py-lineno">876</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">dynamic_attr</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dynamic_attrs</tt><tt class="py-op">:</tt> </tt>
-<a name="L877"></a><tt class="py-lineno">877</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">state_dict</tt><tt class="py-op">[</tt><tt class="py-name">dynamic_attr</tt><tt class="py-op">]</tt> </tt>
-<a name="L878"></a><tt class="py-lineno">878</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">state_dict</tt><tt class="py-op">[</tt><tt class="py-string">'_dynamic_attrs'</tt><tt class="py-op">]</tt> </tt>
-<a name="L879"></a><tt class="py-lineno">879</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">state_dict</tt> </tt>
-</div><a name="L880"></a><tt class="py-lineno">880</tt> <tt class="py-line"> </tt>
-<a name="Resource.__setstate__"></a><div id="Resource.__setstate__-def"><a name="L881"></a><tt class="py-lineno">881</tt> <a class="py-toggle" href="#" id="Resource.__setstate__-toggle" onclick="return toggle('Resource.__setstate__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#__setstate__">__setstate__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">state</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource.__setstate__-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource.__setstate__-expanded"><a name="L882"></a><tt class="py-lineno">882</tt> <tt class="py-line"> <tt class="py-docstring">"""Reconstitute the state of the object from being pickled.</tt> </tt>
-<a name="L883"></a><tt class="py-lineno">883</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L884"></a><tt class="py-lineno">884</tt> <tt class="py-line"><tt class="py-docstring"> Uses the fact that the instance variable _dynamic_attrs holds attrs that</tt> </tt>
-<a name="L885"></a><tt class="py-lineno">885</tt> <tt class="py-line"><tt class="py-docstring"> will be wiped and restored on pickle serialization.</tt> </tt>
-<a name="L886"></a><tt class="py-lineno">886</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L887"></a><tt class="py-lineno">887</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">.</tt><tt id="link-193" class="py-name"><a title="googleapiclient.channel.Channel.update" class="py-name" href="#" onclick="return doclink('link-193', 'update', 'link-92');">update</a></tt><tt class="py-op">(</tt><tt class="py-name">state</tt><tt class="py-op">)</tt> </tt>
-<a name="L888"></a><tt class="py-lineno">888</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dynamic_attrs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
-<a name="L889"></a><tt class="py-lineno">889</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-194" class="py-name"><a title="googleapiclient.discovery.Resource._set_service_methods" class="py-name" href="#" onclick="return doclink('link-194', '_set_service_methods', 'link-192');">_set_service_methods</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L890"></a><tt class="py-lineno">890</tt> <tt class="py-line"> </tt>
-<a name="Resource._set_service_methods"></a><div id="Resource._set_service_methods-def"><a name="L891"></a><tt class="py-lineno">891</tt> <a class="py-toggle" href="#" id="Resource._set_service_methods-toggle" onclick="return toggle('Resource._set_service_methods');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_set_service_methods">_set_service_methods</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource._set_service_methods-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._set_service_methods-expanded"><a name="L892"></a><tt class="py-lineno">892</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-195" class="py-name" targets="Method googleapiclient.discovery.Resource._add_basic_methods()=googleapiclient.discovery.Resource-class.html#_add_basic_methods"><a title="googleapiclient.discovery.Resource._add_basic_methods" class="py-name" href="#" onclick="return doclink('link-195', '_add_basic_methods', 'link-195');">_add_basic_methods</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rootDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_schema</tt><tt class="py-op">)</tt> </tt>
-<a name="L893"></a><tt class="py-lineno">893</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-196" class="py-name" targets="Method googleapiclient.discovery.Resource._add_nested_resources()=googleapiclient.discovery.Resource-class.html#_add_nested_resources"><a title="googleapiclient.discovery.Resource._add_nested_resources" class="py-name" href="#" onclick="return doclink('link-196', '_add_nested_resources', 'link-196');">_add_nested_resources</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rootDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_schema</tt><tt class="py-op">)</tt> </tt>
-<a name="L894"></a><tt class="py-lineno">894</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-197" class="py-name" targets="Method googleapiclient.discovery.Resource._add_next_methods()=googleapiclient.discovery.Resource-class.html#_add_next_methods"><a title="googleapiclient.discovery.Resource._add_next_methods" class="py-name" href="#" onclick="return doclink('link-197', '_add_next_methods', 'link-197');">_add_next_methods</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_schema</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L895"></a><tt class="py-lineno">895</tt> <tt class="py-line"> </tt>
-<a name="Resource._add_basic_methods"></a><div id="Resource._add_basic_methods-def"><a name="L896"></a><tt class="py-lineno">896</tt> <a class="py-toggle" href="#" id="Resource._add_basic_methods-toggle" onclick="return toggle('Resource._add_basic_methods');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_add_basic_methods">_add_basic_methods</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-param">rootDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource._add_basic_methods-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._add_basic_methods-expanded"><a name="L897"></a><tt class="py-lineno">897</tt> <tt class="py-line"> <tt class="py-comment"># Add basic methods to Resource</tt> </tt>
-<a name="L898"></a><tt class="py-lineno">898</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'methods'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">:</tt> </tt>
-<a name="L899"></a><tt class="py-lineno">899</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">[</tt><tt class="py-string">'methods'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L900"></a><tt class="py-lineno">900</tt> <tt class="py-line"> <tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt id="link-198" class="py-name" targets="Function googleapiclient.discovery.createMethod()=googleapiclient.discovery-module.html#createMethod"><a title="googleapiclient.discovery.createMethod" class="py-name" href="#" onclick="return doclink('link-198', 'createMethod', 'link-198');">createMethod</a></tt><tt class="py-op">(</tt> </tt>
-<a name="L901"></a><tt class="py-lineno">901</tt> <tt class="py-line"> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">,</tt> <tt id="link-199" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-199', 'schema', 'link-38');">schema</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L902"></a><tt class="py-lineno">902</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-200" class="py-name" targets="Method googleapiclient.discovery.Resource._set_dynamic_attr()=googleapiclient.discovery.Resource-class.html#_set_dynamic_attr"><a title="googleapiclient.discovery.Resource._set_dynamic_attr" class="py-name" href="#" onclick="return doclink('link-200', '_set_dynamic_attr', 'link-200');">_set_dynamic_attr</a></tt><tt class="py-op">(</tt><tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> </tt>
-<a name="L903"></a><tt class="py-lineno">903</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">.</tt><tt class="py-name">__get__</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L904"></a><tt class="py-lineno">904</tt> <tt class="py-line"> <tt class="py-comment"># Add in _media methods. The functionality of the attached method will</tt> </tt>
-<a name="L905"></a><tt class="py-lineno">905</tt> <tt class="py-line"> <tt class="py-comment"># change when it sees that the method name ends in _media.</tt> </tt>
-<a name="L906"></a><tt class="py-lineno">906</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">.</tt><tt id="link-201" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-201', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'supportsMediaDownload'</tt><tt class="py-op">,</tt> <tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L907"></a><tt class="py-lineno">907</tt> <tt class="py-line"> <tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt id="link-202" class="py-name"><a title="googleapiclient.discovery.createMethod" class="py-name" href="#" onclick="return doclink('link-202', 'createMethod', 'link-198');">createMethod</a></tt><tt class="py-op">(</tt> </tt>
-<a name="L908"></a><tt class="py-lineno">908</tt> <tt class="py-line"> <tt class="py-name">methodName</tt> <tt class="py-op">+</tt> <tt class="py-string">'_media'</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">,</tt> <tt id="link-203" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-203', 'schema', 'link-38');">schema</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L909"></a><tt class="py-lineno">909</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-204" class="py-name"><a title="googleapiclient.discovery.Resource._set_dynamic_attr" class="py-name" href="#" onclick="return doclink('link-204', '_set_dynamic_attr', 'link-200');">_set_dynamic_attr</a></tt><tt class="py-op">(</tt><tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> </tt>
-<a name="L910"></a><tt class="py-lineno">910</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">.</tt><tt class="py-name">__get__</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L911"></a><tt class="py-lineno">911</tt> <tt class="py-line"> </tt>
-<a name="Resource._add_nested_resources"></a><div id="Resource._add_nested_resources-def"><a name="L912"></a><tt class="py-lineno">912</tt> <a class="py-toggle" href="#" id="Resource._add_nested_resources-toggle" onclick="return toggle('Resource._add_nested_resources');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_add_nested_resources">_add_nested_resources</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-param">rootDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource._add_nested_resources-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._add_nested_resources-expanded"><a name="L913"></a><tt class="py-lineno">913</tt> <tt class="py-line"> <tt class="py-comment"># Add in nested resources</tt> </tt>
-<a name="L914"></a><tt class="py-lineno">914</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'resources'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">:</tt> </tt>
-<a name="L915"></a><tt class="py-lineno">915</tt> <tt class="py-line"> </tt>
-<a name="L916"></a><tt class="py-lineno">916</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">createResourceMethod</tt><tt class="py-op">(</tt><tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-param">methodDesc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L917"></a><tt class="py-lineno">917</tt> <tt class="py-line"> <tt class="py-docstring">"""Create a method on the Resource to access a nested Resource.</tt> </tt>
-<a name="L918"></a><tt class="py-lineno">918</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L919"></a><tt class="py-lineno">919</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L920"></a><tt class="py-lineno">920</tt> <tt class="py-line"><tt class="py-docstring"> methodName: string, name of the method to use.</tt> </tt>
-<a name="L921"></a><tt class="py-lineno">921</tt> <tt class="py-line"><tt class="py-docstring"> methodDesc: object, fragment of deserialized discovery document that</tt> </tt>
-<a name="L922"></a><tt class="py-lineno">922</tt> <tt class="py-line"><tt class="py-docstring"> describes the method.</tt> </tt>
-<a name="L923"></a><tt class="py-lineno">923</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L924"></a><tt class="py-lineno">924</tt> <tt class="py-line"> <tt class="py-name">methodName</tt> <tt class="py-op">=</tt> <tt id="link-205" class="py-name"><a title="googleapiclient.discovery.fix_method_name" class="py-name" href="#" onclick="return doclink('link-205', 'fix_method_name', 'link-121');">fix_method_name</a></tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">)</tt> </tt>
-<a name="L925"></a><tt class="py-lineno">925</tt> <tt class="py-line"> </tt>
-<a name="L926"></a><tt class="py-lineno">926</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">methodResource</tt><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L927"></a><tt class="py-lineno">927</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-206" class="py-name"><a title="googleapiclient.discovery.Resource" class="py-name" href="#" onclick="return doclink('link-206', 'Resource', 'link-76');">Resource</a></tt><tt class="py-op">(</tt><tt id="link-207" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-207', 'http', 'link-20');">http</a></tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_http</tt><tt class="py-op">,</tt> <tt class="py-name">baseUrl</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_baseUrl</tt><tt class="py-op">,</tt> </tt>
-<a name="L928"></a><tt class="py-lineno">928</tt> <tt class="py-line"> <tt id="link-208" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-208', 'model', 'link-29');">model</a></tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_model</tt><tt class="py-op">,</tt> <tt class="py-name">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_developerKey</tt><tt class="py-op">,</tt> </tt>
-<a name="L929"></a><tt class="py-lineno">929</tt> <tt class="py-line"> <tt class="py-name">requestBuilder</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requestBuilder</tt><tt class="py-op">,</tt> </tt>
-<a name="L930"></a><tt class="py-lineno">930</tt> <tt class="py-line"> <tt class="py-name">resourceDesc</tt><tt class="py-op">=</tt><tt class="py-name">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">=</tt><tt class="py-name">rootDesc</tt><tt class="py-op">,</tt> </tt>
-<a name="L931"></a><tt class="py-lineno">931</tt> <tt class="py-line"> <tt id="link-209" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-209', 'schema', 'link-38');">schema</a></tt><tt class="py-op">=</tt><tt id="link-210" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-210', 'schema', 'link-38');">schema</a></tt><tt class="py-op">)</tt> </tt>
-</div><a name="L932"></a><tt class="py-lineno">932</tt> <tt class="py-line"> </tt>
-<a name="L933"></a><tt class="py-lineno">933</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">methodResource</tt><tt class="py-op">,</tt> <tt class="py-string">'__doc__'</tt><tt class="py-op">,</tt> <tt class="py-string">'A collection resource.'</tt><tt class="py-op">)</tt> </tt>
-<a name="L934"></a><tt class="py-lineno">934</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">methodResource</tt><tt class="py-op">,</tt> <tt class="py-string">'__is_resource__'</tt><tt class="py-op">,</tt> <tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
-<a name="L935"></a><tt class="py-lineno">935</tt> <tt class="py-line"> </tt>
-<a name="L936"></a><tt class="py-lineno">936</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodResource</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L937"></a><tt class="py-lineno">937</tt> <tt class="py-line"> </tt>
-<a name="L938"></a><tt class="py-lineno">938</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">[</tt><tt class="py-string">'resources'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L939"></a><tt class="py-lineno">939</tt> <tt class="py-line"> <tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-name">createResourceMethod</tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">)</tt> </tt>
-<a name="L940"></a><tt class="py-lineno">940</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-211" class="py-name"><a title="googleapiclient.discovery.Resource._set_dynamic_attr" class="py-name" href="#" onclick="return doclink('link-211', '_set_dynamic_attr', 'link-200');">_set_dynamic_attr</a></tt><tt class="py-op">(</tt><tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> </tt>
-<a name="L941"></a><tt class="py-lineno">941</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">.</tt><tt class="py-name">__get__</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L942"></a><tt class="py-lineno">942</tt> <tt class="py-line"> </tt>
-<a name="Resource._add_next_methods"></a><div id="Resource._add_next_methods-def"><a name="L943"></a><tt class="py-lineno">943</tt> <a class="py-toggle" href="#" id="Resource._add_next_methods-toggle" onclick="return toggle('Resource._add_next_methods');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_add_next_methods">_add_next_methods</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="Resource._add_next_methods-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._add_next_methods-expanded"><a name="L944"></a><tt class="py-lineno">944</tt> <tt class="py-line"> <tt class="py-comment"># Add _next() methods</tt> </tt>
-<a name="L945"></a><tt class="py-lineno">945</tt> <tt class="py-line"> <tt class="py-comment"># Look for response bodies in schema that contain nextPageToken, and methods</tt> </tt>
-<a name="L946"></a><tt class="py-lineno">946</tt> <tt class="py-line"> <tt class="py-comment"># that take a pageToken parameter.</tt> </tt>
-<a name="L947"></a><tt class="py-lineno">947</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'methods'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">:</tt> </tt>
-<a name="L948"></a><tt class="py-lineno">948</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">[</tt><tt class="py-string">'methods'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L949"></a><tt class="py-lineno">949</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'response'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">:</tt> </tt>
-<a name="L950"></a><tt class="py-lineno">950</tt> <tt class="py-line"> <tt class="py-name">responseSchema</tt> <tt class="py-op">=</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">[</tt><tt class="py-string">'response'</tt><tt class="py-op">]</tt> </tt>
-<a name="L951"></a><tt class="py-lineno">951</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'$ref'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">responseSchema</tt><tt class="py-op">:</tt> </tt>
-<a name="L952"></a><tt class="py-lineno">952</tt> <tt class="py-line"> <tt class="py-name">responseSchema</tt> <tt class="py-op">=</tt> <tt id="link-212" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-212', 'schema', 'link-38');">schema</a></tt><tt class="py-op">.</tt><tt id="link-213" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-213', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">responseSchema</tt><tt class="py-op">[</tt><tt class="py-string">'$ref'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L953"></a><tt class="py-lineno">953</tt> <tt class="py-line"> <tt class="py-name">hasNextPageToken</tt> <tt class="py-op">=</tt> <tt class="py-string">'nextPageToken'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">responseSchema</tt><tt class="py-op">.</tt><tt id="link-214" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-214', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'properties'</tt><tt class="py-op">,</tt> </tt>
-<a name="L954"></a><tt class="py-lineno">954</tt> <tt class="py-line"> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
-<a name="L955"></a><tt class="py-lineno">955</tt> <tt class="py-line"> <tt class="py-name">hasPageToken</tt> <tt class="py-op">=</tt> <tt class="py-string">'pageToken'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">.</tt><tt id="link-215" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-215', 'get', 'link-73');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
-<a name="L956"></a><tt class="py-lineno">956</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasNextPageToken</tt> <tt class="py-keyword">and</tt> <tt class="py-name">hasPageToken</tt><tt class="py-op">:</tt> </tt>
-<a name="L957"></a><tt class="py-lineno">957</tt> <tt class="py-line"> <tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt id="link-216" class="py-name" targets="Function googleapiclient.discovery.createNextMethod()=googleapiclient.discovery-module.html#createNextMethod"><a title="googleapiclient.discovery.createNextMethod" class="py-name" href="#" onclick="return doclink('link-216', 'createNextMethod', 'link-216');">createNextMethod</a></tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt> <tt class="py-op">+</tt> <tt class="py-string">'_next'</tt><tt class="py-op">)</tt> </tt>
-<a name="L958"></a><tt class="py-lineno">958</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-217" class="py-name"><a title="googleapiclient.discovery.Resource._set_dynamic_attr" class="py-name" href="#" onclick="return doclink('link-217', '_set_dynamic_attr', 'link-200');">_set_dynamic_attr</a></tt><tt class="py-op">(</tt><tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> </tt>
-<a name="L959"></a><tt class="py-lineno">959</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">.</tt><tt class="py-name">__get__</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L960"></a><tt class="py-lineno">960</tt> <tt class="py-line"> </tt><script type="text/javascript">
+<a name="Resource"></a><div id="Resource-def"><a name="L859"></a><tt class="py-lineno">859</tt> <tt class="py-line"> </tt>
+<a name="L860"></a><tt class="py-lineno">860</tt> <a class="py-toggle" href="#" id="Resource-toggle" onclick="return toggle('Resource');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html">Resource</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Resource-expanded"><a name="L861"></a><tt class="py-lineno">861</tt> <tt class="py-line"> <tt class="py-docstring">"""A class for interacting with a resource."""</tt> </tt>
+<a name="L862"></a><tt class="py-lineno">862</tt> <tt class="py-line"> </tt>
+<a name="Resource.__init__"></a><div id="Resource.__init__-def"><a name="L863"></a><tt class="py-lineno">863</tt> <a class="py-toggle" href="#" id="Resource.__init__-toggle" onclick="return toggle('Resource.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">http</tt><tt class="py-op">,</tt> <tt class="py-param">baseUrl</tt><tt class="py-op">,</tt> <tt class="py-param">model</tt><tt class="py-op">,</tt> <tt class="py-param">requestBuilder</tt><tt class="py-op">,</tt> <tt class="py-param">developerKey</tt><tt class="py-op">,</tt> </tt>
+<a name="L864"></a><tt class="py-lineno">864</tt> <tt class="py-line"> <tt class="py-param">resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-param">rootDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource.__init__-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource.__init__-expanded"><a name="L865"></a><tt class="py-lineno">865</tt> <tt class="py-line"> <tt class="py-docstring">"""Build a Resource from the API description.</tt> </tt>
+<a name="L866"></a><tt class="py-lineno">866</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L867"></a><tt class="py-lineno">867</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L868"></a><tt class="py-lineno">868</tt> <tt class="py-line"><tt class="py-docstring"> http: httplib2.Http, Object to make http requests with.</tt> </tt>
+<a name="L869"></a><tt class="py-lineno">869</tt> <tt class="py-line"><tt class="py-docstring"> baseUrl: string, base URL for the API. All requests are relative to this</tt> </tt>
+<a name="L870"></a><tt class="py-lineno">870</tt> <tt class="py-line"><tt class="py-docstring"> URI.</tt> </tt>
+<a name="L871"></a><tt class="py-lineno">871</tt> <tt class="py-line"><tt class="py-docstring"> model: googleapiclient.Model, converts to and from the wire format.</tt> </tt>
+<a name="L872"></a><tt class="py-lineno">872</tt> <tt class="py-line"><tt class="py-docstring"> requestBuilder: class or callable that instantiates an</tt> </tt>
+<a name="L873"></a><tt class="py-lineno">873</tt> <tt class="py-line"><tt class="py-docstring"> googleapiclient.HttpRequest object.</tt> </tt>
+<a name="L874"></a><tt class="py-lineno">874</tt> <tt class="py-line"><tt class="py-docstring"> developerKey: string, key obtained from</tt> </tt>
+<a name="L875"></a><tt class="py-lineno">875</tt> <tt class="py-line"><tt class="py-docstring"> https://code.google.com/apis/console</tt> </tt>
+<a name="L876"></a><tt class="py-lineno">876</tt> <tt class="py-line"><tt class="py-docstring"> resourceDesc: object, section of deserialized discovery document that</tt> </tt>
+<a name="L877"></a><tt class="py-lineno">877</tt> <tt class="py-line"><tt class="py-docstring"> describes a resource. Note that the top level discovery document</tt> </tt>
+<a name="L878"></a><tt class="py-lineno">878</tt> <tt class="py-line"><tt class="py-docstring"> is considered a resource.</tt> </tt>
+<a name="L879"></a><tt class="py-lineno">879</tt> <tt class="py-line"><tt class="py-docstring"> rootDesc: object, the entire deserialized discovery document.</tt> </tt>
+<a name="L880"></a><tt class="py-lineno">880</tt> <tt class="py-line"><tt class="py-docstring"> schema: object, mapping of schema names to schema descriptions.</tt> </tt>
+<a name="L881"></a><tt class="py-lineno">881</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L882"></a><tt class="py-lineno">882</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dynamic_attrs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L883"></a><tt class="py-lineno">883</tt> <tt class="py-line"> </tt>
+<a name="L884"></a><tt class="py-lineno">884</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_http</tt> <tt class="py-op">=</tt> <tt id="link-194" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-194', 'http', 'link-20');">http</a></tt> </tt>
+<a name="L885"></a><tt class="py-lineno">885</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_baseUrl</tt> <tt class="py-op">=</tt> <tt class="py-name">baseUrl</tt> </tt>
+<a name="L886"></a><tt class="py-lineno">886</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_model</tt> <tt class="py-op">=</tt> <tt id="link-195" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-195', 'model', 'link-29');">model</a></tt> </tt>
+<a name="L887"></a><tt class="py-lineno">887</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_developerKey</tt> <tt class="py-op">=</tt> <tt class="py-name">developerKey</tt> </tt>
+<a name="L888"></a><tt class="py-lineno">888</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requestBuilder</tt> <tt class="py-op">=</tt> <tt class="py-name">requestBuilder</tt> </tt>
+<a name="L889"></a><tt class="py-lineno">889</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_resourceDesc</tt> <tt class="py-op">=</tt> <tt class="py-name">resourceDesc</tt> </tt>
+<a name="L890"></a><tt class="py-lineno">890</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rootDesc</tt> <tt class="py-op">=</tt> <tt class="py-name">rootDesc</tt> </tt>
+<a name="L891"></a><tt class="py-lineno">891</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_schema</tt> <tt class="py-op">=</tt> <tt id="link-196" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-196', 'schema', 'link-38');">schema</a></tt> </tt>
+<a name="L892"></a><tt class="py-lineno">892</tt> <tt class="py-line"> </tt>
+<a name="L893"></a><tt class="py-lineno">893</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-197" class="py-name" targets="Method googleapiclient.discovery.Resource._set_service_methods()=googleapiclient.discovery.Resource-class.html#_set_service_methods"><a title="googleapiclient.discovery.Resource._set_service_methods" class="py-name" href="#" onclick="return doclink('link-197', '_set_service_methods', 'link-197');">_set_service_methods</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L894"></a><tt class="py-lineno">894</tt> <tt class="py-line"> </tt>
+<a name="Resource._set_dynamic_attr"></a><div id="Resource._set_dynamic_attr-def"><a name="L895"></a><tt class="py-lineno">895</tt> <a class="py-toggle" href="#" id="Resource._set_dynamic_attr-toggle" onclick="return toggle('Resource._set_dynamic_attr');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_set_dynamic_attr">_set_dynamic_attr</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">attr_name</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource._set_dynamic_attr-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._set_dynamic_attr-expanded"><a name="L896"></a><tt class="py-lineno">896</tt> <tt class="py-line"> <tt class="py-docstring">"""Sets an instance attribute and tracks it in a list of dynamic attributes.</tt> </tt>
+<a name="L897"></a><tt class="py-lineno">897</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L898"></a><tt class="py-lineno">898</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L899"></a><tt class="py-lineno">899</tt> <tt class="py-line"><tt class="py-docstring"> attr_name: string; The name of the attribute to be set</tt> </tt>
+<a name="L900"></a><tt class="py-lineno">900</tt> <tt class="py-line"><tt class="py-docstring"> value: The value being set on the object and tracked in the dynamic cache.</tt> </tt>
+<a name="L901"></a><tt class="py-lineno">901</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L902"></a><tt class="py-lineno">902</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dynamic_attrs</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">attr_name</tt><tt class="py-op">)</tt> </tt>
+<a name="L903"></a><tt class="py-lineno">903</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">[</tt><tt class="py-name">attr_name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
+</div><a name="L904"></a><tt class="py-lineno">904</tt> <tt class="py-line"> </tt>
+<a name="Resource.__getstate__"></a><div id="Resource.__getstate__-def"><a name="L905"></a><tt class="py-lineno">905</tt> <a class="py-toggle" href="#" id="Resource.__getstate__-toggle" onclick="return toggle('Resource.__getstate__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#__getstate__">__getstate__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource.__getstate__-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource.__getstate__-expanded"><a name="L906"></a><tt class="py-lineno">906</tt> <tt class="py-line"> <tt class="py-docstring">"""Trim the state down to something that can be pickled.</tt> </tt>
+<a name="L907"></a><tt class="py-lineno">907</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L908"></a><tt class="py-lineno">908</tt> <tt class="py-line"><tt class="py-docstring"> Uses the fact that the instance variable _dynamic_attrs holds attrs that</tt> </tt>
+<a name="L909"></a><tt class="py-lineno">909</tt> <tt class="py-line"><tt class="py-docstring"> will be wiped and restored on pickle serialization.</tt> </tt>
+<a name="L910"></a><tt class="py-lineno">910</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L911"></a><tt class="py-lineno">911</tt> <tt class="py-line"> <tt class="py-name">state_dict</tt> <tt class="py-op">=</tt> <tt class="py-name">copy</tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">)</tt> </tt>
+<a name="L912"></a><tt class="py-lineno">912</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">dynamic_attr</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dynamic_attrs</tt><tt class="py-op">:</tt> </tt>
+<a name="L913"></a><tt class="py-lineno">913</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">state_dict</tt><tt class="py-op">[</tt><tt class="py-name">dynamic_attr</tt><tt class="py-op">]</tt> </tt>
+<a name="L914"></a><tt class="py-lineno">914</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">state_dict</tt><tt class="py-op">[</tt><tt class="py-string">'_dynamic_attrs'</tt><tt class="py-op">]</tt> </tt>
+<a name="L915"></a><tt class="py-lineno">915</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">state_dict</tt> </tt>
+</div><a name="L916"></a><tt class="py-lineno">916</tt> <tt class="py-line"> </tt>
+<a name="Resource.__setstate__"></a><div id="Resource.__setstate__-def"><a name="L917"></a><tt class="py-lineno">917</tt> <a class="py-toggle" href="#" id="Resource.__setstate__-toggle" onclick="return toggle('Resource.__setstate__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#__setstate__">__setstate__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">state</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource.__setstate__-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource.__setstate__-expanded"><a name="L918"></a><tt class="py-lineno">918</tt> <tt class="py-line"> <tt class="py-docstring">"""Reconstitute the state of the object from being pickled.</tt> </tt>
+<a name="L919"></a><tt class="py-lineno">919</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L920"></a><tt class="py-lineno">920</tt> <tt class="py-line"><tt class="py-docstring"> Uses the fact that the instance variable _dynamic_attrs holds attrs that</tt> </tt>
+<a name="L921"></a><tt class="py-lineno">921</tt> <tt class="py-line"><tt class="py-docstring"> will be wiped and restored on pickle serialization.</tt> </tt>
+<a name="L922"></a><tt class="py-lineno">922</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L923"></a><tt class="py-lineno">923</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">.</tt><tt id="link-198" class="py-name"><a title="googleapiclient.channel.Channel.update" class="py-name" href="#" onclick="return doclink('link-198', 'update', 'link-97');">update</a></tt><tt class="py-op">(</tt><tt class="py-name">state</tt><tt class="py-op">)</tt> </tt>
+<a name="L924"></a><tt class="py-lineno">924</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dynamic_attrs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L925"></a><tt class="py-lineno">925</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-199" class="py-name"><a title="googleapiclient.discovery.Resource._set_service_methods" class="py-name" href="#" onclick="return doclink('link-199', '_set_service_methods', 'link-197');">_set_service_methods</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L926"></a><tt class="py-lineno">926</tt> <tt class="py-line"> </tt>
+<a name="Resource._set_service_methods"></a><div id="Resource._set_service_methods-def"><a name="L927"></a><tt class="py-lineno">927</tt> <a class="py-toggle" href="#" id="Resource._set_service_methods-toggle" onclick="return toggle('Resource._set_service_methods');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_set_service_methods">_set_service_methods</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource._set_service_methods-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._set_service_methods-expanded"><a name="L928"></a><tt class="py-lineno">928</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-200" class="py-name" targets="Method googleapiclient.discovery.Resource._add_basic_methods()=googleapiclient.discovery.Resource-class.html#_add_basic_methods"><a title="googleapiclient.discovery.Resource._add_basic_methods" class="py-name" href="#" onclick="return doclink('link-200', '_add_basic_methods', 'link-200');">_add_basic_methods</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rootDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_schema</tt><tt class="py-op">)</tt> </tt>
+<a name="L929"></a><tt class="py-lineno">929</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-201" class="py-name" targets="Method googleapiclient.discovery.Resource._add_nested_resources()=googleapiclient.discovery.Resource-class.html#_add_nested_resources"><a title="googleapiclient.discovery.Resource._add_nested_resources" class="py-name" href="#" onclick="return doclink('link-201', '_add_nested_resources', 'link-201');">_add_nested_resources</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rootDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_schema</tt><tt class="py-op">)</tt> </tt>
+<a name="L930"></a><tt class="py-lineno">930</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-202" class="py-name" targets="Method googleapiclient.discovery.Resource._add_next_methods()=googleapiclient.discovery.Resource-class.html#_add_next_methods"><a title="googleapiclient.discovery.Resource._add_next_methods" class="py-name" href="#" onclick="return doclink('link-202', '_add_next_methods', 'link-202');">_add_next_methods</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_schema</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L931"></a><tt class="py-lineno">931</tt> <tt class="py-line"> </tt>
+<a name="Resource._add_basic_methods"></a><div id="Resource._add_basic_methods-def"><a name="L932"></a><tt class="py-lineno">932</tt> <a class="py-toggle" href="#" id="Resource._add_basic_methods-toggle" onclick="return toggle('Resource._add_basic_methods');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_add_basic_methods">_add_basic_methods</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-param">rootDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource._add_basic_methods-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._add_basic_methods-expanded"><a name="L933"></a><tt class="py-lineno">933</tt> <tt class="py-line"> <tt class="py-comment"># Add basic methods to Resource</tt> </tt>
+<a name="L934"></a><tt class="py-lineno">934</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'methods'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">:</tt> </tt>
+<a name="L935"></a><tt class="py-lineno">935</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">[</tt><tt class="py-string">'methods'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L936"></a><tt class="py-lineno">936</tt> <tt class="py-line"> <tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt id="link-203" class="py-name" targets="Function googleapiclient.discovery.createMethod()=googleapiclient.discovery-module.html#createMethod"><a title="googleapiclient.discovery.createMethod" class="py-name" href="#" onclick="return doclink('link-203', 'createMethod', 'link-203');">createMethod</a></tt><tt class="py-op">(</tt> </tt>
+<a name="L937"></a><tt class="py-lineno">937</tt> <tt class="py-line"> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">,</tt> <tt id="link-204" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-204', 'schema', 'link-38');">schema</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L938"></a><tt class="py-lineno">938</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-205" class="py-name" targets="Method googleapiclient.discovery.Resource._set_dynamic_attr()=googleapiclient.discovery.Resource-class.html#_set_dynamic_attr"><a title="googleapiclient.discovery.Resource._set_dynamic_attr" class="py-name" href="#" onclick="return doclink('link-205', '_set_dynamic_attr', 'link-205');">_set_dynamic_attr</a></tt><tt class="py-op">(</tt><tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> </tt>
+<a name="L939"></a><tt class="py-lineno">939</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">.</tt><tt class="py-name">__get__</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L940"></a><tt class="py-lineno">940</tt> <tt class="py-line"> <tt class="py-comment"># Add in _media methods. The functionality of the attached method will</tt> </tt>
+<a name="L941"></a><tt class="py-lineno">941</tt> <tt class="py-line"> <tt class="py-comment"># change when it sees that the method name ends in _media.</tt> </tt>
+<a name="L942"></a><tt class="py-lineno">942</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">.</tt><tt id="link-206" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-206', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'supportsMediaDownload'</tt><tt class="py-op">,</tt> <tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L943"></a><tt class="py-lineno">943</tt> <tt class="py-line"> <tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt id="link-207" class="py-name"><a title="googleapiclient.discovery.createMethod" class="py-name" href="#" onclick="return doclink('link-207', 'createMethod', 'link-203');">createMethod</a></tt><tt class="py-op">(</tt> </tt>
+<a name="L944"></a><tt class="py-lineno">944</tt> <tt class="py-line"> <tt class="py-name">methodName</tt> <tt class="py-op">+</tt> <tt class="py-string">'_media'</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">,</tt> <tt id="link-208" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-208', 'schema', 'link-38');">schema</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L945"></a><tt class="py-lineno">945</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-209" class="py-name"><a title="googleapiclient.discovery.Resource._set_dynamic_attr" class="py-name" href="#" onclick="return doclink('link-209', '_set_dynamic_attr', 'link-205');">_set_dynamic_attr</a></tt><tt class="py-op">(</tt><tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> </tt>
+<a name="L946"></a><tt class="py-lineno">946</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">.</tt><tt class="py-name">__get__</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L947"></a><tt class="py-lineno">947</tt> <tt class="py-line"> </tt>
+<a name="Resource._add_nested_resources"></a><div id="Resource._add_nested_resources-def"><a name="L948"></a><tt class="py-lineno">948</tt> <a class="py-toggle" href="#" id="Resource._add_nested_resources-toggle" onclick="return toggle('Resource._add_nested_resources');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_add_nested_resources">_add_nested_resources</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-param">rootDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource._add_nested_resources-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._add_nested_resources-expanded"><a name="L949"></a><tt class="py-lineno">949</tt> <tt class="py-line"> <tt class="py-comment"># Add in nested resources</tt> </tt>
+<a name="L950"></a><tt class="py-lineno">950</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'resources'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">:</tt> </tt>
+<a name="L951"></a><tt class="py-lineno">951</tt> <tt class="py-line"> </tt>
+<a name="L952"></a><tt class="py-lineno">952</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">createResourceMethod</tt><tt class="py-op">(</tt><tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-param">methodDesc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L953"></a><tt class="py-lineno">953</tt> <tt class="py-line"> <tt class="py-docstring">"""Create a method on the Resource to access a nested Resource.</tt> </tt>
+<a name="L954"></a><tt class="py-lineno">954</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L955"></a><tt class="py-lineno">955</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L956"></a><tt class="py-lineno">956</tt> <tt class="py-line"><tt class="py-docstring"> methodName: string, name of the method to use.</tt> </tt>
+<a name="L957"></a><tt class="py-lineno">957</tt> <tt class="py-line"><tt class="py-docstring"> methodDesc: object, fragment of deserialized discovery document that</tt> </tt>
+<a name="L958"></a><tt class="py-lineno">958</tt> <tt class="py-line"><tt class="py-docstring"> describes the method.</tt> </tt>
+<a name="L959"></a><tt class="py-lineno">959</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L960"></a><tt class="py-lineno">960</tt> <tt class="py-line"> <tt class="py-name">methodName</tt> <tt class="py-op">=</tt> <tt id="link-210" class="py-name"><a title="googleapiclient.discovery.fix_method_name" class="py-name" href="#" onclick="return doclink('link-210', 'fix_method_name', 'link-126');">fix_method_name</a></tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">)</tt> </tt>
+<a name="L961"></a><tt class="py-lineno">961</tt> <tt class="py-line"> </tt>
+<a name="L962"></a><tt class="py-lineno">962</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">methodResource</tt><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L963"></a><tt class="py-lineno">963</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-211" class="py-name"><a title="googleapiclient.discovery.Resource" class="py-name" href="#" onclick="return doclink('link-211', 'Resource', 'link-81');">Resource</a></tt><tt class="py-op">(</tt><tt id="link-212" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-212', 'http', 'link-20');">http</a></tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_http</tt><tt class="py-op">,</tt> <tt class="py-name">baseUrl</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_baseUrl</tt><tt class="py-op">,</tt> </tt>
+<a name="L964"></a><tt class="py-lineno">964</tt> <tt class="py-line"> <tt id="link-213" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-213', 'model', 'link-29');">model</a></tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_model</tt><tt class="py-op">,</tt> <tt class="py-name">developerKey</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_developerKey</tt><tt class="py-op">,</tt> </tt>
+<a name="L965"></a><tt class="py-lineno">965</tt> <tt class="py-line"> <tt class="py-name">requestBuilder</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requestBuilder</tt><tt class="py-op">,</tt> </tt>
+<a name="L966"></a><tt class="py-lineno">966</tt> <tt class="py-line"> <tt class="py-name">resourceDesc</tt><tt class="py-op">=</tt><tt class="py-name">methodDesc</tt><tt class="py-op">,</tt> <tt class="py-name">rootDesc</tt><tt class="py-op">=</tt><tt class="py-name">rootDesc</tt><tt class="py-op">,</tt> </tt>
+<a name="L967"></a><tt class="py-lineno">967</tt> <tt class="py-line"> <tt id="link-214" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-214', 'schema', 'link-38');">schema</a></tt><tt class="py-op">=</tt><tt id="link-215" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-215', 'schema', 'link-38');">schema</a></tt><tt class="py-op">)</tt> </tt>
+</div><a name="L968"></a><tt class="py-lineno">968</tt> <tt class="py-line"> </tt>
+<a name="L969"></a><tt class="py-lineno">969</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">methodResource</tt><tt class="py-op">,</tt> <tt class="py-string">'__doc__'</tt><tt class="py-op">,</tt> <tt class="py-string">'A collection resource.'</tt><tt class="py-op">)</tt> </tt>
+<a name="L970"></a><tt class="py-lineno">970</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">methodResource</tt><tt class="py-op">,</tt> <tt class="py-string">'__is_resource__'</tt><tt class="py-op">,</tt> <tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
+<a name="L971"></a><tt class="py-lineno">971</tt> <tt class="py-line"> </tt>
+<a name="L972"></a><tt class="py-lineno">972</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodResource</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L973"></a><tt class="py-lineno">973</tt> <tt class="py-line"> </tt>
+<a name="L974"></a><tt class="py-lineno">974</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">[</tt><tt class="py-string">'resources'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L975"></a><tt class="py-lineno">975</tt> <tt class="py-line"> <tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-name">createResourceMethod</tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">)</tt> </tt>
+<a name="L976"></a><tt class="py-lineno">976</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-216" class="py-name"><a title="googleapiclient.discovery.Resource._set_dynamic_attr" class="py-name" href="#" onclick="return doclink('link-216', '_set_dynamic_attr', 'link-205');">_set_dynamic_attr</a></tt><tt class="py-op">(</tt><tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> </tt>
+<a name="L977"></a><tt class="py-lineno">977</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">.</tt><tt class="py-name">__get__</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L978"></a><tt class="py-lineno">978</tt> <tt class="py-line"> </tt>
+<a name="Resource._add_next_methods"></a><div id="Resource._add_next_methods-def"><a name="L979"></a><tt class="py-lineno">979</tt> <a class="py-toggle" href="#" id="Resource._add_next_methods-toggle" onclick="return toggle('Resource._add_next_methods');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.discovery.Resource-class.html#_add_next_methods">_add_next_methods</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">resourceDesc</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Resource._add_next_methods-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="Resource._add_next_methods-expanded"><a name="L980"></a><tt class="py-lineno">980</tt> <tt class="py-line"> <tt class="py-comment"># Add _next() methods</tt> </tt>
+<a name="L981"></a><tt class="py-lineno">981</tt> <tt class="py-line"> <tt class="py-comment"># Look for response bodies in schema that contain nextPageToken, and methods</tt> </tt>
+<a name="L982"></a><tt class="py-lineno">982</tt> <tt class="py-line"> <tt class="py-comment"># that take a pageToken parameter.</tt> </tt>
+<a name="L983"></a><tt class="py-lineno">983</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'methods'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">:</tt> </tt>
+<a name="L984"></a><tt class="py-lineno">984</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">methodDesc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">resourceDesc</tt><tt class="py-op">[</tt><tt class="py-string">'methods'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L985"></a><tt class="py-lineno">985</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'response'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">:</tt> </tt>
+<a name="L986"></a><tt class="py-lineno">986</tt> <tt class="py-line"> <tt class="py-name">responseSchema</tt> <tt class="py-op">=</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">[</tt><tt class="py-string">'response'</tt><tt class="py-op">]</tt> </tt>
+<a name="L987"></a><tt class="py-lineno">987</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'$ref'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">responseSchema</tt><tt class="py-op">:</tt> </tt>
+<a name="L988"></a><tt class="py-lineno">988</tt> <tt class="py-line"> <tt class="py-name">responseSchema</tt> <tt class="py-op">=</tt> <tt id="link-217" class="py-name"><a title="googleapiclient.schema" class="py-name" href="#" onclick="return doclink('link-217', 'schema', 'link-38');">schema</a></tt><tt class="py-op">.</tt><tt id="link-218" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-218', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">responseSchema</tt><tt class="py-op">[</tt><tt class="py-string">'$ref'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L989"></a><tt class="py-lineno">989</tt> <tt class="py-line"> <tt class="py-name">hasNextPageToken</tt> <tt class="py-op">=</tt> <tt class="py-string">'nextPageToken'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">responseSchema</tt><tt class="py-op">.</tt><tt id="link-219" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-219', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'properties'</tt><tt class="py-op">,</tt> </tt>
+<a name="L990"></a><tt class="py-lineno">990</tt> <tt class="py-line"> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
+<a name="L991"></a><tt class="py-lineno">991</tt> <tt class="py-line"> <tt class="py-name">hasPageToken</tt> <tt class="py-op">=</tt> <tt class="py-string">'pageToken'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">methodDesc</tt><tt class="py-op">.</tt><tt id="link-220" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-220', 'get', 'link-72');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'parameters'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
+<a name="L992"></a><tt class="py-lineno">992</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasNextPageToken</tt> <tt class="py-keyword">and</tt> <tt class="py-name">hasPageToken</tt><tt class="py-op">:</tt> </tt>
+<a name="L993"></a><tt class="py-lineno">993</tt> <tt class="py-line"> <tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt id="link-221" class="py-name" targets="Function googleapiclient.discovery.createNextMethod()=googleapiclient.discovery-module.html#createNextMethod"><a title="googleapiclient.discovery.createNextMethod" class="py-name" href="#" onclick="return doclink('link-221', 'createNextMethod', 'link-221');">createNextMethod</a></tt><tt class="py-op">(</tt><tt class="py-name">methodName</tt> <tt class="py-op">+</tt> <tt class="py-string">'_next'</tt><tt class="py-op">)</tt> </tt>
+<a name="L994"></a><tt class="py-lineno">994</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-222" class="py-name"><a title="googleapiclient.discovery.Resource._set_dynamic_attr" class="py-name" href="#" onclick="return doclink('link-222', '_set_dynamic_attr', 'link-205');">_set_dynamic_attr</a></tt><tt class="py-op">(</tt><tt class="py-name">fixedMethodName</tt><tt class="py-op">,</tt> </tt>
+<a name="L995"></a><tt class="py-lineno">995</tt> <tt class="py-line"> <tt class="py-name">method</tt><tt class="py-op">.</tt><tt class="py-name">__get__</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L996"></a><tt class="py-lineno">996</tt> <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
@@ -1105,7 +1141,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.discovery.Resource-class.html b/docs/epy/googleapiclient.discovery.Resource-class.html
index ca589e7..a44483b 100644
--- a/docs/epy/googleapiclient.discovery.Resource-class.html
+++ b/docs/epy/googleapiclient.discovery.Resource-class.html
@@ -59,10 +59,10 @@
<h1 class="epydoc">Class Resource</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.discovery-pysrc.html#Resource">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_3" name="uml_class_diagram_for_googleap_3">
-<area shape="rect" id="node2" href="googleapiclient.discovery.Resource-class.html#__init__" title="Build a Resource from the API description." alt="" coords="17,39,607,57"/>
-<area shape="rect" id="node2" href="googleapiclient.discovery.Resource-class.html#__getstate__" title="Trim the state down to something that can be pickled." alt="" coords="17,57,607,76"/>
-<area shape="rect" id="node2" href="googleapiclient.discovery.Resource-class.html#__setstate__" title="Reconstitute the state of the object from being pickled." alt="" coords="17,76,607,95"/>
-<area shape="rect" id="node1" href="googleapiclient.discovery.Resource-class.html" title="A class for interacting with a resource." alt="" coords="5,6,619,101"/>
+<area shape="rect" id="node1_3" href="googleapiclient.discovery.Resource-class.html#__init__" title="Build a Resource from the API description." alt="" coords="18,36,611,55"/>
+<area shape="rect" id="node1_4" href="googleapiclient.discovery.Resource-class.html#__getstate__" title="Trim the state down to something that can be pickled." alt="" coords="18,55,611,73"/>
+<area shape="rect" id="node1_5" href="googleapiclient.discovery.Resource-class.html#__setstate__" title="Reconstitute the state of the object from being pickled." alt="" coords="18,73,611,92"/>
+<area shape="rect" id="node1" href="googleapiclient.discovery.Resource-class.html" title="A class for interacting with a resource." alt="" coords="5,5,623,99"/>
</map>
<img src="uml_class_diagram_for_googleap_3.gif" alt='' usemap="#uml_class_diagram_for_googleap_3" ismap="ismap" class="graph-without-title" />
</center>
@@ -458,7 +458,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.discovery.ResourceMethodParameters-class.html b/docs/epy/googleapiclient.discovery.ResourceMethodParameters-class.html
index 52d255a..48dcba0 100644
--- a/docs/epy/googleapiclient.discovery.ResourceMethodParameters-class.html
+++ b/docs/epy/googleapiclient.discovery.ResourceMethodParameters-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class ResourceMethodParameters</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.discovery-pysrc.html#ResourceMethodParameters">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_4" name="uml_class_diagram_for_googleap_4">
-<area shape="rect" id="node3" href="googleapiclient.discovery.ResourceMethodParameters-class.html#__init__" title="Constructor for ResourceMethodParameters." alt="" coords="17,39,229,57"/>
-<area shape="rect" id="node3" href="googleapiclient.discovery.ResourceMethodParameters-class.html#set_parameters" title="Populates maps and lists based on method description." alt="" coords="17,57,229,76"/>
-<area shape="rect" id="node1" href="googleapiclient.discovery.ResourceMethodParameters-class.html" title="Represents the parameters associated with a method." alt="" coords="5,6,240,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.discovery.ResourceMethodParameters-class.html#__init__" title="Constructor for ResourceMethodParameters." alt="" coords="18,36,233,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.discovery.ResourceMethodParameters-class.html#set_parameters" title="Populates maps and lists based on method description." alt="" coords="18,55,233,73"/>
+<area shape="rect" id="node1" href="googleapiclient.discovery.ResourceMethodParameters-class.html" title="Represents the parameters associated with a method." alt="" coords="5,5,244,80"/>
</map>
<img src="uml_class_diagram_for_googleap_4.gif" alt='' usemap="#uml_class_diagram_for_googleap_4" ismap="ismap" class="graph-without-title" />
</center>
@@ -300,7 +300,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors-module.html b/docs/epy/googleapiclient.errors-module.html
index 047b037..fc40c8b 100644
--- a/docs/epy/googleapiclient.errors-module.html
+++ b/docs/epy/googleapiclient.errors-module.html
@@ -224,7 +224,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors-pysrc.html b/docs/epy/googleapiclient.errors-pysrc.html
index 9370814..f0fabc4 100644
--- a/docs/epy/googleapiclient.errors-pysrc.html
+++ b/docs/epy/googleapiclient.errors-pysrc.html
@@ -58,7 +58,7 @@
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">#!/usr/bin/python2.4</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
-<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2010 Google Inc.</tt> </tt>
+<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2014 Google Inc.</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
@@ -279,7 +279,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.BatchError-class.html b/docs/epy/googleapiclient.errors.BatchError-class.html
index 2518617..a6438ae 100644
--- a/docs/epy/googleapiclient.errors.BatchError-class.html
+++ b/docs/epy/googleapiclient.errors.BatchError-class.html
@@ -59,25 +59,25 @@
<h1 class="epydoc">Class BatchError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#BatchError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_5" name="uml_class_diagram_for_googleap_5">
-<area shape="rect" id="node4" href="googleapiclient.errors.BatchError-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="17,484,308,503"/>
-<area shape="rect" id="node4" href="googleapiclient.errors.BatchError-class.html#__repr__" title="str(x)" alt="" coords="17,503,308,521"/>
-<area shape="rect" id="node4" href="googleapiclient.errors.BatchError-class.html#__str__" title="str(x)" alt="" coords="17,521,308,540"/>
-<area shape="rect" id="node1" href="googleapiclient.errors.BatchError-class.html" title="Error occured during batch operations." alt="" coords="5,451,320,546"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.HttpError-class.html" title="HTTP data was invalid or unexpected." alt="" coords="123,387,200,431"/>
-<area shape="rect" id="node3" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="135,323,188,367"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="84,31,241,49"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="84,49,241,68"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="84,71,241,89"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="84,89,241,108"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="x[y]" alt="" coords="84,108,241,127"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="x[i:j]" alt="" coords="84,127,241,145"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="helper for pickle" alt="" coords="84,145,241,164"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="84,164,241,183"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="84,183,241,201"/>
-<area shape="rect" id="node8" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="84,201,241,220"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="72,6,253,226"/>
-<area shape="rect" id="node7" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="99,279,225,297"/>
-<area shape="rect" id="node5" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="87,246,236,303"/>
+<area shape="rect" id="node1_14" href="googleapiclient.errors.BatchError-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="17,471,311,489"/>
+<area shape="rect" id="node1_15" href="googleapiclient.errors.BatchError-class.html#__repr__" title="str(x)" alt="" coords="17,489,311,508"/>
+<area shape="rect" id="node1_16" href="googleapiclient.errors.BatchError-class.html#__str__" title="str(x)" alt="" coords="17,508,311,527"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.BatchError-class.html" title="Error occured during batch operations." alt="" coords="5,440,323,533"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.HttpError-class.html" title="HTTP data was invalid or unexpected." alt="" coords="125,379,203,421"/>
+<area shape="rect" id="node3_17" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="101,273,227,292"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="89,243,239,299"/>
+<area shape="rect" id="node4" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="137,317,191,360"/>
+<area shape="rect" id="node5_18" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="85,28,241,47"/>
+<area shape="rect" id="node5_19" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="85,47,241,65"/>
+<area shape="rect" id="node5_20" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="85,68,241,87"/>
+<area shape="rect" id="node5_21" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="85,87,241,105"/>
+<area shape="rect" id="node5_22" href="javascript:void(0);" title="x[y]" alt="" coords="85,105,241,124"/>
+<area shape="rect" id="node5_23" href="javascript:void(0);" title="x[i:j]" alt="" coords="85,124,241,143"/>
+<area shape="rect" id="node5_24" href="javascript:void(0);" title="helper for pickle" alt="" coords="85,143,241,161"/>
+<area shape="rect" id="node5_25" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="85,161,241,180"/>
+<area shape="rect" id="node5_26" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="85,180,241,199"/>
+<area shape="rect" id="node5_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="85,199,241,217"/>
+<area shape="rect" id="node5" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="73,5,253,224"/>
</map>
<img src="uml_class_diagram_for_googleap_5.gif" alt='' usemap="#uml_class_diagram_for_googleap_5" ismap="ismap" class="graph-without-title" />
</center>
@@ -349,7 +349,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.Error-class.html b/docs/epy/googleapiclient.errors.Error-class.html
index 85510f6..c158831 100644
--- a/docs/epy/googleapiclient.errors.Error-class.html
+++ b/docs/epy/googleapiclient.errors.Error-class.html
@@ -59,23 +59,23 @@
<h1 class="epydoc">Class Error</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#Error">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_6" name="uml_class_diagram_for_googleap_6">
-<area shape="rect" id="node1" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="68,379,121,423"/>
-<area shape="rect" id="node10" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="32,316,159,335"/>
-<area shape="rect" id="node10" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,335,159,353"/>
-<area shape="rect" id="node2" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="20,283,169,359"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,31,175,49"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,49,175,68"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="17,71,175,89"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="17,89,175,108"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="x[y]" alt="" coords="17,108,175,127"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,127,175,145"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,145,175,164"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="repr(x)" alt="" coords="17,164,175,183"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,183,175,201"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,201,175,220"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="str(x)" alt="" coords="17,220,175,239"/>
-<area shape="rect" id="node11" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,239,175,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,6,187,263"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="70,373,123,416"/>
+<area shape="rect" id="node2_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="34,311,159,329"/>
+<area shape="rect" id="node2_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="34,329,159,348"/>
+<area shape="rect" id="node2" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="22,280,171,355"/>
+<area shape="rect" id="node3_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="18,28,174,47"/>
+<area shape="rect" id="node3_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="18,47,174,65"/>
+<area shape="rect" id="node3_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="18,68,174,87"/>
+<area shape="rect" id="node3_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="18,87,174,105"/>
+<area shape="rect" id="node3_20" href="javascript:void(0);" title="x[y]" alt="" coords="18,105,174,124"/>
+<area shape="rect" id="node3_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="18,124,174,143"/>
+<area shape="rect" id="node3_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="18,143,174,161"/>
+<area shape="rect" id="node3_23" href="javascript:void(0);" title="repr(x)" alt="" coords="18,161,174,180"/>
+<area shape="rect" id="node3_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="18,180,174,199"/>
+<area shape="rect" id="node3_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="18,199,174,217"/>
+<area shape="rect" id="node3_26" href="javascript:void(0);" title="str(x)" alt="" coords="18,217,174,236"/>
+<area shape="rect" id="node3_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="18,236,174,255"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,5,185,261"/>
</map>
<img src="uml_class_diagram_for_googleap_6.gif" alt='' usemap="#uml_class_diagram_for_googleap_6" ismap="ismap" class="graph-without-title" />
</center>
@@ -186,7 +186,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.HttpError-class.html b/docs/epy/googleapiclient.errors.HttpError-class.html
index 1681ee3..e69143c 100644
--- a/docs/epy/googleapiclient.errors.HttpError-class.html
+++ b/docs/epy/googleapiclient.errors.HttpError-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class HttpError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#HttpError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_7" name="uml_class_diagram_for_googleap_7">
-<area shape="rect" id="node12" href="googleapiclient.errors.HttpError-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="17,420,244,439"/>
-<area shape="rect" id="node12" href="googleapiclient.errors.HttpError-class.html#__repr__" title="str(x)" alt="" coords="17,439,244,457"/>
-<area shape="rect" id="node12" href="googleapiclient.errors.HttpError-class.html#__str__" title="str(x)" alt="" coords="17,457,244,476"/>
-<area shape="rect" id="node1" href="googleapiclient.errors.HttpError-class.html" title="HTTP data was invalid or unexpected." alt="" coords="5,387,256,482"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="103,323,156,367"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="52,31,209,49"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="52,49,209,68"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="52,71,209,89"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="52,89,209,108"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="x[y]" alt="" coords="52,108,209,127"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="x[i:j]" alt="" coords="52,127,209,145"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="helper for pickle" alt="" coords="52,145,209,164"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="52,164,209,183"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="52,183,209,201"/>
-<area shape="rect" id="node15" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="52,201,209,220"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="40,6,221,226"/>
-<area shape="rect" id="node14" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="67,279,193,297"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="55,246,204,303"/>
+<area shape="rect" id="node1_14" href="googleapiclient.errors.HttpError-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="18,409,246,428"/>
+<area shape="rect" id="node1_15" href="googleapiclient.errors.HttpError-class.html#__repr__" title="str(x)" alt="" coords="18,428,246,447"/>
+<area shape="rect" id="node1_16" href="googleapiclient.errors.HttpError-class.html#__str__" title="str(x)" alt="" coords="18,447,246,465"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.HttpError-class.html" title="HTTP data was invalid or unexpected." alt="" coords="5,379,257,472"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="106,317,159,360"/>
+<area shape="rect" id="node3_17" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="70,273,195,292"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="58,243,207,299"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="54,28,210,47"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="54,47,210,65"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="54,68,210,87"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="54,87,210,105"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="x[y]" alt="" coords="54,105,210,124"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="x[i:j]" alt="" coords="54,124,210,143"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="helper for pickle" alt="" coords="54,143,210,161"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="54,161,210,180"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="54,180,210,199"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="54,199,210,217"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="41,5,221,224"/>
</map>
<img src="uml_class_diagram_for_googleap_7.gif" alt='' usemap="#uml_class_diagram_for_googleap_7" ismap="ismap" class="graph-without-title" />
</center>
@@ -362,7 +362,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.InvalidChunkSizeError-class.html b/docs/epy/googleapiclient.errors.InvalidChunkSizeError-class.html
index c369049..b1ead0b 100644
--- a/docs/epy/googleapiclient.errors.InvalidChunkSizeError-class.html
+++ b/docs/epy/googleapiclient.errors.InvalidChunkSizeError-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class InvalidChunkSizeError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#InvalidChunkSizeError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_8" name="uml_class_diagram_for_googleap_8">
-<area shape="rect" id="node1" href="googleapiclient.errors.InvalidChunkSizeError-class.html" title="The given chunksize is not valid." alt="" coords="17,443,172,487"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="68,379,121,423"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,31,175,49"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,49,175,68"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="17,71,175,89"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="17,89,175,108"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="x[y]" alt="" coords="17,108,175,127"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,127,175,145"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,145,175,164"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="repr(x)" alt="" coords="17,164,175,183"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,183,175,201"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,201,175,220"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="str(x)" alt="" coords="17,220,175,239"/>
-<area shape="rect" id="node19" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,239,175,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,6,187,263"/>
-<area shape="rect" id="node18" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="32,316,159,335"/>
-<area shape="rect" id="node18" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,335,159,353"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="20,283,169,359"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.InvalidChunkSizeError-class.html" title="The given chunksize is not valid." alt="" coords="17,435,173,477"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="70,373,123,416"/>
+<area shape="rect" id="node3_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="34,311,159,329"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="34,329,159,348"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="22,280,171,355"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="18,28,174,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="18,47,174,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="18,68,174,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="18,87,174,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="18,105,174,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="18,124,174,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="18,143,174,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="18,161,174,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="18,180,174,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="18,199,174,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="18,217,174,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="18,236,174,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,5,185,261"/>
</map>
<img src="uml_class_diagram_for_googleap_8.gif" alt='' usemap="#uml_class_diagram_for_googleap_8" ismap="ismap" class="graph-without-title" />
</center>
@@ -187,7 +187,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.InvalidJsonError-class.html b/docs/epy/googleapiclient.errors.InvalidJsonError-class.html
index 2cdacea..8a393b1 100644
--- a/docs/epy/googleapiclient.errors.InvalidJsonError-class.html
+++ b/docs/epy/googleapiclient.errors.InvalidJsonError-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class InvalidJsonError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#InvalidJsonError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_9" name="uml_class_diagram_for_googleap_9">
-<area shape="rect" id="node1" href="googleapiclient.errors.InvalidJsonError-class.html" title="The JSON returned could not be parsed." alt="" coords="36,443,156,487"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="68,379,121,423"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,31,175,49"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,49,175,68"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="17,71,175,89"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="17,89,175,108"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="x[y]" alt="" coords="17,108,175,127"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,127,175,145"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,145,175,164"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="repr(x)" alt="" coords="17,164,175,183"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,183,175,201"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,201,175,220"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="str(x)" alt="" coords="17,220,175,239"/>
-<area shape="rect" id="node23" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,239,175,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,6,187,263"/>
-<area shape="rect" id="node22" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="32,316,159,335"/>
-<area shape="rect" id="node22" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,335,159,353"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="20,283,169,359"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.InvalidJsonError-class.html" title="The JSON returned could not be parsed." alt="" coords="37,435,157,477"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="70,373,123,416"/>
+<area shape="rect" id="node3_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="34,311,159,329"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="34,329,159,348"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="22,280,171,355"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="18,28,174,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="18,47,174,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="18,68,174,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="18,87,174,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="18,105,174,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="18,124,174,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="18,143,174,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="18,161,174,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="18,180,174,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="18,199,174,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="18,217,174,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="18,236,174,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,5,185,261"/>
</map>
<img src="uml_class_diagram_for_googleap_9.gif" alt='' usemap="#uml_class_diagram_for_googleap_9" ismap="ismap" class="graph-without-title" />
</center>
@@ -187,7 +187,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.InvalidNotificationError-class.html b/docs/epy/googleapiclient.errors.InvalidNotificationError-class.html
index 00e953e..26cfc04 100644
--- a/docs/epy/googleapiclient.errors.InvalidNotificationError-class.html
+++ b/docs/epy/googleapiclient.errors.InvalidNotificationError-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class InvalidNotificationError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#InvalidNotificationError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_10" name="uml_class_diagram_for_googleap_10">
-<area shape="rect" id="node1" href="googleapiclient.errors.InvalidNotificationError-class.html" title="The channel Notification is invalid." alt="" coords="16,443,173,487"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="68,379,121,423"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,31,175,49"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,49,175,68"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="17,71,175,89"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="17,89,175,108"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="x[y]" alt="" coords="17,108,175,127"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,127,175,145"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,145,175,164"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="repr(x)" alt="" coords="17,164,175,183"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,183,175,201"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,201,175,220"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="str(x)" alt="" coords="17,220,175,239"/>
-<area shape="rect" id="node27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,239,175,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,6,187,263"/>
-<area shape="rect" id="node26" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="32,316,159,335"/>
-<area shape="rect" id="node26" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,335,159,353"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="20,283,169,359"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.InvalidNotificationError-class.html" title="The channel Notification is invalid." alt="" coords="18,435,175,477"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="70,373,123,416"/>
+<area shape="rect" id="node3_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="34,311,159,329"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="34,329,159,348"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="22,280,171,355"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="18,28,174,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="18,47,174,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="18,68,174,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="18,87,174,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="18,105,174,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="18,124,174,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="18,143,174,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="18,161,174,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="18,180,174,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="18,199,174,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="18,217,174,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="18,236,174,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,5,185,261"/>
</map>
<img src="uml_class_diagram_for_googleap_10.gif" alt='' usemap="#uml_class_diagram_for_googleap_10" ismap="ismap" class="graph-without-title" />
</center>
@@ -187,7 +187,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.MediaUploadSizeError-class.html b/docs/epy/googleapiclient.errors.MediaUploadSizeError-class.html
index ad3d1e2..a0d26cf 100644
--- a/docs/epy/googleapiclient.errors.MediaUploadSizeError-class.html
+++ b/docs/epy/googleapiclient.errors.MediaUploadSizeError-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class MediaUploadSizeError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#MediaUploadSizeError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_11" name="uml_class_diagram_for_googleap_11">
-<area shape="rect" id="node1" href="googleapiclient.errors.MediaUploadSizeError-class.html" title="Media is larger than the method can accept." alt="" coords="17,443,172,487"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="68,379,121,423"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,31,175,49"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,49,175,68"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="17,71,175,89"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="17,89,175,108"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="x[y]" alt="" coords="17,108,175,127"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,127,175,145"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,145,175,164"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="repr(x)" alt="" coords="17,164,175,183"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,183,175,201"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,201,175,220"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="str(x)" alt="" coords="17,220,175,239"/>
-<area shape="rect" id="node31" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,239,175,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,6,187,263"/>
-<area shape="rect" id="node30" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="32,316,159,335"/>
-<area shape="rect" id="node30" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,335,159,353"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="20,283,169,359"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.MediaUploadSizeError-class.html" title="Media is larger than the method can accept." alt="" coords="18,435,175,477"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="70,373,123,416"/>
+<area shape="rect" id="node3_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="34,311,159,329"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="34,329,159,348"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="22,280,171,355"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="18,28,174,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="18,47,174,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="18,68,174,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="18,87,174,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="18,105,174,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="18,124,174,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="18,143,174,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="18,161,174,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="18,180,174,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="18,199,174,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="18,217,174,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="18,236,174,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,5,185,261"/>
</map>
<img src="uml_class_diagram_for_googleap_11.gif" alt='' usemap="#uml_class_diagram_for_googleap_11" ismap="ismap" class="graph-without-title" />
</center>
@@ -187,7 +187,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.ResumableUploadError-class.html b/docs/epy/googleapiclient.errors.ResumableUploadError-class.html
index a4afbdf..6c5550e 100644
--- a/docs/epy/googleapiclient.errors.ResumableUploadError-class.html
+++ b/docs/epy/googleapiclient.errors.ResumableUploadError-class.html
@@ -59,25 +59,25 @@
<h1 class="epydoc">Class ResumableUploadError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#ResumableUploadError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_12" name="uml_class_diagram_for_googleap_12">
-<area shape="rect" id="node1" href="googleapiclient.errors.ResumableUploadError-class.html" title="Error occured during resumable upload." alt="" coords="49,502,209,546"/>
-<area shape="rect" id="node33" href="googleapiclient.errors.HttpError-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="17,420,244,439"/>
-<area shape="rect" id="node33" href="googleapiclient.errors.HttpError-class.html#__repr__" title="str(x)" alt="" coords="17,439,244,457"/>
-<area shape="rect" id="node33" href="googleapiclient.errors.HttpError-class.html#__str__" title="str(x)" alt="" coords="17,457,244,476"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.HttpError-class.html" title="HTTP data was invalid or unexpected." alt="" coords="5,387,256,482"/>
-<area shape="rect" id="node3" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="103,323,156,367"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="52,31,209,49"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="52,49,209,68"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="52,71,209,89"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="52,89,209,108"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="x[y]" alt="" coords="52,108,209,127"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="x[i:j]" alt="" coords="52,127,209,145"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="helper for pickle" alt="" coords="52,145,209,164"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="52,164,209,183"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="52,183,209,201"/>
-<area shape="rect" id="node36" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="52,201,209,220"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="40,6,221,226"/>
-<area shape="rect" id="node35" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="67,279,193,297"/>
-<area shape="rect" id="node5" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="55,246,204,303"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.ResumableUploadError-class.html" title="Error occured during resumable upload." alt="" coords="51,491,214,533"/>
+<area shape="rect" id="node2_14" href="googleapiclient.errors.HttpError-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="18,409,246,428"/>
+<area shape="rect" id="node2_15" href="googleapiclient.errors.HttpError-class.html#__repr__" title="str(x)" alt="" coords="18,428,246,447"/>
+<area shape="rect" id="node2_16" href="googleapiclient.errors.HttpError-class.html#__str__" title="str(x)" alt="" coords="18,447,246,465"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.HttpError-class.html" title="HTTP data was invalid or unexpected." alt="" coords="5,379,257,472"/>
+<area shape="rect" id="node3_17" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="70,273,195,292"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="58,243,207,299"/>
+<area shape="rect" id="node4" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="106,317,159,360"/>
+<area shape="rect" id="node5_18" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="54,28,210,47"/>
+<area shape="rect" id="node5_19" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="54,47,210,65"/>
+<area shape="rect" id="node5_20" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="54,68,210,87"/>
+<area shape="rect" id="node5_21" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="54,87,210,105"/>
+<area shape="rect" id="node5_22" href="javascript:void(0);" title="x[y]" alt="" coords="54,105,210,124"/>
+<area shape="rect" id="node5_23" href="javascript:void(0);" title="x[i:j]" alt="" coords="54,124,210,143"/>
+<area shape="rect" id="node5_24" href="javascript:void(0);" title="helper for pickle" alt="" coords="54,143,210,161"/>
+<area shape="rect" id="node5_25" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="54,161,210,180"/>
+<area shape="rect" id="node5_26" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="54,180,210,199"/>
+<area shape="rect" id="node5_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="54,199,210,217"/>
+<area shape="rect" id="node5" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="41,5,221,224"/>
</map>
<img src="uml_class_diagram_for_googleap_12.gif" alt='' usemap="#uml_class_diagram_for_googleap_12" ismap="ismap" class="graph-without-title" />
</center>
@@ -193,7 +193,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.UnacceptableMimeTypeError-class.html b/docs/epy/googleapiclient.errors.UnacceptableMimeTypeError-class.html
index d1ef6b8..24c0574 100644
--- a/docs/epy/googleapiclient.errors.UnacceptableMimeTypeError-class.html
+++ b/docs/epy/googleapiclient.errors.UnacceptableMimeTypeError-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class UnacceptableMimeTypeError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnacceptableMimeTypeError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_13" name="uml_class_diagram_for_googleap_13">
-<area shape="rect" id="node1" href="googleapiclient.errors.UnacceptableMimeTypeError-class.html" title="That is an unacceptable mimetype for this operation." alt="" coords="5,443,200,487"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="75,379,128,423"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="24,31,181,49"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="24,49,181,68"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="24,71,181,89"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="24,89,181,108"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="x[y]" alt="" coords="24,108,181,127"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="x[i:j]" alt="" coords="24,127,181,145"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="helper for pickle" alt="" coords="24,145,181,164"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="repr(x)" alt="" coords="24,164,181,183"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="24,183,181,201"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="24,201,181,220"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="str(x)" alt="" coords="24,220,181,239"/>
-<area shape="rect" id="node40" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="24,239,181,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="12,6,193,263"/>
-<area shape="rect" id="node39" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="39,316,165,335"/>
-<area shape="rect" id="node39" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="39,335,165,353"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="27,283,176,359"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.UnacceptableMimeTypeError-class.html" title="That is an unacceptable mimetype for this operation." alt="" coords="5,435,201,477"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="78,373,131,416"/>
+<area shape="rect" id="node3_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="42,311,167,329"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="42,329,167,348"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="30,280,179,355"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="26,28,182,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="26,47,182,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="26,68,182,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="26,87,182,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="26,105,182,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="26,124,182,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="26,143,182,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="26,161,182,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="26,180,182,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="26,199,182,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="26,217,182,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="26,236,182,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="13,5,193,261"/>
</map>
<img src="uml_class_diagram_for_googleap_13.gif" alt='' usemap="#uml_class_diagram_for_googleap_13" ismap="ismap" class="graph-without-title" />
</center>
@@ -187,7 +187,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.UnexpectedBodyError-class.html b/docs/epy/googleapiclient.errors.UnexpectedBodyError-class.html
index b1c841d..784647f 100644
--- a/docs/epy/googleapiclient.errors.UnexpectedBodyError-class.html
+++ b/docs/epy/googleapiclient.errors.UnexpectedBodyError-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class UnexpectedBodyError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedBodyError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_14" name="uml_class_diagram_for_googleap_14">
-<area shape="rect" id="node41" href="googleapiclient.errors.UnexpectedBodyError-class.html#__init__" title="Constructor for an UnexpectedMethodError." alt="" coords="17,457,217,476"/>
-<area shape="rect" id="node1" href="googleapiclient.errors.UnexpectedBodyError-class.html" title="Exception raised by RequestMockBuilder on unexpected bodies." alt="" coords="5,425,229,482"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="89,361,143,405"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="39,31,196,49"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="39,49,196,68"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="39,71,196,89"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="39,89,196,108"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="x[y]" alt="" coords="39,108,196,127"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="x[i:j]" alt="" coords="39,127,196,145"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="helper for pickle" alt="" coords="39,145,196,164"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="repr(x)" alt="" coords="39,164,196,183"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="39,183,196,201"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="39,201,196,220"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="str(x)" alt="" coords="39,220,196,239"/>
-<area shape="rect" id="node44" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="39,239,196,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="27,6,208,263"/>
-<area shape="rect" id="node43" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="53,316,180,335"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="41,283,191,341"/>
+<area shape="rect" id="node1_14" href="googleapiclient.errors.UnexpectedBodyError-class.html#__init__" title="Constructor for an UnexpectedMethodError." alt="" coords="18,447,219,465"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.UnexpectedBodyError-class.html" title="Exception raised by RequestMockBuilder on unexpected bodies." alt="" coords="5,416,231,472"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="93,355,146,397"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="57,311,182,329"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="45,280,194,336"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="41,28,197,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="41,47,197,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="41,68,197,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="41,87,197,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="41,105,197,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="41,124,197,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="41,143,197,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="41,161,197,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="41,180,197,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="41,199,197,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="41,217,197,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="41,236,197,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="28,5,208,261"/>
</map>
<img src="uml_class_diagram_for_googleap_14.gif" alt='' usemap="#uml_class_diagram_for_googleap_14" ismap="ismap" class="graph-without-title" />
</center>
@@ -252,7 +252,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.UnexpectedMethodError-class.html b/docs/epy/googleapiclient.errors.UnexpectedMethodError-class.html
index b92c2a8..bfce879 100644
--- a/docs/epy/googleapiclient.errors.UnexpectedMethodError-class.html
+++ b/docs/epy/googleapiclient.errors.UnexpectedMethodError-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class UnexpectedMethodError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedMethodError">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_15" name="uml_class_diagram_for_googleap_15">
-<area shape="rect" id="node45" href="googleapiclient.errors.UnexpectedMethodError-class.html#__init__" title="Constructor for an UnexpectedMethodError." alt="" coords="17,457,200,476"/>
-<area shape="rect" id="node1" href="googleapiclient.errors.UnexpectedMethodError-class.html" title="Exception raised by RequestMockBuilder on unexpected calls." alt="" coords="5,425,211,482"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="81,361,135,405"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="31,31,188,49"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="31,49,188,68"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="31,71,188,89"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="31,89,188,108"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="x[y]" alt="" coords="31,108,188,127"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="x[i:j]" alt="" coords="31,127,188,145"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="helper for pickle" alt="" coords="31,145,188,164"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="repr(x)" alt="" coords="31,164,188,183"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="31,183,188,201"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="31,201,188,220"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="str(x)" alt="" coords="31,220,188,239"/>
-<area shape="rect" id="node48" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="31,239,188,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="19,6,200,263"/>
-<area shape="rect" id="node47" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="45,316,172,335"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="33,283,183,341"/>
+<area shape="rect" id="node1_14" href="googleapiclient.errors.UnexpectedMethodError-class.html#__init__" title="Constructor for an UnexpectedMethodError." alt="" coords="17,447,201,465"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.UnexpectedMethodError-class.html" title="Exception raised by RequestMockBuilder on unexpected calls." alt="" coords="5,416,213,472"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="83,355,136,397"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="47,311,172,329"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="35,280,184,336"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="31,28,187,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="31,47,187,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="31,68,187,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="31,87,187,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="31,105,187,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="31,124,187,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="31,143,187,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="31,161,187,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="31,180,187,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="31,199,187,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="31,217,187,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="31,236,187,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="18,5,198,261"/>
</map>
<img src="uml_class_diagram_for_googleap_15.gif" alt='' usemap="#uml_class_diagram_for_googleap_15" ismap="ismap" class="graph-without-title" />
</center>
@@ -254,7 +254,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.UnknownApiNameOrVersion-class.html b/docs/epy/googleapiclient.errors.UnknownApiNameOrVersion-class.html
index 977c6aa..65d339d 100644
--- a/docs/epy/googleapiclient.errors.UnknownApiNameOrVersion-class.html
+++ b/docs/epy/googleapiclient.errors.UnknownApiNameOrVersion-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class UnknownApiNameOrVersion</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnknownApiNameOrVersion">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_16" name="uml_class_diagram_for_googleap_16">
-<area shape="rect" id="node1" href="googleapiclient.errors.UnknownApiNameOrVersion-class.html" title="No API with that name and version exists." alt="" coords="5,443,197,487"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="75,379,128,423"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="24,31,181,49"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="24,49,181,68"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="24,71,181,89"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="24,89,181,108"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="x[y]" alt="" coords="24,108,181,127"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="x[i:j]" alt="" coords="24,127,181,145"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="helper for pickle" alt="" coords="24,145,181,164"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="repr(x)" alt="" coords="24,164,181,183"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="24,183,181,201"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="24,201,181,220"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="str(x)" alt="" coords="24,220,181,239"/>
-<area shape="rect" id="node52" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="24,239,181,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="12,6,193,263"/>
-<area shape="rect" id="node51" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="39,316,165,335"/>
-<area shape="rect" id="node51" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="39,335,165,353"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="27,283,176,359"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.UnknownApiNameOrVersion-class.html" title="No API with that name and version exists." alt="" coords="5,435,199,477"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="77,373,130,416"/>
+<area shape="rect" id="node3_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="41,311,166,329"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="41,329,166,348"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="29,280,178,355"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="25,28,181,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="25,47,181,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="25,68,181,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="25,87,181,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="25,105,181,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="25,124,181,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="25,143,181,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="25,161,181,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="25,180,181,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="25,199,181,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="25,217,181,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="25,236,181,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="12,5,192,261"/>
</map>
<img src="uml_class_diagram_for_googleap_16.gif" alt='' usemap="#uml_class_diagram_for_googleap_16" ismap="ismap" class="graph-without-title" />
</center>
@@ -187,7 +187,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.UnknownFileType-class.html b/docs/epy/googleapiclient.errors.UnknownFileType-class.html
index e205b14..ed1bc26 100644
--- a/docs/epy/googleapiclient.errors.UnknownFileType-class.html
+++ b/docs/epy/googleapiclient.errors.UnknownFileType-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class UnknownFileType</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnknownFileType">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_17" name="uml_class_diagram_for_googleap_17">
-<area shape="rect" id="node1" href="googleapiclient.errors.UnknownFileType-class.html" title="File type unknown or unexpected." alt="" coords="31,443,161,487"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="68,379,121,423"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,31,175,49"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,49,175,68"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="17,71,175,89"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="17,89,175,108"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="x[y]" alt="" coords="17,108,175,127"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,127,175,145"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,145,175,164"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="repr(x)" alt="" coords="17,164,175,183"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,183,175,201"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,201,175,220"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="str(x)" alt="" coords="17,220,175,239"/>
-<area shape="rect" id="node56" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,239,175,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,6,187,263"/>
-<area shape="rect" id="node55" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="32,316,159,335"/>
-<area shape="rect" id="node55" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,335,159,353"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="20,283,169,359"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.UnknownFileType-class.html" title="File type unknown or unexpected." alt="" coords="31,435,160,477"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="70,373,123,416"/>
+<area shape="rect" id="node3_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="34,311,159,329"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="34,329,159,348"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="22,280,171,355"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="18,28,174,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="18,47,174,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="18,68,174,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="18,87,174,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="18,105,174,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="18,124,174,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="18,143,174,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="18,161,174,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="18,180,174,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="18,199,174,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="18,217,174,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="18,236,174,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,5,185,261"/>
</map>
<img src="uml_class_diagram_for_googleap_17.gif" alt='' usemap="#uml_class_diagram_for_googleap_17" ismap="ismap" class="graph-without-title" />
</center>
@@ -187,7 +187,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.errors.UnknownLinkType-class.html b/docs/epy/googleapiclient.errors.UnknownLinkType-class.html
index 12a0ff5..ab1ead5 100644
--- a/docs/epy/googleapiclient.errors.UnknownLinkType-class.html
+++ b/docs/epy/googleapiclient.errors.UnknownLinkType-class.html
@@ -59,24 +59,24 @@
<h1 class="epydoc">Class UnknownLinkType</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnknownLinkType">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_18" name="uml_class_diagram_for_googleap_18">
-<area shape="rect" id="node1" href="googleapiclient.errors.UnknownLinkType-class.html" title="Link type unknown or unexpected." alt="" coords="28,443,161,487"/>
-<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="68,379,121,423"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,31,175,49"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,49,175,68"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="17,71,175,89"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="17,89,175,108"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="x[y]" alt="" coords="17,108,175,127"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,127,175,145"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,145,175,164"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="repr(x)" alt="" coords="17,164,175,183"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,183,175,201"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,201,175,220"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="str(x)" alt="" coords="17,220,175,239"/>
-<area shape="rect" id="node60" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,239,175,257"/>
-<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,6,187,263"/>
-<area shape="rect" id="node59" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="32,316,159,335"/>
-<area shape="rect" id="node59" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,335,159,353"/>
-<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="20,283,169,359"/>
+<area shape="rect" id="node1" href="googleapiclient.errors.UnknownLinkType-class.html" title="Link type unknown or unexpected." alt="" coords="29,435,161,477"/>
+<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="70,373,123,416"/>
+<area shape="rect" id="node3_14" href="javascript:void(0);" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="34,311,159,329"/>
+<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="34,329,159,348"/>
+<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="22,280,171,355"/>
+<area shape="rect" id="node4_16" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="18,28,174,47"/>
+<area shape="rect" id="node4_17" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="18,47,174,65"/>
+<area shape="rect" id="node4_18" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="18,68,174,87"/>
+<area shape="rect" id="node4_19" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="18,87,174,105"/>
+<area shape="rect" id="node4_20" href="javascript:void(0);" title="x[y]" alt="" coords="18,105,174,124"/>
+<area shape="rect" id="node4_21" href="javascript:void(0);" title="x[i:j]" alt="" coords="18,124,174,143"/>
+<area shape="rect" id="node4_22" href="javascript:void(0);" title="helper for pickle" alt="" coords="18,143,174,161"/>
+<area shape="rect" id="node4_23" href="javascript:void(0);" title="repr(x)" alt="" coords="18,161,174,180"/>
+<area shape="rect" id="node4_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="18,180,174,199"/>
+<area shape="rect" id="node4_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="18,199,174,217"/>
+<area shape="rect" id="node4_26" href="javascript:void(0);" title="str(x)" alt="" coords="18,217,174,236"/>
+<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="18,236,174,255"/>
+<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="5,5,185,261"/>
</map>
<img src="uml_class_diagram_for_googleap_18.gif" alt='' usemap="#uml_class_diagram_for_googleap_18" ismap="ismap" class="graph-without-title" />
</center>
@@ -187,7 +187,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http-module.html b/docs/epy/googleapiclient.http-module.html
index b66a031..14cd5e6 100644
--- a/docs/epy/googleapiclient.http-module.html
+++ b/docs/epy/googleapiclient.http-module.html
@@ -405,7 +405,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http-pysrc.html b/docs/epy/googleapiclient.http-pysrc.html
index 700a6e5..c6ffe18 100644
--- a/docs/epy/googleapiclient.http-pysrc.html
+++ b/docs/epy/googleapiclient.http-pysrc.html
@@ -56,7 +56,7 @@
</table>
<h1 class="epydoc">Source Code for <a href="googleapiclient.http-module.html">Module googleapiclient.http</a></h1>
<pre class="py-src">
-<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2012 Google Inc.</tt> </tt>
+<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2014 Google Inc.</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
@@ -1534,438 +1534,443 @@
<a name="L1229"></a><tt class="py-lineno">1229</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt class="py-name">set_payload</tt><tt class="py-op">(</tt><tt id="link-217" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-217', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt> </tt>
<a name="L1230"></a><tt class="py-lineno">1230</tt> <tt class="py-line"> <tt class="py-name">message</tt><tt class="py-op">.</tt><tt class="py-name">attach</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
<a name="L1231"></a><tt class="py-lineno">1231</tt> <tt class="py-line"> </tt>
-<a name="L1232"></a><tt class="py-lineno">1232</tt> <tt class="py-line"> <tt id="link-218" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-218', 'body', 'link-46');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">message</tt><tt class="py-op">.</tt><tt class="py-name">as_string</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1233"></a><tt class="py-lineno">1233</tt> <tt class="py-line"> </tt>
-<a name="L1234"></a><tt class="py-lineno">1234</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L1235"></a><tt class="py-lineno">1235</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-string">'multipart/mixed; '</tt> </tt>
-<a name="L1236"></a><tt class="py-lineno">1236</tt> <tt class="py-line"> <tt class="py-string">'boundary="%s"'</tt><tt class="py-op">)</tt> <tt class="py-op">%</tt> <tt class="py-name">message</tt><tt class="py-op">.</tt><tt class="py-name">get_boundary</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1237"></a><tt class="py-lineno">1237</tt> <tt class="py-line"> </tt>
-<a name="L1238"></a><tt class="py-lineno">1238</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-219" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-219', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-220" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1232"></a><tt class="py-lineno">1232</tt> <tt class="py-line"> <tt class="py-comment"># encode the body: note that we can't use `as_string`, because</tt> </tt>
+<a name="L1233"></a><tt class="py-lineno">1233</tt> <tt class="py-line"> <tt class="py-comment"># it plays games with `From ` lines.</tt> </tt>
+<a name="L1234"></a><tt class="py-lineno">1234</tt> <tt class="py-line"> <tt class="py-name">fp</tt> <tt class="py-op">=</tt> <tt class="py-name">StringIO</tt><tt class="py-op">.</tt><tt class="py-name">StringIO</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1235"></a><tt class="py-lineno">1235</tt> <tt class="py-line"> <tt class="py-name">g</tt> <tt class="py-op">=</tt> <tt class="py-name">Generator</tt><tt class="py-op">(</tt><tt class="py-name">fp</tt><tt class="py-op">,</tt> <tt class="py-name">mangle_from_</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
+<a name="L1236"></a><tt class="py-lineno">1236</tt> <tt class="py-line"> <tt class="py-name">g</tt><tt class="py-op">.</tt><tt class="py-name">flatten</tt><tt class="py-op">(</tt><tt class="py-name">message</tt><tt class="py-op">,</tt> <tt class="py-name">unixfrom</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
+<a name="L1237"></a><tt class="py-lineno">1237</tt> <tt class="py-line"> <tt id="link-218" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-218', 'body', 'link-46');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fp</tt><tt class="py-op">.</tt><tt class="py-name">getvalue</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1238"></a><tt class="py-lineno">1238</tt> <tt class="py-line"> </tt>
+<a name="L1239"></a><tt class="py-lineno">1239</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L1240"></a><tt class="py-lineno">1240</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-string">'multipart/mixed; '</tt> </tt>
+<a name="L1241"></a><tt class="py-lineno">1241</tt> <tt class="py-line"> <tt class="py-string">'boundary="%s"'</tt><tt class="py-op">)</tt> <tt class="py-op">%</tt> <tt class="py-name">message</tt><tt class="py-op">.</tt><tt class="py-name">get_boundary</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1242"></a><tt class="py-lineno">1242</tt> <tt class="py-line"> </tt>
+<a name="L1243"></a><tt class="py-lineno">1243</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-219" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-219', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-220" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-220', 'request', 'link-55');">request</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_batch_uri</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">=</tt><tt class="py-string">'POST'</tt><tt class="py-op">,</tt> <tt id="link-221" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-221', 'body', 'link-46');">body</a></tt><tt class="py-op">=</tt><tt id="link-222" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-222', 'body', 'link-46');">body</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L1239"></a><tt class="py-lineno">1239</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">=</tt><tt class="py-name">headers</tt><tt class="py-op">)</tt> </tt>
-<a name="L1240"></a><tt class="py-lineno">1240</tt> <tt class="py-line"> </tt>
-<a name="L1241"></a><tt class="py-lineno">1241</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">status</tt> <tt class="py-op">>=</tt> <tt class="py-number">300</tt><tt class="py-op">:</tt> </tt>
-<a name="L1242"></a><tt class="py-lineno">1242</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-223" class="py-name"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-223', 'HttpError', 'link-4');">HttpError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">uri</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_batch_uri</tt><tt class="py-op">)</tt> </tt>
-<a name="L1243"></a><tt class="py-lineno">1243</tt> <tt class="py-line"> </tt>
-<a name="L1244"></a><tt class="py-lineno">1244</tt> <tt class="py-line"> <tt class="py-comment"># Now break out the individual responses and store each one.</tt> </tt>
-<a name="L1245"></a><tt class="py-lineno">1245</tt> <tt class="py-line"> <tt class="py-name">boundary</tt><tt class="py-op">,</tt> <tt class="py-name">_</tt> <tt class="py-op">=</tt> <tt class="py-name">content</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
-<a name="L1246"></a><tt class="py-lineno">1246</tt> <tt class="py-line"> </tt>
-<a name="L1247"></a><tt class="py-lineno">1247</tt> <tt class="py-line"> <tt class="py-comment"># Prepend with a content-type header so FeedParser can handle it.</tt> </tt>
-<a name="L1248"></a><tt class="py-lineno">1248</tt> <tt class="py-line"> <tt class="py-name">header</tt> <tt class="py-op">=</tt> <tt class="py-string">'content-type: %s\r\n\r\n'</tt> <tt class="py-op">%</tt> <tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt> </tt>
-<a name="L1249"></a><tt class="py-lineno">1249</tt> <tt class="py-line"> <tt class="py-name">for_parser</tt> <tt class="py-op">=</tt> <tt class="py-name">header</tt> <tt class="py-op">+</tt> <tt class="py-name">content</tt> </tt>
-<a name="L1250"></a><tt class="py-lineno">1250</tt> <tt class="py-line"> </tt>
-<a name="L1251"></a><tt class="py-lineno">1251</tt> <tt class="py-line"> <tt class="py-name">parser</tt> <tt class="py-op">=</tt> <tt class="py-name">FeedParser</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1252"></a><tt class="py-lineno">1252</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">feed</tt><tt class="py-op">(</tt><tt class="py-name">for_parser</tt><tt class="py-op">)</tt> </tt>
-<a name="L1253"></a><tt class="py-lineno">1253</tt> <tt class="py-line"> <tt class="py-name">mime_response</tt> <tt class="py-op">=</tt> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1254"></a><tt class="py-lineno">1254</tt> <tt class="py-line"> </tt>
-<a name="L1255"></a><tt class="py-lineno">1255</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">mime_response</tt><tt class="py-op">.</tt><tt class="py-name">is_multipart</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1256"></a><tt class="py-lineno">1256</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-224" class="py-name"><a title="googleapiclient.errors.BatchError" class="py-name" href="#" onclick="return doclink('link-224', 'BatchError', 'link-2');">BatchError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Response not in multipart/mixed format."</tt><tt class="py-op">,</tt> <tt class="py-name">resp</tt><tt class="py-op">=</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> </tt>
-<a name="L1257"></a><tt class="py-lineno">1257</tt> <tt class="py-line"> <tt class="py-name">content</tt><tt class="py-op">=</tt><tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
-<a name="L1258"></a><tt class="py-lineno">1258</tt> <tt class="py-line"> </tt>
-<a name="L1259"></a><tt class="py-lineno">1259</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">part</tt> <tt class="py-keyword">in</tt> <tt class="py-name">mime_response</tt><tt class="py-op">.</tt><tt class="py-name">get_payload</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1260"></a><tt class="py-lineno">1260</tt> <tt class="py-line"> <tt class="py-name">request_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-225" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest._header_to_id()=googleapiclient.http.BatchHttpRequest-class.html#_header_to_id"><a title="googleapiclient.http.BatchHttpRequest._header_to_id" class="py-name" href="#" onclick="return doclink('link-225', '_header_to_id', 'link-225');">_header_to_id</a></tt><tt class="py-op">(</tt><tt class="py-name">part</tt><tt class="py-op">[</tt><tt class="py-string">'Content-ID'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-<a name="L1261"></a><tt class="py-lineno">1261</tt> <tt class="py-line"> <tt id="link-226" class="py-name" targets="Method googleapiclient.model.BaseModel.response()=googleapiclient.model.BaseModel-class.html#response,Method googleapiclient.model.Model.response()=googleapiclient.model.Model-class.html#response"><a title="googleapiclient.model.BaseModel.response
+<a name="L1244"></a><tt class="py-lineno">1244</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">=</tt><tt class="py-name">headers</tt><tt class="py-op">)</tt> </tt>
+<a name="L1245"></a><tt class="py-lineno">1245</tt> <tt class="py-line"> </tt>
+<a name="L1246"></a><tt class="py-lineno">1246</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">status</tt> <tt class="py-op">>=</tt> <tt class="py-number">300</tt><tt class="py-op">:</tt> </tt>
+<a name="L1247"></a><tt class="py-lineno">1247</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-223" class="py-name"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-223', 'HttpError', 'link-4');">HttpError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">uri</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_batch_uri</tt><tt class="py-op">)</tt> </tt>
+<a name="L1248"></a><tt class="py-lineno">1248</tt> <tt class="py-line"> </tt>
+<a name="L1249"></a><tt class="py-lineno">1249</tt> <tt class="py-line"> <tt class="py-comment"># Now break out the individual responses and store each one.</tt> </tt>
+<a name="L1250"></a><tt class="py-lineno">1250</tt> <tt class="py-line"> <tt class="py-name">boundary</tt><tt class="py-op">,</tt> <tt class="py-name">_</tt> <tt class="py-op">=</tt> <tt class="py-name">content</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
+<a name="L1251"></a><tt class="py-lineno">1251</tt> <tt class="py-line"> </tt>
+<a name="L1252"></a><tt class="py-lineno">1252</tt> <tt class="py-line"> <tt class="py-comment"># Prepend with a content-type header so FeedParser can handle it.</tt> </tt>
+<a name="L1253"></a><tt class="py-lineno">1253</tt> <tt class="py-line"> <tt class="py-name">header</tt> <tt class="py-op">=</tt> <tt class="py-string">'content-type: %s\r\n\r\n'</tt> <tt class="py-op">%</tt> <tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'content-type'</tt><tt class="py-op">]</tt> </tt>
+<a name="L1254"></a><tt class="py-lineno">1254</tt> <tt class="py-line"> <tt class="py-name">for_parser</tt> <tt class="py-op">=</tt> <tt class="py-name">header</tt> <tt class="py-op">+</tt> <tt class="py-name">content</tt> </tt>
+<a name="L1255"></a><tt class="py-lineno">1255</tt> <tt class="py-line"> </tt>
+<a name="L1256"></a><tt class="py-lineno">1256</tt> <tt class="py-line"> <tt class="py-name">parser</tt> <tt class="py-op">=</tt> <tt class="py-name">FeedParser</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1257"></a><tt class="py-lineno">1257</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">feed</tt><tt class="py-op">(</tt><tt class="py-name">for_parser</tt><tt class="py-op">)</tt> </tt>
+<a name="L1258"></a><tt class="py-lineno">1258</tt> <tt class="py-line"> <tt class="py-name">mime_response</tt> <tt class="py-op">=</tt> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1259"></a><tt class="py-lineno">1259</tt> <tt class="py-line"> </tt>
+<a name="L1260"></a><tt class="py-lineno">1260</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">mime_response</tt><tt class="py-op">.</tt><tt class="py-name">is_multipart</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1261"></a><tt class="py-lineno">1261</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-224" class="py-name"><a title="googleapiclient.errors.BatchError" class="py-name" href="#" onclick="return doclink('link-224', 'BatchError', 'link-2');">BatchError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Response not in multipart/mixed format."</tt><tt class="py-op">,</tt> <tt class="py-name">resp</tt><tt class="py-op">=</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> </tt>
+<a name="L1262"></a><tt class="py-lineno">1262</tt> <tt class="py-line"> <tt class="py-name">content</tt><tt class="py-op">=</tt><tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
+<a name="L1263"></a><tt class="py-lineno">1263</tt> <tt class="py-line"> </tt>
+<a name="L1264"></a><tt class="py-lineno">1264</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">part</tt> <tt class="py-keyword">in</tt> <tt class="py-name">mime_response</tt><tt class="py-op">.</tt><tt class="py-name">get_payload</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1265"></a><tt class="py-lineno">1265</tt> <tt class="py-line"> <tt class="py-name">request_id</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-225" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest._header_to_id()=googleapiclient.http.BatchHttpRequest-class.html#_header_to_id"><a title="googleapiclient.http.BatchHttpRequest._header_to_id" class="py-name" href="#" onclick="return doclink('link-225', '_header_to_id', 'link-225');">_header_to_id</a></tt><tt class="py-op">(</tt><tt class="py-name">part</tt><tt class="py-op">[</tt><tt class="py-string">'Content-ID'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1266"></a><tt class="py-lineno">1266</tt> <tt class="py-line"> <tt id="link-226" class="py-name" targets="Method googleapiclient.model.BaseModel.response()=googleapiclient.model.BaseModel-class.html#response,Method googleapiclient.model.Model.response()=googleapiclient.model.Model-class.html#response"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-226', 'response', 'link-226');">response</a></tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-227" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest._deserialize_response()=googleapiclient.http.BatchHttpRequest-class.html#_deserialize_response"><a title="googleapiclient.http.BatchHttpRequest._deserialize_response" class="py-name" href="#" onclick="return doclink('link-227', '_deserialize_response', 'link-227');">_deserialize_response</a></tt><tt class="py-op">(</tt><tt class="py-name">part</tt><tt class="py-op">.</tt><tt class="py-name">get_payload</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L1262"></a><tt class="py-lineno">1262</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_responses</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt id="link-228" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1267"></a><tt class="py-lineno">1267</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_responses</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt id="link-228" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-228', 'response', 'link-226');">response</a></tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L1263"></a><tt class="py-lineno">1263</tt> <tt class="py-line"> </tt>
-<a name="L1264"></a><tt class="py-lineno">1264</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">util</tt><tt class="py-op">.</tt><tt class="py-name">positional</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
-<a name="BatchHttpRequest.execute"></a><div id="BatchHttpRequest.execute-def"><a name="L1265"></a><tt class="py-lineno">1265</tt> <a class="py-toggle" href="#" id="BatchHttpRequest.execute-toggle" onclick="return toggle('BatchHttpRequest.execute');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.BatchHttpRequest-class.html#execute">execute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">http</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="BatchHttpRequest.execute-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="BatchHttpRequest.execute-expanded"><a name="L1266"></a><tt class="py-lineno">1266</tt> <tt class="py-line"> <tt class="py-docstring">"""Execute all the requests as a single batched HTTP request.</tt> </tt>
-<a name="L1267"></a><tt class="py-lineno">1267</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1268"></a><tt class="py-lineno">1268</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L1269"></a><tt class="py-lineno">1269</tt> <tt class="py-line"><tt class="py-docstring"> http: httplib2.Http, an http object to be used in place of the one the</tt> </tt>
-<a name="L1270"></a><tt class="py-lineno">1270</tt> <tt class="py-line"><tt class="py-docstring"> HttpRequest request object was constructed with. If one isn't supplied</tt> </tt>
-<a name="L1271"></a><tt class="py-lineno">1271</tt> <tt class="py-line"><tt class="py-docstring"> then use a http object from the requests in this batch.</tt> </tt>
+</div><a name="L1268"></a><tt class="py-lineno">1268</tt> <tt class="py-line"> </tt>
+<a name="L1269"></a><tt class="py-lineno">1269</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">util</tt><tt class="py-op">.</tt><tt class="py-name">positional</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
+<a name="BatchHttpRequest.execute"></a><div id="BatchHttpRequest.execute-def"><a name="L1270"></a><tt class="py-lineno">1270</tt> <a class="py-toggle" href="#" id="BatchHttpRequest.execute-toggle" onclick="return toggle('BatchHttpRequest.execute');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.BatchHttpRequest-class.html#execute">execute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">http</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="BatchHttpRequest.execute-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="BatchHttpRequest.execute-expanded"><a name="L1271"></a><tt class="py-lineno">1271</tt> <tt class="py-line"> <tt class="py-docstring">"""Execute all the requests as a single batched HTTP request.</tt> </tt>
<a name="L1272"></a><tt class="py-lineno">1272</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1273"></a><tt class="py-lineno">1273</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L1274"></a><tt class="py-lineno">1274</tt> <tt class="py-line"><tt class="py-docstring"> None</tt> </tt>
-<a name="L1275"></a><tt class="py-lineno">1275</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1276"></a><tt class="py-lineno">1276</tt> <tt class="py-line"><tt class="py-docstring"> Raises:</tt> </tt>
-<a name="L1277"></a><tt class="py-lineno">1277</tt> <tt class="py-line"><tt class="py-docstring"> httplib2.HttpLib2Error if a transport error has occured.</tt> </tt>
-<a name="L1278"></a><tt class="py-lineno">1278</tt> <tt class="py-line"><tt class="py-docstring"> googleapiclient.errors.BatchError if the response is the wrong format.</tt> </tt>
-<a name="L1279"></a><tt class="py-lineno">1279</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1280"></a><tt class="py-lineno">1280</tt> <tt class="py-line"> </tt>
-<a name="L1281"></a><tt class="py-lineno">1281</tt> <tt class="py-line"> <tt class="py-comment"># If http is not supplied use the first valid one given in the requests.</tt> </tt>
-<a name="L1282"></a><tt class="py-lineno">1282</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-229" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-229', 'http', 'link-58');">http</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1283"></a><tt class="py-lineno">1283</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">request_id</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_order</tt><tt class="py-op">:</tt> </tt>
-<a name="L1284"></a><tt class="py-lineno">1284</tt> <tt class="py-line"> <tt id="link-230" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1273"></a><tt class="py-lineno">1273</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L1274"></a><tt class="py-lineno">1274</tt> <tt class="py-line"><tt class="py-docstring"> http: httplib2.Http, an http object to be used in place of the one the</tt> </tt>
+<a name="L1275"></a><tt class="py-lineno">1275</tt> <tt class="py-line"><tt class="py-docstring"> HttpRequest request object was constructed with. If one isn't supplied</tt> </tt>
+<a name="L1276"></a><tt class="py-lineno">1276</tt> <tt class="py-line"><tt class="py-docstring"> then use a http object from the requests in this batch.</tt> </tt>
+<a name="L1277"></a><tt class="py-lineno">1277</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1278"></a><tt class="py-lineno">1278</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L1279"></a><tt class="py-lineno">1279</tt> <tt class="py-line"><tt class="py-docstring"> None</tt> </tt>
+<a name="L1280"></a><tt class="py-lineno">1280</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1281"></a><tt class="py-lineno">1281</tt> <tt class="py-line"><tt class="py-docstring"> Raises:</tt> </tt>
+<a name="L1282"></a><tt class="py-lineno">1282</tt> <tt class="py-line"><tt class="py-docstring"> httplib2.HttpLib2Error if a transport error has occured.</tt> </tt>
+<a name="L1283"></a><tt class="py-lineno">1283</tt> <tt class="py-line"><tt class="py-docstring"> googleapiclient.errors.BatchError if the response is the wrong format.</tt> </tt>
+<a name="L1284"></a><tt class="py-lineno">1284</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1285"></a><tt class="py-lineno">1285</tt> <tt class="py-line"> </tt>
+<a name="L1286"></a><tt class="py-lineno">1286</tt> <tt class="py-line"> <tt class="py-comment"># If http is not supplied use the first valid one given in the requests.</tt> </tt>
+<a name="L1287"></a><tt class="py-lineno">1287</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-229" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-229', 'http', 'link-58');">http</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1288"></a><tt class="py-lineno">1288</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">request_id</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_order</tt><tt class="py-op">:</tt> </tt>
+<a name="L1289"></a><tt class="py-lineno">1289</tt> <tt class="py-line"> <tt id="link-230" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-230', 'request', 'link-55');">request</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requests</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
-<a name="L1285"></a><tt class="py-lineno">1285</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-231" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1290"></a><tt class="py-lineno">1290</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-231" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-231', 'request', 'link-55');">request</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1286"></a><tt class="py-lineno">1286</tt> <tt class="py-line"> <tt id="link-232" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-232', 'http', 'link-58');">http</a></tt> <tt class="py-op">=</tt> <tt id="link-233" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1291"></a><tt class="py-lineno">1291</tt> <tt class="py-line"> <tt id="link-232" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-232', 'http', 'link-58');">http</a></tt> <tt class="py-op">=</tt> <tt id="link-233" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-233', 'request', 'link-55');">request</a></tt><tt class="py-op">.</tt><tt id="link-234" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-234', 'http', 'link-58');">http</a></tt> </tt>
-<a name="L1287"></a><tt class="py-lineno">1287</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
-<a name="L1288"></a><tt class="py-lineno">1288</tt> <tt class="py-line"> </tt>
-<a name="L1289"></a><tt class="py-lineno">1289</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-235" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-235', 'http', 'link-58');">http</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1290"></a><tt class="py-lineno">1290</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Missing a valid http object."</tt><tt class="py-op">)</tt> </tt>
-<a name="L1291"></a><tt class="py-lineno">1291</tt> <tt class="py-line"> </tt>
-<a name="L1292"></a><tt class="py-lineno">1292</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-236" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest._execute()=googleapiclient.http.BatchHttpRequest-class.html#_execute"><a title="googleapiclient.http.BatchHttpRequest._execute" class="py-name" href="#" onclick="return doclink('link-236', '_execute', 'link-236');">_execute</a></tt><tt class="py-op">(</tt><tt id="link-237" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-237', 'http', 'link-58');">http</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_order</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requests</tt><tt class="py-op">)</tt> </tt>
+<a name="L1292"></a><tt class="py-lineno">1292</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
<a name="L1293"></a><tt class="py-lineno">1293</tt> <tt class="py-line"> </tt>
-<a name="L1294"></a><tt class="py-lineno">1294</tt> <tt class="py-line"> <tt class="py-comment"># Loop over all the requests and check for 401s. For each 401 request the</tt> </tt>
-<a name="L1295"></a><tt class="py-lineno">1295</tt> <tt class="py-line"> <tt class="py-comment"># credentials should be refreshed and then sent again in a separate batch.</tt> </tt>
-<a name="L1296"></a><tt class="py-lineno">1296</tt> <tt class="py-line"> <tt class="py-name">redo_requests</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L1297"></a><tt class="py-lineno">1297</tt> <tt class="py-line"> <tt class="py-name">redo_order</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L1294"></a><tt class="py-lineno">1294</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-235" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-235', 'http', 'link-58');">http</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1295"></a><tt class="py-lineno">1295</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Missing a valid http object."</tt><tt class="py-op">)</tt> </tt>
+<a name="L1296"></a><tt class="py-lineno">1296</tt> <tt class="py-line"> </tt>
+<a name="L1297"></a><tt class="py-lineno">1297</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-236" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest._execute()=googleapiclient.http.BatchHttpRequest-class.html#_execute"><a title="googleapiclient.http.BatchHttpRequest._execute" class="py-name" href="#" onclick="return doclink('link-236', '_execute', 'link-236');">_execute</a></tt><tt class="py-op">(</tt><tt id="link-237" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-237', 'http', 'link-58');">http</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_order</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requests</tt><tt class="py-op">)</tt> </tt>
<a name="L1298"></a><tt class="py-lineno">1298</tt> <tt class="py-line"> </tt>
-<a name="L1299"></a><tt class="py-lineno">1299</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">request_id</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_order</tt><tt class="py-op">:</tt> </tt>
-<a name="L1300"></a><tt class="py-lineno">1300</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_responses</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
-<a name="L1301"></a><tt class="py-lineno">1301</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'status'</tt><tt class="py-op">]</tt> <tt class="py-op">==</tt> <tt class="py-string">'401'</tt><tt class="py-op">:</tt> </tt>
-<a name="L1302"></a><tt class="py-lineno">1302</tt> <tt class="py-line"> <tt class="py-name">redo_order</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">request_id</tt><tt class="py-op">)</tt> </tt>
-<a name="L1303"></a><tt class="py-lineno">1303</tt> <tt class="py-line"> <tt id="link-238" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1299"></a><tt class="py-lineno">1299</tt> <tt class="py-line"> <tt class="py-comment"># Loop over all the requests and check for 401s. For each 401 request the</tt> </tt>
+<a name="L1300"></a><tt class="py-lineno">1300</tt> <tt class="py-line"> <tt class="py-comment"># credentials should be refreshed and then sent again in a separate batch.</tt> </tt>
+<a name="L1301"></a><tt class="py-lineno">1301</tt> <tt class="py-line"> <tt class="py-name">redo_requests</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L1302"></a><tt class="py-lineno">1302</tt> <tt class="py-line"> <tt class="py-name">redo_order</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L1303"></a><tt class="py-lineno">1303</tt> <tt class="py-line"> </tt>
+<a name="L1304"></a><tt class="py-lineno">1304</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">request_id</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_order</tt><tt class="py-op">:</tt> </tt>
+<a name="L1305"></a><tt class="py-lineno">1305</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_responses</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
+<a name="L1306"></a><tt class="py-lineno">1306</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'status'</tt><tt class="py-op">]</tt> <tt class="py-op">==</tt> <tt class="py-string">'401'</tt><tt class="py-op">:</tt> </tt>
+<a name="L1307"></a><tt class="py-lineno">1307</tt> <tt class="py-line"> <tt class="py-name">redo_order</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">request_id</tt><tt class="py-op">)</tt> </tt>
+<a name="L1308"></a><tt class="py-lineno">1308</tt> <tt class="py-line"> <tt id="link-238" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-238', 'request', 'link-55');">request</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requests</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
-<a name="L1304"></a><tt class="py-lineno">1304</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-239" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest._refresh_and_apply_credentials()=googleapiclient.http.BatchHttpRequest-class.html#_refresh_and_apply_credentials"><a title="googleapiclient.http.BatchHttpRequest._refresh_and_apply_credentials" class="py-name" href="#" onclick="return doclink('link-239', '_refresh_and_apply_credentials', 'link-239');">_refresh_and_apply_credentials</a></tt><tt class="py-op">(</tt><tt id="link-240" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1309"></a><tt class="py-lineno">1309</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-239" class="py-name" targets="Method googleapiclient.http.BatchHttpRequest._refresh_and_apply_credentials()=googleapiclient.http.BatchHttpRequest-class.html#_refresh_and_apply_credentials"><a title="googleapiclient.http.BatchHttpRequest._refresh_and_apply_credentials" class="py-name" href="#" onclick="return doclink('link-239', '_refresh_and_apply_credentials', 'link-239');">_refresh_and_apply_credentials</a></tt><tt class="py-op">(</tt><tt id="link-240" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-240', 'request', 'link-55');">request</a></tt><tt class="py-op">,</tt> <tt id="link-241" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-241', 'http', 'link-58');">http</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L1305"></a><tt class="py-lineno">1305</tt> <tt class="py-line"> <tt class="py-name">redo_requests</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-242" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1310"></a><tt class="py-lineno">1310</tt> <tt class="py-line"> <tt class="py-name">redo_requests</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-242" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-242', 'request', 'link-55');">request</a></tt> </tt>
-<a name="L1306"></a><tt class="py-lineno">1306</tt> <tt class="py-line"> </tt>
-<a name="L1307"></a><tt class="py-lineno">1307</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">redo_requests</tt><tt class="py-op">:</tt> </tt>
-<a name="L1308"></a><tt class="py-lineno">1308</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-243" class="py-name"><a title="googleapiclient.http.BatchHttpRequest._execute" class="py-name" href="#" onclick="return doclink('link-243', '_execute', 'link-236');">_execute</a></tt><tt class="py-op">(</tt><tt id="link-244" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-244', 'http', 'link-58');">http</a></tt><tt class="py-op">,</tt> <tt class="py-name">redo_order</tt><tt class="py-op">,</tt> <tt class="py-name">redo_requests</tt><tt class="py-op">)</tt> </tt>
-<a name="L1309"></a><tt class="py-lineno">1309</tt> <tt class="py-line"> </tt>
-<a name="L1310"></a><tt class="py-lineno">1310</tt> <tt class="py-line"> <tt class="py-comment"># Now process all callbacks that are erroring, and raise an exception for</tt> </tt>
-<a name="L1311"></a><tt class="py-lineno">1311</tt> <tt class="py-line"> <tt class="py-comment"># ones that return a non-2xx response? Or add extra parameter to callback</tt> </tt>
-<a name="L1312"></a><tt class="py-lineno">1312</tt> <tt class="py-line"> <tt class="py-comment"># that contains an HttpError?</tt> </tt>
-<a name="L1313"></a><tt class="py-lineno">1313</tt> <tt class="py-line"> </tt>
-<a name="L1314"></a><tt class="py-lineno">1314</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">request_id</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_order</tt><tt class="py-op">:</tt> </tt>
-<a name="L1315"></a><tt class="py-lineno">1315</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_responses</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
-<a name="L1316"></a><tt class="py-lineno">1316</tt> <tt class="py-line"> </tt>
-<a name="L1317"></a><tt class="py-lineno">1317</tt> <tt class="py-line"> <tt id="link-245" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1311"></a><tt class="py-lineno">1311</tt> <tt class="py-line"> </tt>
+<a name="L1312"></a><tt class="py-lineno">1312</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">redo_requests</tt><tt class="py-op">:</tt> </tt>
+<a name="L1313"></a><tt class="py-lineno">1313</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-243" class="py-name"><a title="googleapiclient.http.BatchHttpRequest._execute" class="py-name" href="#" onclick="return doclink('link-243', '_execute', 'link-236');">_execute</a></tt><tt class="py-op">(</tt><tt id="link-244" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-244', 'http', 'link-58');">http</a></tt><tt class="py-op">,</tt> <tt class="py-name">redo_order</tt><tt class="py-op">,</tt> <tt class="py-name">redo_requests</tt><tt class="py-op">)</tt> </tt>
+<a name="L1314"></a><tt class="py-lineno">1314</tt> <tt class="py-line"> </tt>
+<a name="L1315"></a><tt class="py-lineno">1315</tt> <tt class="py-line"> <tt class="py-comment"># Now process all callbacks that are erroring, and raise an exception for</tt> </tt>
+<a name="L1316"></a><tt class="py-lineno">1316</tt> <tt class="py-line"> <tt class="py-comment"># ones that return a non-2xx response? Or add extra parameter to callback</tt> </tt>
+<a name="L1317"></a><tt class="py-lineno">1317</tt> <tt class="py-line"> <tt class="py-comment"># that contains an HttpError?</tt> </tt>
+<a name="L1318"></a><tt class="py-lineno">1318</tt> <tt class="py-line"> </tt>
+<a name="L1319"></a><tt class="py-lineno">1319</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">request_id</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_order</tt><tt class="py-op">:</tt> </tt>
+<a name="L1320"></a><tt class="py-lineno">1320</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_responses</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
+<a name="L1321"></a><tt class="py-lineno">1321</tt> <tt class="py-line"> </tt>
+<a name="L1322"></a><tt class="py-lineno">1322</tt> <tt class="py-line"> <tt id="link-245" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-245', 'request', 'link-55');">request</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_requests</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
-<a name="L1318"></a><tt class="py-lineno">1318</tt> <tt class="py-line"> <tt class="py-name">callback</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_callbacks</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
-<a name="L1319"></a><tt class="py-lineno">1319</tt> <tt class="py-line"> </tt>
-<a name="L1320"></a><tt class="py-lineno">1320</tt> <tt class="py-line"> <tt id="link-246" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1323"></a><tt class="py-lineno">1323</tt> <tt class="py-line"> <tt class="py-name">callback</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_callbacks</tt><tt class="py-op">[</tt><tt class="py-name">request_id</tt><tt class="py-op">]</tt> </tt>
+<a name="L1324"></a><tt class="py-lineno">1324</tt> <tt class="py-line"> </tt>
+<a name="L1325"></a><tt class="py-lineno">1325</tt> <tt class="py-line"> <tt id="link-246" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-246', 'response', 'link-226');">response</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L1321"></a><tt class="py-lineno">1321</tt> <tt class="py-line"> <tt class="py-name">exception</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L1322"></a><tt class="py-lineno">1322</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L1323"></a><tt class="py-lineno">1323</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">status</tt> <tt class="py-op">>=</tt> <tt class="py-number">300</tt><tt class="py-op">:</tt> </tt>
-<a name="L1324"></a><tt class="py-lineno">1324</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-247" class="py-name"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-247', 'HttpError', 'link-4');">HttpError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">uri</tt><tt class="py-op">=</tt><tt id="link-248" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1326"></a><tt class="py-lineno">1326</tt> <tt class="py-line"> <tt class="py-name">exception</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L1327"></a><tt class="py-lineno">1327</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1328"></a><tt class="py-lineno">1328</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">status</tt> <tt class="py-op">>=</tt> <tt class="py-number">300</tt><tt class="py-op">:</tt> </tt>
+<a name="L1329"></a><tt class="py-lineno">1329</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-247" class="py-name"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-247', 'HttpError', 'link-4');">HttpError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">uri</tt><tt class="py-op">=</tt><tt id="link-248" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-248', 'request', 'link-55');">request</a></tt><tt class="py-op">.</tt><tt class="py-name">uri</tt><tt class="py-op">)</tt> </tt>
-<a name="L1325"></a><tt class="py-lineno">1325</tt> <tt class="py-line"> <tt id="link-249" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1330"></a><tt class="py-lineno">1330</tt> <tt class="py-line"> <tt id="link-249" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-249', 'response', 'link-226');">response</a></tt> <tt class="py-op">=</tt> <tt id="link-250" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-250', 'request', 'link-55');">request</a></tt><tt class="py-op">.</tt><tt class="py-name">postproc</tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
-<a name="L1326"></a><tt class="py-lineno">1326</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt id="link-251" class="py-name"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-251', 'HttpError', 'link-4');">HttpError</a></tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
-<a name="L1327"></a><tt class="py-lineno">1327</tt> <tt class="py-line"> <tt class="py-name">exception</tt> <tt class="py-op">=</tt> <tt class="py-name">e</tt> </tt>
-<a name="L1328"></a><tt class="py-lineno">1328</tt> <tt class="py-line"> </tt>
-<a name="L1329"></a><tt class="py-lineno">1329</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">callback</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1330"></a><tt class="py-lineno">1330</tt> <tt class="py-line"> <tt class="py-name">callback</tt><tt class="py-op">(</tt><tt class="py-name">request_id</tt><tt class="py-op">,</tt> <tt id="link-252" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1331"></a><tt class="py-lineno">1331</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt id="link-251" class="py-name"><a title="googleapiclient.errors.HttpError" class="py-name" href="#" onclick="return doclink('link-251', 'HttpError', 'link-4');">HttpError</a></tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
+<a name="L1332"></a><tt class="py-lineno">1332</tt> <tt class="py-line"> <tt class="py-name">exception</tt> <tt class="py-op">=</tt> <tt class="py-name">e</tt> </tt>
+<a name="L1333"></a><tt class="py-lineno">1333</tt> <tt class="py-line"> </tt>
+<a name="L1334"></a><tt class="py-lineno">1334</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">callback</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1335"></a><tt class="py-lineno">1335</tt> <tt class="py-line"> <tt class="py-name">callback</tt><tt class="py-op">(</tt><tt class="py-name">request_id</tt><tt class="py-op">,</tt> <tt id="link-252" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-252', 'response', 'link-226');">response</a></tt><tt class="py-op">,</tt> <tt class="py-name">exception</tt><tt class="py-op">)</tt> </tt>
-<a name="L1331"></a><tt class="py-lineno">1331</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_callback</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1332"></a><tt class="py-lineno">1332</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_callback</tt><tt class="py-op">(</tt><tt class="py-name">request_id</tt><tt class="py-op">,</tt> <tt id="link-253" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1336"></a><tt class="py-lineno">1336</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_callback</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1337"></a><tt class="py-lineno">1337</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_callback</tt><tt class="py-op">(</tt><tt class="py-name">request_id</tt><tt class="py-op">,</tt> <tt id="link-253" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-253', 'response', 'link-226');">response</a></tt><tt class="py-op">,</tt> <tt class="py-name">exception</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L1333"></a><tt class="py-lineno">1333</tt> <tt class="py-line"> </tt>
-<a name="HttpRequestMock"></a><div id="HttpRequestMock-def"><a name="L1334"></a><tt class="py-lineno">1334</tt> <tt class="py-line"> </tt>
-<a name="L1335"></a><tt class="py-lineno">1335</tt> <a class="py-toggle" href="#" id="HttpRequestMock-toggle" onclick="return toggle('HttpRequestMock');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.http.HttpRequestMock-class.html">HttpRequestMock</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpRequestMock-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="HttpRequestMock-expanded"><a name="L1336"></a><tt class="py-lineno">1336</tt> <tt class="py-line"> <tt class="py-docstring">"""Mock of HttpRequest.</tt> </tt>
-<a name="L1337"></a><tt class="py-lineno">1337</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1338"></a><tt class="py-lineno">1338</tt> <tt class="py-line"><tt class="py-docstring"> Do not construct directly, instead use RequestMockBuilder.</tt> </tt>
-<a name="L1339"></a><tt class="py-lineno">1339</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1340"></a><tt class="py-lineno">1340</tt> <tt class="py-line"> </tt>
-<a name="HttpRequestMock.__init__"></a><div id="HttpRequestMock.__init__-def"><a name="L1341"></a><tt class="py-lineno">1341</tt> <a class="py-toggle" href="#" id="HttpRequestMock.__init__-toggle" onclick="return toggle('HttpRequestMock.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpRequestMock-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">resp</tt><tt class="py-op">,</tt> <tt class="py-param">content</tt><tt class="py-op">,</tt> <tt class="py-param">postproc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpRequestMock.__init__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpRequestMock.__init__-expanded"><a name="L1342"></a><tt class="py-lineno">1342</tt> <tt class="py-line"> <tt class="py-docstring">"""Constructor for HttpRequestMock</tt> </tt>
-<a name="L1343"></a><tt class="py-lineno">1343</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1344"></a><tt class="py-lineno">1344</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L1345"></a><tt class="py-lineno">1345</tt> <tt class="py-line"><tt class="py-docstring"> resp: httplib2.Response, the response to emulate coming from the request</tt> </tt>
-<a name="L1346"></a><tt class="py-lineno">1346</tt> <tt class="py-line"><tt class="py-docstring"> content: string, the response body</tt> </tt>
-<a name="L1347"></a><tt class="py-lineno">1347</tt> <tt class="py-line"><tt class="py-docstring"> postproc: callable, the post processing function usually supplied by</tt> </tt>
-<a name="L1348"></a><tt class="py-lineno">1348</tt> <tt class="py-line"><tt class="py-docstring"> the model class. See model.JsonModel.response() as an example.</tt> </tt>
-<a name="L1349"></a><tt class="py-lineno">1349</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1350"></a><tt class="py-lineno">1350</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">resp</tt> </tt>
-<a name="L1351"></a><tt class="py-lineno">1351</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">content</tt> </tt>
-<a name="L1352"></a><tt class="py-lineno">1352</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">postproc</tt> <tt class="py-op">=</tt> <tt class="py-name">postproc</tt> </tt>
-<a name="L1353"></a><tt class="py-lineno">1353</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1354"></a><tt class="py-lineno">1354</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">Response</tt><tt class="py-op">(</tt><tt class="py-op">{</tt><tt class="py-string">'status'</tt><tt class="py-op">:</tt> <tt class="py-number">200</tt><tt class="py-op">,</tt> <tt class="py-string">'reason'</tt><tt class="py-op">:</tt> <tt class="py-string">'OK'</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
-<a name="L1355"></a><tt class="py-lineno">1355</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'reason'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt><tt class="py-op">:</tt> </tt>
-<a name="L1356"></a><tt class="py-lineno">1356</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">reason</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'reason'</tt><tt class="py-op">]</tt> </tt>
-</div><a name="L1357"></a><tt class="py-lineno">1357</tt> <tt class="py-line"> </tt>
-<a name="HttpRequestMock.execute"></a><div id="HttpRequestMock.execute-def"><a name="L1358"></a><tt class="py-lineno">1358</tt> <a class="py-toggle" href="#" id="HttpRequestMock.execute-toggle" onclick="return toggle('HttpRequestMock.execute');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpRequestMock-class.html#execute">execute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">http</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpRequestMock.execute-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpRequestMock.execute-expanded"><a name="L1359"></a><tt class="py-lineno">1359</tt> <tt class="py-line"> <tt class="py-docstring">"""Execute the request.</tt> </tt>
-<a name="L1360"></a><tt class="py-lineno">1360</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1361"></a><tt class="py-lineno">1361</tt> <tt class="py-line"><tt class="py-docstring"> Same behavior as HttpRequest.execute(), but the response is</tt> </tt>
-<a name="L1362"></a><tt class="py-lineno">1362</tt> <tt class="py-line"><tt class="py-docstring"> mocked and not really from an HTTP request/response.</tt> </tt>
-<a name="L1363"></a><tt class="py-lineno">1363</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1364"></a><tt class="py-lineno">1364</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">postproc</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L1365"></a><tt class="py-lineno">1365</tt> <tt class="py-line"> </tt>
-<a name="RequestMockBuilder"></a><div id="RequestMockBuilder-def"><a name="L1366"></a><tt class="py-lineno">1366</tt> <tt class="py-line"> </tt>
-<a name="L1367"></a><tt class="py-lineno">1367</tt> <a class="py-toggle" href="#" id="RequestMockBuilder-toggle" onclick="return toggle('RequestMockBuilder');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.http.RequestMockBuilder-class.html">RequestMockBuilder</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="RequestMockBuilder-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="RequestMockBuilder-expanded"><a name="L1368"></a><tt class="py-lineno">1368</tt> <tt class="py-line"> <tt class="py-docstring">"""A simple mock of HttpRequest</tt> </tt>
-<a name="L1369"></a><tt class="py-lineno">1369</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1370"></a><tt class="py-lineno">1370</tt> <tt class="py-line"><tt class="py-docstring"> Pass in a dictionary to the constructor that maps request methodIds to</tt> </tt>
-<a name="L1371"></a><tt class="py-lineno">1371</tt> <tt class="py-line"><tt class="py-docstring"> tuples of (httplib2.Response, content, opt_expected_body) that should be</tt> </tt>
-<a name="L1372"></a><tt class="py-lineno">1372</tt> <tt class="py-line"><tt class="py-docstring"> returned when that method is called. None may also be passed in for the</tt> </tt>
-<a name="L1373"></a><tt class="py-lineno">1373</tt> <tt class="py-line"><tt class="py-docstring"> httplib2.Response, in which case a 200 OK response will be generated.</tt> </tt>
-<a name="L1374"></a><tt class="py-lineno">1374</tt> <tt class="py-line"><tt class="py-docstring"> If an opt_expected_body (str or dict) is provided, it will be compared to</tt> </tt>
-<a name="L1375"></a><tt class="py-lineno">1375</tt> <tt class="py-line"><tt class="py-docstring"> the body and UnexpectedBodyError will be raised on inequality.</tt> </tt>
-<a name="L1376"></a><tt class="py-lineno">1376</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1377"></a><tt class="py-lineno">1377</tt> <tt class="py-line"><tt class="py-docstring"> Example:</tt> </tt>
-<a name="L1378"></a><tt class="py-lineno">1378</tt> <tt class="py-line"><tt class="py-docstring"> response = '{"data": {"id": "tag:google.c...'</tt> </tt>
-<a name="L1379"></a><tt class="py-lineno">1379</tt> <tt class="py-line"><tt class="py-docstring"> requestBuilder = RequestMockBuilder(</tt> </tt>
-<a name="L1380"></a><tt class="py-lineno">1380</tt> <tt class="py-line"><tt class="py-docstring"> {</tt> </tt>
-<a name="L1381"></a><tt class="py-lineno">1381</tt> <tt class="py-line"><tt class="py-docstring"> 'plus.activities.get': (None, response),</tt> </tt>
-<a name="L1382"></a><tt class="py-lineno">1382</tt> <tt class="py-line"><tt class="py-docstring"> }</tt> </tt>
-<a name="L1383"></a><tt class="py-lineno">1383</tt> <tt class="py-line"><tt class="py-docstring"> )</tt> </tt>
-<a name="L1384"></a><tt class="py-lineno">1384</tt> <tt class="py-line"><tt class="py-docstring"> googleapiclient.discovery.build("plus", "v1", requestBuilder=requestBuilder)</tt> </tt>
-<a name="L1385"></a><tt class="py-lineno">1385</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1386"></a><tt class="py-lineno">1386</tt> <tt class="py-line"><tt class="py-docstring"> Methods that you do not supply a response for will return a</tt> </tt>
-<a name="L1387"></a><tt class="py-lineno">1387</tt> <tt class="py-line"><tt class="py-docstring"> 200 OK with an empty string as the response content or raise an excpetion</tt> </tt>
-<a name="L1388"></a><tt class="py-lineno">1388</tt> <tt class="py-line"><tt class="py-docstring"> if check_unexpected is set to True. The methodId is taken from the rpcName</tt> </tt>
-<a name="L1389"></a><tt class="py-lineno">1389</tt> <tt class="py-line"><tt class="py-docstring"> in the discovery document.</tt> </tt>
+</div></div><a name="L1338"></a><tt class="py-lineno">1338</tt> <tt class="py-line"> </tt>
+<a name="HttpRequestMock"></a><div id="HttpRequestMock-def"><a name="L1339"></a><tt class="py-lineno">1339</tt> <tt class="py-line"> </tt>
+<a name="L1340"></a><tt class="py-lineno">1340</tt> <a class="py-toggle" href="#" id="HttpRequestMock-toggle" onclick="return toggle('HttpRequestMock');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.http.HttpRequestMock-class.html">HttpRequestMock</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpRequestMock-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="HttpRequestMock-expanded"><a name="L1341"></a><tt class="py-lineno">1341</tt> <tt class="py-line"> <tt class="py-docstring">"""Mock of HttpRequest.</tt> </tt>
+<a name="L1342"></a><tt class="py-lineno">1342</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1343"></a><tt class="py-lineno">1343</tt> <tt class="py-line"><tt class="py-docstring"> Do not construct directly, instead use RequestMockBuilder.</tt> </tt>
+<a name="L1344"></a><tt class="py-lineno">1344</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1345"></a><tt class="py-lineno">1345</tt> <tt class="py-line"> </tt>
+<a name="HttpRequestMock.__init__"></a><div id="HttpRequestMock.__init__-def"><a name="L1346"></a><tt class="py-lineno">1346</tt> <a class="py-toggle" href="#" id="HttpRequestMock.__init__-toggle" onclick="return toggle('HttpRequestMock.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpRequestMock-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">resp</tt><tt class="py-op">,</tt> <tt class="py-param">content</tt><tt class="py-op">,</tt> <tt class="py-param">postproc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpRequestMock.__init__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpRequestMock.__init__-expanded"><a name="L1347"></a><tt class="py-lineno">1347</tt> <tt class="py-line"> <tt class="py-docstring">"""Constructor for HttpRequestMock</tt> </tt>
+<a name="L1348"></a><tt class="py-lineno">1348</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1349"></a><tt class="py-lineno">1349</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L1350"></a><tt class="py-lineno">1350</tt> <tt class="py-line"><tt class="py-docstring"> resp: httplib2.Response, the response to emulate coming from the request</tt> </tt>
+<a name="L1351"></a><tt class="py-lineno">1351</tt> <tt class="py-line"><tt class="py-docstring"> content: string, the response body</tt> </tt>
+<a name="L1352"></a><tt class="py-lineno">1352</tt> <tt class="py-line"><tt class="py-docstring"> postproc: callable, the post processing function usually supplied by</tt> </tt>
+<a name="L1353"></a><tt class="py-lineno">1353</tt> <tt class="py-line"><tt class="py-docstring"> the model class. See model.JsonModel.response() as an example.</tt> </tt>
+<a name="L1354"></a><tt class="py-lineno">1354</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1355"></a><tt class="py-lineno">1355</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">resp</tt> </tt>
+<a name="L1356"></a><tt class="py-lineno">1356</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">content</tt> </tt>
+<a name="L1357"></a><tt class="py-lineno">1357</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">postproc</tt> <tt class="py-op">=</tt> <tt class="py-name">postproc</tt> </tt>
+<a name="L1358"></a><tt class="py-lineno">1358</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1359"></a><tt class="py-lineno">1359</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">Response</tt><tt class="py-op">(</tt><tt class="py-op">{</tt><tt class="py-string">'status'</tt><tt class="py-op">:</tt> <tt class="py-number">200</tt><tt class="py-op">,</tt> <tt class="py-string">'reason'</tt><tt class="py-op">:</tt> <tt class="py-string">'OK'</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
+<a name="L1360"></a><tt class="py-lineno">1360</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'reason'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt><tt class="py-op">:</tt> </tt>
+<a name="L1361"></a><tt class="py-lineno">1361</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt><tt class="py-op">.</tt><tt class="py-name">reason</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'reason'</tt><tt class="py-op">]</tt> </tt>
+</div><a name="L1362"></a><tt class="py-lineno">1362</tt> <tt class="py-line"> </tt>
+<a name="HttpRequestMock.execute"></a><div id="HttpRequestMock.execute-def"><a name="L1363"></a><tt class="py-lineno">1363</tt> <a class="py-toggle" href="#" id="HttpRequestMock.execute-toggle" onclick="return toggle('HttpRequestMock.execute');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpRequestMock-class.html#execute">execute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">http</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpRequestMock.execute-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpRequestMock.execute-expanded"><a name="L1364"></a><tt class="py-lineno">1364</tt> <tt class="py-line"> <tt class="py-docstring">"""Execute the request.</tt> </tt>
+<a name="L1365"></a><tt class="py-lineno">1365</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1366"></a><tt class="py-lineno">1366</tt> <tt class="py-line"><tt class="py-docstring"> Same behavior as HttpRequest.execute(), but the response is</tt> </tt>
+<a name="L1367"></a><tt class="py-lineno">1367</tt> <tt class="py-line"><tt class="py-docstring"> mocked and not really from an HTTP request/response.</tt> </tt>
+<a name="L1368"></a><tt class="py-lineno">1368</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1369"></a><tt class="py-lineno">1369</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">postproc</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">content</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L1370"></a><tt class="py-lineno">1370</tt> <tt class="py-line"> </tt>
+<a name="RequestMockBuilder"></a><div id="RequestMockBuilder-def"><a name="L1371"></a><tt class="py-lineno">1371</tt> <tt class="py-line"> </tt>
+<a name="L1372"></a><tt class="py-lineno">1372</tt> <a class="py-toggle" href="#" id="RequestMockBuilder-toggle" onclick="return toggle('RequestMockBuilder');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.http.RequestMockBuilder-class.html">RequestMockBuilder</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RequestMockBuilder-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="RequestMockBuilder-expanded"><a name="L1373"></a><tt class="py-lineno">1373</tt> <tt class="py-line"> <tt class="py-docstring">"""A simple mock of HttpRequest</tt> </tt>
+<a name="L1374"></a><tt class="py-lineno">1374</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1375"></a><tt class="py-lineno">1375</tt> <tt class="py-line"><tt class="py-docstring"> Pass in a dictionary to the constructor that maps request methodIds to</tt> </tt>
+<a name="L1376"></a><tt class="py-lineno">1376</tt> <tt class="py-line"><tt class="py-docstring"> tuples of (httplib2.Response, content, opt_expected_body) that should be</tt> </tt>
+<a name="L1377"></a><tt class="py-lineno">1377</tt> <tt class="py-line"><tt class="py-docstring"> returned when that method is called. None may also be passed in for the</tt> </tt>
+<a name="L1378"></a><tt class="py-lineno">1378</tt> <tt class="py-line"><tt class="py-docstring"> httplib2.Response, in which case a 200 OK response will be generated.</tt> </tt>
+<a name="L1379"></a><tt class="py-lineno">1379</tt> <tt class="py-line"><tt class="py-docstring"> If an opt_expected_body (str or dict) is provided, it will be compared to</tt> </tt>
+<a name="L1380"></a><tt class="py-lineno">1380</tt> <tt class="py-line"><tt class="py-docstring"> the body and UnexpectedBodyError will be raised on inequality.</tt> </tt>
+<a name="L1381"></a><tt class="py-lineno">1381</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1382"></a><tt class="py-lineno">1382</tt> <tt class="py-line"><tt class="py-docstring"> Example:</tt> </tt>
+<a name="L1383"></a><tt class="py-lineno">1383</tt> <tt class="py-line"><tt class="py-docstring"> response = '{"data": {"id": "tag:google.c...'</tt> </tt>
+<a name="L1384"></a><tt class="py-lineno">1384</tt> <tt class="py-line"><tt class="py-docstring"> requestBuilder = RequestMockBuilder(</tt> </tt>
+<a name="L1385"></a><tt class="py-lineno">1385</tt> <tt class="py-line"><tt class="py-docstring"> {</tt> </tt>
+<a name="L1386"></a><tt class="py-lineno">1386</tt> <tt class="py-line"><tt class="py-docstring"> 'plus.activities.get': (None, response),</tt> </tt>
+<a name="L1387"></a><tt class="py-lineno">1387</tt> <tt class="py-line"><tt class="py-docstring"> }</tt> </tt>
+<a name="L1388"></a><tt class="py-lineno">1388</tt> <tt class="py-line"><tt class="py-docstring"> )</tt> </tt>
+<a name="L1389"></a><tt class="py-lineno">1389</tt> <tt class="py-line"><tt class="py-docstring"> googleapiclient.discovery.build("plus", "v1", requestBuilder=requestBuilder)</tt> </tt>
<a name="L1390"></a><tt class="py-lineno">1390</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1391"></a><tt class="py-lineno">1391</tt> <tt class="py-line"><tt class="py-docstring"> For more details see the project wiki.</tt> </tt>
-<a name="L1392"></a><tt class="py-lineno">1392</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1393"></a><tt class="py-lineno">1393</tt> <tt class="py-line"> </tt>
-<a name="RequestMockBuilder.__init__"></a><div id="RequestMockBuilder.__init__-def"><a name="L1394"></a><tt class="py-lineno">1394</tt> <a class="py-toggle" href="#" id="RequestMockBuilder.__init__-toggle" onclick="return toggle('RequestMockBuilder.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.RequestMockBuilder-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">responses</tt><tt class="py-op">,</tt> <tt class="py-param">check_unexpected</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="RequestMockBuilder.__init__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="RequestMockBuilder.__init__-expanded"><a name="L1395"></a><tt class="py-lineno">1395</tt> <tt class="py-line"> <tt class="py-docstring">"""Constructor for RequestMockBuilder</tt> </tt>
-<a name="L1396"></a><tt class="py-lineno">1396</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1397"></a><tt class="py-lineno">1397</tt> <tt class="py-line"><tt class="py-docstring"> The constructed object should be a callable object</tt> </tt>
-<a name="L1398"></a><tt class="py-lineno">1398</tt> <tt class="py-line"><tt class="py-docstring"> that can replace the class HttpResponse.</tt> </tt>
-<a name="L1399"></a><tt class="py-lineno">1399</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1400"></a><tt class="py-lineno">1400</tt> <tt class="py-line"><tt class="py-docstring"> responses - A dictionary that maps methodIds into tuples</tt> </tt>
-<a name="L1401"></a><tt class="py-lineno">1401</tt> <tt class="py-line"><tt class="py-docstring"> of (httplib2.Response, content). The methodId</tt> </tt>
-<a name="L1402"></a><tt class="py-lineno">1402</tt> <tt class="py-line"><tt class="py-docstring"> comes from the 'rpcName' field in the discovery</tt> </tt>
-<a name="L1403"></a><tt class="py-lineno">1403</tt> <tt class="py-line"><tt class="py-docstring"> document.</tt> </tt>
-<a name="L1404"></a><tt class="py-lineno">1404</tt> <tt class="py-line"><tt class="py-docstring"> check_unexpected - A boolean setting whether or not UnexpectedMethodError</tt> </tt>
-<a name="L1405"></a><tt class="py-lineno">1405</tt> <tt class="py-line"><tt class="py-docstring"> should be raised on unsupplied method.</tt> </tt>
-<a name="L1406"></a><tt class="py-lineno">1406</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1407"></a><tt class="py-lineno">1407</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">responses</tt> <tt class="py-op">=</tt> <tt class="py-name">responses</tt> </tt>
-<a name="L1408"></a><tt class="py-lineno">1408</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">check_unexpected</tt> <tt class="py-op">=</tt> <tt class="py-name">check_unexpected</tt> </tt>
-</div><a name="L1409"></a><tt class="py-lineno">1409</tt> <tt class="py-line"> </tt>
-<a name="RequestMockBuilder.__call__"></a><div id="RequestMockBuilder.__call__-def"><a name="L1410"></a><tt class="py-lineno">1410</tt> <a class="py-toggle" href="#" id="RequestMockBuilder.__call__-toggle" onclick="return toggle('RequestMockBuilder.__call__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.RequestMockBuilder-class.html#__call__">__call__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">http</tt><tt class="py-op">,</tt> <tt class="py-param">postproc</tt><tt class="py-op">,</tt> <tt class="py-param">uri</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L1411"></a><tt class="py-lineno">1411</tt> <tt class="py-line"> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">methodId</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">resumable</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="RequestMockBuilder.__call__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="RequestMockBuilder.__call__-expanded"><a name="L1412"></a><tt class="py-lineno">1412</tt> <tt class="py-line"> <tt class="py-docstring">"""Implements the callable interface that discovery.build() expects</tt> </tt>
-<a name="L1413"></a><tt class="py-lineno">1413</tt> <tt class="py-line"><tt class="py-docstring"> of requestBuilder, which is to build an object compatible with</tt> </tt>
-<a name="L1414"></a><tt class="py-lineno">1414</tt> <tt class="py-line"><tt class="py-docstring"> HttpRequest.execute(). See that method for the description of the</tt> </tt>
-<a name="L1415"></a><tt class="py-lineno">1415</tt> <tt class="py-line"><tt class="py-docstring"> parameters and the expected response.</tt> </tt>
-<a name="L1416"></a><tt class="py-lineno">1416</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1417"></a><tt class="py-lineno">1417</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">methodId</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">responses</tt><tt class="py-op">:</tt> </tt>
-<a name="L1418"></a><tt class="py-lineno">1418</tt> <tt class="py-line"> <tt id="link-254" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1391"></a><tt class="py-lineno">1391</tt> <tt class="py-line"><tt class="py-docstring"> Methods that you do not supply a response for will return a</tt> </tt>
+<a name="L1392"></a><tt class="py-lineno">1392</tt> <tt class="py-line"><tt class="py-docstring"> 200 OK with an empty string as the response content or raise an excpetion</tt> </tt>
+<a name="L1393"></a><tt class="py-lineno">1393</tt> <tt class="py-line"><tt class="py-docstring"> if check_unexpected is set to True. The methodId is taken from the rpcName</tt> </tt>
+<a name="L1394"></a><tt class="py-lineno">1394</tt> <tt class="py-line"><tt class="py-docstring"> in the discovery document.</tt> </tt>
+<a name="L1395"></a><tt class="py-lineno">1395</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1396"></a><tt class="py-lineno">1396</tt> <tt class="py-line"><tt class="py-docstring"> For more details see the project wiki.</tt> </tt>
+<a name="L1397"></a><tt class="py-lineno">1397</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1398"></a><tt class="py-lineno">1398</tt> <tt class="py-line"> </tt>
+<a name="RequestMockBuilder.__init__"></a><div id="RequestMockBuilder.__init__-def"><a name="L1399"></a><tt class="py-lineno">1399</tt> <a class="py-toggle" href="#" id="RequestMockBuilder.__init__-toggle" onclick="return toggle('RequestMockBuilder.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.RequestMockBuilder-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">responses</tt><tt class="py-op">,</tt> <tt class="py-param">check_unexpected</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RequestMockBuilder.__init__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="RequestMockBuilder.__init__-expanded"><a name="L1400"></a><tt class="py-lineno">1400</tt> <tt class="py-line"> <tt class="py-docstring">"""Constructor for RequestMockBuilder</tt> </tt>
+<a name="L1401"></a><tt class="py-lineno">1401</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1402"></a><tt class="py-lineno">1402</tt> <tt class="py-line"><tt class="py-docstring"> The constructed object should be a callable object</tt> </tt>
+<a name="L1403"></a><tt class="py-lineno">1403</tt> <tt class="py-line"><tt class="py-docstring"> that can replace the class HttpResponse.</tt> </tt>
+<a name="L1404"></a><tt class="py-lineno">1404</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1405"></a><tt class="py-lineno">1405</tt> <tt class="py-line"><tt class="py-docstring"> responses - A dictionary that maps methodIds into tuples</tt> </tt>
+<a name="L1406"></a><tt class="py-lineno">1406</tt> <tt class="py-line"><tt class="py-docstring"> of (httplib2.Response, content). The methodId</tt> </tt>
+<a name="L1407"></a><tt class="py-lineno">1407</tt> <tt class="py-line"><tt class="py-docstring"> comes from the 'rpcName' field in the discovery</tt> </tt>
+<a name="L1408"></a><tt class="py-lineno">1408</tt> <tt class="py-line"><tt class="py-docstring"> document.</tt> </tt>
+<a name="L1409"></a><tt class="py-lineno">1409</tt> <tt class="py-line"><tt class="py-docstring"> check_unexpected - A boolean setting whether or not UnexpectedMethodError</tt> </tt>
+<a name="L1410"></a><tt class="py-lineno">1410</tt> <tt class="py-line"><tt class="py-docstring"> should be raised on unsupplied method.</tt> </tt>
+<a name="L1411"></a><tt class="py-lineno">1411</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1412"></a><tt class="py-lineno">1412</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">responses</tt> <tt class="py-op">=</tt> <tt class="py-name">responses</tt> </tt>
+<a name="L1413"></a><tt class="py-lineno">1413</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">check_unexpected</tt> <tt class="py-op">=</tt> <tt class="py-name">check_unexpected</tt> </tt>
+</div><a name="L1414"></a><tt class="py-lineno">1414</tt> <tt class="py-line"> </tt>
+<a name="RequestMockBuilder.__call__"></a><div id="RequestMockBuilder.__call__-def"><a name="L1415"></a><tt class="py-lineno">1415</tt> <a class="py-toggle" href="#" id="RequestMockBuilder.__call__-toggle" onclick="return toggle('RequestMockBuilder.__call__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.RequestMockBuilder-class.html#__call__">__call__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">http</tt><tt class="py-op">,</tt> <tt class="py-param">postproc</tt><tt class="py-op">,</tt> <tt class="py-param">uri</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L1416"></a><tt class="py-lineno">1416</tt> <tt class="py-line"> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">methodId</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">resumable</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RequestMockBuilder.__call__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="RequestMockBuilder.__call__-expanded"><a name="L1417"></a><tt class="py-lineno">1417</tt> <tt class="py-line"> <tt class="py-docstring">"""Implements the callable interface that discovery.build() expects</tt> </tt>
+<a name="L1418"></a><tt class="py-lineno">1418</tt> <tt class="py-line"><tt class="py-docstring"> of requestBuilder, which is to build an object compatible with</tt> </tt>
+<a name="L1419"></a><tt class="py-lineno">1419</tt> <tt class="py-line"><tt class="py-docstring"> HttpRequest.execute(). See that method for the description of the</tt> </tt>
+<a name="L1420"></a><tt class="py-lineno">1420</tt> <tt class="py-line"><tt class="py-docstring"> parameters and the expected response.</tt> </tt>
+<a name="L1421"></a><tt class="py-lineno">1421</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1422"></a><tt class="py-lineno">1422</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">methodId</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">responses</tt><tt class="py-op">:</tt> </tt>
+<a name="L1423"></a><tt class="py-lineno">1423</tt> <tt class="py-line"> <tt id="link-254" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-254', 'response', 'link-226');">response</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">responses</tt><tt class="py-op">[</tt><tt class="py-name">methodId</tt><tt class="py-op">]</tt> </tt>
-<a name="L1419"></a><tt class="py-lineno">1419</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-255" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1424"></a><tt class="py-lineno">1424</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-255" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-255', 'response', 'link-226');">response</a></tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> </tt>
-<a name="L1420"></a><tt class="py-lineno">1420</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-256" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1425"></a><tt class="py-lineno">1425</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-256" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-256', 'response', 'link-226');">response</a></tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">2</tt><tt class="py-op">:</tt> </tt>
-<a name="L1421"></a><tt class="py-lineno">1421</tt> <tt class="py-line"> <tt class="py-comment"># Test the body against the supplied expected_body.</tt> </tt>
-<a name="L1422"></a><tt class="py-lineno">1422</tt> <tt class="py-line"> <tt class="py-name">expected_body</tt> <tt class="py-op">=</tt> <tt id="link-257" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1426"></a><tt class="py-lineno">1426</tt> <tt class="py-line"> <tt class="py-comment"># Test the body against the supplied expected_body.</tt> </tt>
+<a name="L1427"></a><tt class="py-lineno">1427</tt> <tt class="py-line"> <tt class="py-name">expected_body</tt> <tt class="py-op">=</tt> <tt id="link-257" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-257', 'response', 'link-226');">response</a></tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> </tt>
-<a name="L1423"></a><tt class="py-lineno">1423</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">bool</tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">)</tt> <tt class="py-op">!=</tt> <tt class="py-name">bool</tt><tt class="py-op">(</tt><tt id="link-258" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-258', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1424"></a><tt class="py-lineno">1424</tt> <tt class="py-line"> <tt class="py-comment"># Not expecting a body and provided one</tt> </tt>
-<a name="L1425"></a><tt class="py-lineno">1425</tt> <tt class="py-line"> <tt class="py-comment"># or expecting a body and not provided one.</tt> </tt>
-<a name="L1426"></a><tt class="py-lineno">1426</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-259" class="py-name"><a title="googleapiclient.errors.UnexpectedBodyError" class="py-name" href="#" onclick="return doclink('link-259', 'UnexpectedBodyError', 'link-10');">UnexpectedBodyError</a></tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">,</tt> <tt id="link-260" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-260', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L1427"></a><tt class="py-lineno">1427</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1428"></a><tt class="py-lineno">1428</tt> <tt class="py-line"> <tt class="py-name">expected_body</tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">)</tt> </tt>
-<a name="L1429"></a><tt class="py-lineno">1429</tt> <tt class="py-line"> <tt id="link-261" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-261', 'body', 'link-46');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt id="link-262" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-262', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L1430"></a><tt class="py-lineno">1430</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-263" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-263', 'body', 'link-46');">body</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">expected_body</tt><tt class="py-op">:</tt> </tt>
-<a name="L1431"></a><tt class="py-lineno">1431</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-264" class="py-name"><a title="googleapiclient.errors.UnexpectedBodyError" class="py-name" href="#" onclick="return doclink('link-264', 'UnexpectedBodyError', 'link-10');">UnexpectedBodyError</a></tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">,</tt> <tt id="link-265" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-265', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L1432"></a><tt class="py-lineno">1432</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-266" class="py-name" targets="Class googleapiclient.http.HttpRequestMock=googleapiclient.http.HttpRequestMock-class.html"><a title="googleapiclient.http.HttpRequestMock" class="py-name" href="#" onclick="return doclink('link-266', 'HttpRequestMock', 'link-266');">HttpRequestMock</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">postproc</tt><tt class="py-op">)</tt> </tt>
-<a name="L1433"></a><tt class="py-lineno">1433</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">check_unexpected</tt><tt class="py-op">:</tt> </tt>
-<a name="L1434"></a><tt class="py-lineno">1434</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-267" class="py-name"><a title="googleapiclient.errors.UnexpectedMethodError" class="py-name" href="#" onclick="return doclink('link-267', 'UnexpectedMethodError', 'link-12');">UnexpectedMethodError</a></tt><tt class="py-op">(</tt><tt class="py-name">methodId</tt><tt class="py-op">=</tt><tt class="py-name">methodId</tt><tt class="py-op">)</tt> </tt>
-<a name="L1435"></a><tt class="py-lineno">1435</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1436"></a><tt class="py-lineno">1436</tt> <tt class="py-line"> <tt id="link-268" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-268', 'model', 'link-13');">model</a></tt> <tt class="py-op">=</tt> <tt id="link-269" class="py-name"><a title="googleapiclient.model.JsonModel" class="py-name" href="#" onclick="return doclink('link-269', 'JsonModel', 'link-14');">JsonModel</a></tt><tt class="py-op">(</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
-<a name="L1437"></a><tt class="py-lineno">1437</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-270" class="py-name"><a title="googleapiclient.http.HttpRequestMock" class="py-name" href="#" onclick="return doclink('link-270', 'HttpRequestMock', 'link-266');">HttpRequestMock</a></tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">'{}'</tt><tt class="py-op">,</tt> <tt id="link-271" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-271', 'model', 'link-13');">model</a></tt><tt class="py-op">.</tt><tt id="link-272" class="py-name"><a title="googleapiclient.model.BaseModel.response
+<a name="L1428"></a><tt class="py-lineno">1428</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">bool</tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">)</tt> <tt class="py-op">!=</tt> <tt class="py-name">bool</tt><tt class="py-op">(</tt><tt id="link-258" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-258', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1429"></a><tt class="py-lineno">1429</tt> <tt class="py-line"> <tt class="py-comment"># Not expecting a body and provided one</tt> </tt>
+<a name="L1430"></a><tt class="py-lineno">1430</tt> <tt class="py-line"> <tt class="py-comment"># or expecting a body and not provided one.</tt> </tt>
+<a name="L1431"></a><tt class="py-lineno">1431</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-259" class="py-name"><a title="googleapiclient.errors.UnexpectedBodyError" class="py-name" href="#" onclick="return doclink('link-259', 'UnexpectedBodyError', 'link-10');">UnexpectedBodyError</a></tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">,</tt> <tt id="link-260" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-260', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L1432"></a><tt class="py-lineno">1432</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1433"></a><tt class="py-lineno">1433</tt> <tt class="py-line"> <tt class="py-name">expected_body</tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">)</tt> </tt>
+<a name="L1434"></a><tt class="py-lineno">1434</tt> <tt class="py-line"> <tt id="link-261" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-261', 'body', 'link-46');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt id="link-262" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-262', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L1435"></a><tt class="py-lineno">1435</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-263" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-263', 'body', 'link-46');">body</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">expected_body</tt><tt class="py-op">:</tt> </tt>
+<a name="L1436"></a><tt class="py-lineno">1436</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-264" class="py-name"><a title="googleapiclient.errors.UnexpectedBodyError" class="py-name" href="#" onclick="return doclink('link-264', 'UnexpectedBodyError', 'link-10');">UnexpectedBodyError</a></tt><tt class="py-op">(</tt><tt class="py-name">expected_body</tt><tt class="py-op">,</tt> <tt id="link-265" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-265', 'body', 'link-46');">body</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L1437"></a><tt class="py-lineno">1437</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-266" class="py-name" targets="Class googleapiclient.http.HttpRequestMock=googleapiclient.http.HttpRequestMock-class.html"><a title="googleapiclient.http.HttpRequestMock" class="py-name" href="#" onclick="return doclink('link-266', 'HttpRequestMock', 'link-266');">HttpRequestMock</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt><tt class="py-op">,</tt> <tt class="py-name">postproc</tt><tt class="py-op">)</tt> </tt>
+<a name="L1438"></a><tt class="py-lineno">1438</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">check_unexpected</tt><tt class="py-op">:</tt> </tt>
+<a name="L1439"></a><tt class="py-lineno">1439</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-267" class="py-name"><a title="googleapiclient.errors.UnexpectedMethodError" class="py-name" href="#" onclick="return doclink('link-267', 'UnexpectedMethodError', 'link-12');">UnexpectedMethodError</a></tt><tt class="py-op">(</tt><tt class="py-name">methodId</tt><tt class="py-op">=</tt><tt class="py-name">methodId</tt><tt class="py-op">)</tt> </tt>
+<a name="L1440"></a><tt class="py-lineno">1440</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1441"></a><tt class="py-lineno">1441</tt> <tt class="py-line"> <tt id="link-268" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-268', 'model', 'link-13');">model</a></tt> <tt class="py-op">=</tt> <tt id="link-269" class="py-name"><a title="googleapiclient.model.JsonModel" class="py-name" href="#" onclick="return doclink('link-269', 'JsonModel', 'link-14');">JsonModel</a></tt><tt class="py-op">(</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
+<a name="L1442"></a><tt class="py-lineno">1442</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-270" class="py-name"><a title="googleapiclient.http.HttpRequestMock" class="py-name" href="#" onclick="return doclink('link-270', 'HttpRequestMock', 'link-266');">HttpRequestMock</a></tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">'{}'</tt><tt class="py-op">,</tt> <tt id="link-271" class="py-name"><a title="googleapiclient.model" class="py-name" href="#" onclick="return doclink('link-271', 'model', 'link-13');">model</a></tt><tt class="py-op">.</tt><tt id="link-272" class="py-name"><a title="googleapiclient.model.BaseModel.response
googleapiclient.model.Model.response" class="py-name" href="#" onclick="return doclink('link-272', 'response', 'link-226');">response</a></tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L1438"></a><tt class="py-lineno">1438</tt> <tt class="py-line"> </tt>
-<a name="HttpMock"></a><div id="HttpMock-def"><a name="L1439"></a><tt class="py-lineno">1439</tt> <tt class="py-line"> </tt>
-<a name="L1440"></a><tt class="py-lineno">1440</tt> <a class="py-toggle" href="#" id="HttpMock-toggle" onclick="return toggle('HttpMock');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.http.HttpMock-class.html">HttpMock</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpMock-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="HttpMock-expanded"><a name="L1441"></a><tt class="py-lineno">1441</tt> <tt class="py-line"> <tt class="py-docstring">"""Mock of httplib2.Http"""</tt> </tt>
-<a name="L1442"></a><tt class="py-lineno">1442</tt> <tt class="py-line"> </tt>
-<a name="HttpMock.__init__"></a><div id="HttpMock.__init__-def"><a name="L1443"></a><tt class="py-lineno">1443</tt> <a class="py-toggle" href="#" id="HttpMock.__init__-toggle" onclick="return toggle('HttpMock.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpMock-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpMock.__init__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpMock.__init__-expanded"><a name="L1444"></a><tt class="py-lineno">1444</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1445"></a><tt class="py-lineno">1445</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L1446"></a><tt class="py-lineno">1446</tt> <tt class="py-line"><tt class="py-docstring"> filename: string, absolute filename to read response from</tt> </tt>
-<a name="L1447"></a><tt class="py-lineno">1447</tt> <tt class="py-line"><tt class="py-docstring"> headers: dict, header to return with response</tt> </tt>
-<a name="L1448"></a><tt class="py-lineno">1448</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1449"></a><tt class="py-lineno">1449</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">headers</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1450"></a><tt class="py-lineno">1450</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'status'</tt><tt class="py-op">:</tt> <tt class="py-string">'200 OK'</tt><tt class="py-op">}</tt> </tt>
-<a name="L1451"></a><tt class="py-lineno">1451</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">filename</tt><tt class="py-op">:</tt> </tt>
-<a name="L1452"></a><tt class="py-lineno">1452</tt> <tt class="py-line"> <tt class="py-name">f</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt> </tt>
-<a name="L1453"></a><tt class="py-lineno">1453</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt id="link-273" class="py-name"><a title="googleapiclient.http._StreamSlice.read" class="py-name" href="#" onclick="return doclink('link-273', 'read', 'link-29');">read</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1454"></a><tt class="py-lineno">1454</tt> <tt class="py-line"> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1455"></a><tt class="py-lineno">1455</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1456"></a><tt class="py-lineno">1456</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L1457"></a><tt class="py-lineno">1457</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">response_headers</tt> <tt class="py-op">=</tt> <tt class="py-name">headers</tt> </tt>
-<a name="L1458"></a><tt class="py-lineno">1458</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L1459"></a><tt class="py-lineno">1459</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">uri</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L1460"></a><tt class="py-lineno">1460</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L1461"></a><tt class="py-lineno">1461</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-274" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-274', 'body', 'link-46');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L1462"></a><tt class="py-lineno">1462</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-</div><a name="L1463"></a><tt class="py-lineno">1463</tt> <tt class="py-line"> </tt>
-<a name="L1464"></a><tt class="py-lineno">1464</tt> <tt class="py-line"> </tt>
-<a name="HttpMock.request"></a><div id="HttpMock.request-def"><a name="L1465"></a><tt class="py-lineno">1465</tt> <a class="py-toggle" href="#" id="HttpMock.request-toggle" onclick="return toggle('HttpMock.request');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpMock-class.html#request">request</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">uri</tt><tt class="py-op">,</tt> </tt>
-<a name="L1466"></a><tt class="py-lineno">1466</tt> <tt class="py-line"> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> </tt>
-<a name="L1467"></a><tt class="py-lineno">1467</tt> <tt class="py-line"> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L1468"></a><tt class="py-lineno">1468</tt> <tt class="py-line"> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L1469"></a><tt class="py-lineno">1469</tt> <tt class="py-line"> <tt class="py-param">redirections</tt><tt class="py-op">=</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> </tt>
-<a name="L1470"></a><tt class="py-lineno">1470</tt> <tt class="py-line"> <tt class="py-param">connection_type</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpMock.request-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpMock.request-expanded"><a name="L1471"></a><tt class="py-lineno">1471</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">uri</tt> <tt class="py-op">=</tt> <tt class="py-name">uri</tt> </tt>
-<a name="L1472"></a><tt class="py-lineno">1472</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-name">method</tt> </tt>
-<a name="L1473"></a><tt class="py-lineno">1473</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-275" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-275', 'body', 'link-46');">body</a></tt> <tt class="py-op">=</tt> <tt id="link-276" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-276', 'body', 'link-46');">body</a></tt> </tt>
-<a name="L1474"></a><tt class="py-lineno">1474</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-name">headers</tt> </tt>
-<a name="L1475"></a><tt class="py-lineno">1475</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">Response</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">response_headers</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">data</tt> </tt>
-</div></div><a name="L1476"></a><tt class="py-lineno">1476</tt> <tt class="py-line"> </tt>
-<a name="HttpMockSequence"></a><div id="HttpMockSequence-def"><a name="L1477"></a><tt class="py-lineno">1477</tt> <tt class="py-line"> </tt>
-<a name="L1478"></a><tt class="py-lineno">1478</tt> <a class="py-toggle" href="#" id="HttpMockSequence-toggle" onclick="return toggle('HttpMockSequence');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.http.HttpMockSequence-class.html">HttpMockSequence</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpMockSequence-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="HttpMockSequence-expanded"><a name="L1479"></a><tt class="py-lineno">1479</tt> <tt class="py-line"> <tt class="py-docstring">"""Mock of httplib2.Http</tt> </tt>
-<a name="L1480"></a><tt class="py-lineno">1480</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1481"></a><tt class="py-lineno">1481</tt> <tt class="py-line"><tt class="py-docstring"> Mocks a sequence of calls to request returning different responses for each</tt> </tt>
-<a name="L1482"></a><tt class="py-lineno">1482</tt> <tt class="py-line"><tt class="py-docstring"> call. Create an instance initialized with the desired response headers</tt> </tt>
-<a name="L1483"></a><tt class="py-lineno">1483</tt> <tt class="py-line"><tt class="py-docstring"> and content and then use as if an httplib2.Http instance.</tt> </tt>
-<a name="L1484"></a><tt class="py-lineno">1484</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1485"></a><tt class="py-lineno">1485</tt> <tt class="py-line"><tt class="py-docstring"> http = HttpMockSequence([</tt> </tt>
-<a name="L1486"></a><tt class="py-lineno">1486</tt> <tt class="py-line"><tt class="py-docstring"> ({'status': '401'}, ''),</tt> </tt>
-<a name="L1487"></a><tt class="py-lineno">1487</tt> <tt class="py-line"><tt class="py-docstring"> ({'status': '200'}, '{"access_token":"1/3w","expires_in":3600}'),</tt> </tt>
-<a name="L1488"></a><tt class="py-lineno">1488</tt> <tt class="py-line"><tt class="py-docstring"> ({'status': '200'}, 'echo_request_headers'),</tt> </tt>
-<a name="L1489"></a><tt class="py-lineno">1489</tt> <tt class="py-line"><tt class="py-docstring"> ])</tt> </tt>
-<a name="L1490"></a><tt class="py-lineno">1490</tt> <tt class="py-line"><tt class="py-docstring"> resp, content = http.request("http://examples.com")</tt> </tt>
-<a name="L1491"></a><tt class="py-lineno">1491</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1492"></a><tt class="py-lineno">1492</tt> <tt class="py-line"><tt class="py-docstring"> There are special values you can pass in for content to trigger</tt> </tt>
-<a name="L1493"></a><tt class="py-lineno">1493</tt> <tt class="py-line"><tt class="py-docstring"> behavours that are helpful in testing.</tt> </tt>
-<a name="L1494"></a><tt class="py-lineno">1494</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1495"></a><tt class="py-lineno">1495</tt> <tt class="py-line"><tt class="py-docstring"> 'echo_request_headers' means return the request headers in the response body</tt> </tt>
-<a name="L1496"></a><tt class="py-lineno">1496</tt> <tt class="py-line"><tt class="py-docstring"> 'echo_request_headers_as_json' means return the request headers in</tt> </tt>
-<a name="L1497"></a><tt class="py-lineno">1497</tt> <tt class="py-line"><tt class="py-docstring"> the response body</tt> </tt>
-<a name="L1498"></a><tt class="py-lineno">1498</tt> <tt class="py-line"><tt class="py-docstring"> 'echo_request_body' means return the request body in the response body</tt> </tt>
-<a name="L1499"></a><tt class="py-lineno">1499</tt> <tt class="py-line"><tt class="py-docstring"> 'echo_request_uri' means return the request uri in the response body</tt> </tt>
-<a name="L1500"></a><tt class="py-lineno">1500</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1501"></a><tt class="py-lineno">1501</tt> <tt class="py-line"> </tt>
-<a name="HttpMockSequence.__init__"></a><div id="HttpMockSequence.__init__-def"><a name="L1502"></a><tt class="py-lineno">1502</tt> <a class="py-toggle" href="#" id="HttpMockSequence.__init__-toggle" onclick="return toggle('HttpMockSequence.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpMockSequence-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">iterable</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpMockSequence.__init__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpMockSequence.__init__-expanded"><a name="L1503"></a><tt class="py-lineno">1503</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1504"></a><tt class="py-lineno">1504</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L1505"></a><tt class="py-lineno">1505</tt> <tt class="py-line"><tt class="py-docstring"> iterable: iterable, a sequence of pairs of (headers, body)</tt> </tt>
-<a name="L1506"></a><tt class="py-lineno">1506</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1507"></a><tt class="py-lineno">1507</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_iterable</tt> <tt class="py-op">=</tt> <tt class="py-name">iterable</tt> </tt>
-<a name="L1508"></a><tt class="py-lineno">1508</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">follow_redirects</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
-</div><a name="L1509"></a><tt class="py-lineno">1509</tt> <tt class="py-line"> </tt>
-<a name="HttpMockSequence.request"></a><div id="HttpMockSequence.request-def"><a name="L1510"></a><tt class="py-lineno">1510</tt> <a class="py-toggle" href="#" id="HttpMockSequence.request-toggle" onclick="return toggle('HttpMockSequence.request');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpMockSequence-class.html#request">request</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">uri</tt><tt class="py-op">,</tt> </tt>
-<a name="L1511"></a><tt class="py-lineno">1511</tt> <tt class="py-line"> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> </tt>
-<a name="L1512"></a><tt class="py-lineno">1512</tt> <tt class="py-line"> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L1513"></a><tt class="py-lineno">1513</tt> <tt class="py-line"> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L1514"></a><tt class="py-lineno">1514</tt> <tt class="py-line"> <tt class="py-param">redirections</tt><tt class="py-op">=</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> </tt>
-<a name="L1515"></a><tt class="py-lineno">1515</tt> <tt class="py-line"> <tt class="py-param">connection_type</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="HttpMockSequence.request-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpMockSequence.request-expanded"><a name="L1516"></a><tt class="py-lineno">1516</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_iterable</tt><tt class="py-op">.</tt><tt class="py-name">pop</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
-<a name="L1517"></a><tt class="py-lineno">1517</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">content</tt> <tt class="py-op">==</tt> <tt class="py-string">'echo_request_headers'</tt><tt class="py-op">:</tt> </tt>
-<a name="L1518"></a><tt class="py-lineno">1518</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">headers</tt> </tt>
-<a name="L1519"></a><tt class="py-lineno">1519</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">content</tt> <tt class="py-op">==</tt> <tt class="py-string">'echo_request_headers_as_json'</tt><tt class="py-op">:</tt> </tt>
-<a name="L1520"></a><tt class="py-lineno">1520</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">dumps</tt><tt class="py-op">(</tt><tt class="py-name">headers</tt><tt class="py-op">)</tt> </tt>
-<a name="L1521"></a><tt class="py-lineno">1521</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">content</tt> <tt class="py-op">==</tt> <tt class="py-string">'echo_request_body'</tt><tt class="py-op">:</tt> </tt>
-<a name="L1522"></a><tt class="py-lineno">1522</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-277" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-277', 'body', 'link-46');">body</a></tt><tt class="py-op">,</tt> <tt class="py-string">'read'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1523"></a><tt class="py-lineno">1523</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-278" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-278', 'body', 'link-46');">body</a></tt><tt class="py-op">.</tt><tt id="link-279" class="py-name"><a title="googleapiclient.http._StreamSlice.read" class="py-name" href="#" onclick="return doclink('link-279', 'read', 'link-29');">read</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1524"></a><tt class="py-lineno">1524</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1525"></a><tt class="py-lineno">1525</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-280" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-280', 'body', 'link-46');">body</a></tt> </tt>
-<a name="L1526"></a><tt class="py-lineno">1526</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">content</tt> <tt class="py-op">==</tt> <tt class="py-string">'echo_request_uri'</tt><tt class="py-op">:</tt> </tt>
-<a name="L1527"></a><tt class="py-lineno">1527</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">uri</tt> </tt>
-<a name="L1528"></a><tt class="py-lineno">1528</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">Response</tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> </tt>
-</div></div><a name="L1529"></a><tt class="py-lineno">1529</tt> <tt class="py-line"> </tt>
-<a name="set_user_agent"></a><div id="set_user_agent-def"><a name="L1530"></a><tt class="py-lineno">1530</tt> <tt class="py-line"> </tt>
-<a name="L1531"></a><tt class="py-lineno">1531</tt> <a class="py-toggle" href="#" id="set_user_agent-toggle" onclick="return toggle('set_user_agent');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http-module.html#set_user_agent">set_user_agent</a><tt class="py-op">(</tt><tt class="py-param">http</tt><tt class="py-op">,</tt> <tt class="py-param">user_agent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="set_user_agent-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="set_user_agent-expanded"><a name="L1532"></a><tt class="py-lineno">1532</tt> <tt class="py-line"> <tt class="py-docstring">"""Set the user-agent on every request.</tt> </tt>
-<a name="L1533"></a><tt class="py-lineno">1533</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1534"></a><tt class="py-lineno">1534</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L1535"></a><tt class="py-lineno">1535</tt> <tt class="py-line"><tt class="py-docstring"> http - An instance of httplib2.Http</tt> </tt>
-<a name="L1536"></a><tt class="py-lineno">1536</tt> <tt class="py-line"><tt class="py-docstring"> or something that acts like it.</tt> </tt>
-<a name="L1537"></a><tt class="py-lineno">1537</tt> <tt class="py-line"><tt class="py-docstring"> user_agent: string, the value for the user-agent header.</tt> </tt>
+</div></div><a name="L1443"></a><tt class="py-lineno">1443</tt> <tt class="py-line"> </tt>
+<a name="HttpMock"></a><div id="HttpMock-def"><a name="L1444"></a><tt class="py-lineno">1444</tt> <tt class="py-line"> </tt>
+<a name="L1445"></a><tt class="py-lineno">1445</tt> <a class="py-toggle" href="#" id="HttpMock-toggle" onclick="return toggle('HttpMock');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.http.HttpMock-class.html">HttpMock</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpMock-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="HttpMock-expanded"><a name="L1446"></a><tt class="py-lineno">1446</tt> <tt class="py-line"> <tt class="py-docstring">"""Mock of httplib2.Http"""</tt> </tt>
+<a name="L1447"></a><tt class="py-lineno">1447</tt> <tt class="py-line"> </tt>
+<a name="HttpMock.__init__"></a><div id="HttpMock.__init__-def"><a name="L1448"></a><tt class="py-lineno">1448</tt> <a class="py-toggle" href="#" id="HttpMock.__init__-toggle" onclick="return toggle('HttpMock.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpMock-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpMock.__init__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpMock.__init__-expanded"><a name="L1449"></a><tt class="py-lineno">1449</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1450"></a><tt class="py-lineno">1450</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L1451"></a><tt class="py-lineno">1451</tt> <tt class="py-line"><tt class="py-docstring"> filename: string, absolute filename to read response from</tt> </tt>
+<a name="L1452"></a><tt class="py-lineno">1452</tt> <tt class="py-line"><tt class="py-docstring"> headers: dict, header to return with response</tt> </tt>
+<a name="L1453"></a><tt class="py-lineno">1453</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1454"></a><tt class="py-lineno">1454</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">headers</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1455"></a><tt class="py-lineno">1455</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'status'</tt><tt class="py-op">:</tt> <tt class="py-string">'200 OK'</tt><tt class="py-op">}</tt> </tt>
+<a name="L1456"></a><tt class="py-lineno">1456</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">filename</tt><tt class="py-op">:</tt> </tt>
+<a name="L1457"></a><tt class="py-lineno">1457</tt> <tt class="py-line"> <tt class="py-name">f</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1458"></a><tt class="py-lineno">1458</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt id="link-273" class="py-name"><a title="googleapiclient.http._StreamSlice.read" class="py-name" href="#" onclick="return doclink('link-273', 'read', 'link-29');">read</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1459"></a><tt class="py-lineno">1459</tt> <tt class="py-line"> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1460"></a><tt class="py-lineno">1460</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1461"></a><tt class="py-lineno">1461</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L1462"></a><tt class="py-lineno">1462</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">response_headers</tt> <tt class="py-op">=</tt> <tt class="py-name">headers</tt> </tt>
+<a name="L1463"></a><tt class="py-lineno">1463</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L1464"></a><tt class="py-lineno">1464</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">uri</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L1465"></a><tt class="py-lineno">1465</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L1466"></a><tt class="py-lineno">1466</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-274" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-274', 'body', 'link-46');">body</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L1467"></a><tt class="py-lineno">1467</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+</div><a name="L1468"></a><tt class="py-lineno">1468</tt> <tt class="py-line"> </tt>
+<a name="L1469"></a><tt class="py-lineno">1469</tt> <tt class="py-line"> </tt>
+<a name="HttpMock.request"></a><div id="HttpMock.request-def"><a name="L1470"></a><tt class="py-lineno">1470</tt> <a class="py-toggle" href="#" id="HttpMock.request-toggle" onclick="return toggle('HttpMock.request');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpMock-class.html#request">request</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">uri</tt><tt class="py-op">,</tt> </tt>
+<a name="L1471"></a><tt class="py-lineno">1471</tt> <tt class="py-line"> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> </tt>
+<a name="L1472"></a><tt class="py-lineno">1472</tt> <tt class="py-line"> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L1473"></a><tt class="py-lineno">1473</tt> <tt class="py-line"> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L1474"></a><tt class="py-lineno">1474</tt> <tt class="py-line"> <tt class="py-param">redirections</tt><tt class="py-op">=</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> </tt>
+<a name="L1475"></a><tt class="py-lineno">1475</tt> <tt class="py-line"> <tt class="py-param">connection_type</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpMock.request-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpMock.request-expanded"><a name="L1476"></a><tt class="py-lineno">1476</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">uri</tt> <tt class="py-op">=</tt> <tt class="py-name">uri</tt> </tt>
+<a name="L1477"></a><tt class="py-lineno">1477</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-name">method</tt> </tt>
+<a name="L1478"></a><tt class="py-lineno">1478</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-275" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-275', 'body', 'link-46');">body</a></tt> <tt class="py-op">=</tt> <tt id="link-276" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-276', 'body', 'link-46');">body</a></tt> </tt>
+<a name="L1479"></a><tt class="py-lineno">1479</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-name">headers</tt> </tt>
+<a name="L1480"></a><tt class="py-lineno">1480</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">Response</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">response_headers</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">data</tt> </tt>
+</div></div><a name="L1481"></a><tt class="py-lineno">1481</tt> <tt class="py-line"> </tt>
+<a name="HttpMockSequence"></a><div id="HttpMockSequence-def"><a name="L1482"></a><tt class="py-lineno">1482</tt> <tt class="py-line"> </tt>
+<a name="L1483"></a><tt class="py-lineno">1483</tt> <a class="py-toggle" href="#" id="HttpMockSequence-toggle" onclick="return toggle('HttpMockSequence');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="googleapiclient.http.HttpMockSequence-class.html">HttpMockSequence</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpMockSequence-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="HttpMockSequence-expanded"><a name="L1484"></a><tt class="py-lineno">1484</tt> <tt class="py-line"> <tt class="py-docstring">"""Mock of httplib2.Http</tt> </tt>
+<a name="L1485"></a><tt class="py-lineno">1485</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1486"></a><tt class="py-lineno">1486</tt> <tt class="py-line"><tt class="py-docstring"> Mocks a sequence of calls to request returning different responses for each</tt> </tt>
+<a name="L1487"></a><tt class="py-lineno">1487</tt> <tt class="py-line"><tt class="py-docstring"> call. Create an instance initialized with the desired response headers</tt> </tt>
+<a name="L1488"></a><tt class="py-lineno">1488</tt> <tt class="py-line"><tt class="py-docstring"> and content and then use as if an httplib2.Http instance.</tt> </tt>
+<a name="L1489"></a><tt class="py-lineno">1489</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1490"></a><tt class="py-lineno">1490</tt> <tt class="py-line"><tt class="py-docstring"> http = HttpMockSequence([</tt> </tt>
+<a name="L1491"></a><tt class="py-lineno">1491</tt> <tt class="py-line"><tt class="py-docstring"> ({'status': '401'}, ''),</tt> </tt>
+<a name="L1492"></a><tt class="py-lineno">1492</tt> <tt class="py-line"><tt class="py-docstring"> ({'status': '200'}, '{"access_token":"1/3w","expires_in":3600}'),</tt> </tt>
+<a name="L1493"></a><tt class="py-lineno">1493</tt> <tt class="py-line"><tt class="py-docstring"> ({'status': '200'}, 'echo_request_headers'),</tt> </tt>
+<a name="L1494"></a><tt class="py-lineno">1494</tt> <tt class="py-line"><tt class="py-docstring"> ])</tt> </tt>
+<a name="L1495"></a><tt class="py-lineno">1495</tt> <tt class="py-line"><tt class="py-docstring"> resp, content = http.request("http://examples.com")</tt> </tt>
+<a name="L1496"></a><tt class="py-lineno">1496</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1497"></a><tt class="py-lineno">1497</tt> <tt class="py-line"><tt class="py-docstring"> There are special values you can pass in for content to trigger</tt> </tt>
+<a name="L1498"></a><tt class="py-lineno">1498</tt> <tt class="py-line"><tt class="py-docstring"> behavours that are helpful in testing.</tt> </tt>
+<a name="L1499"></a><tt class="py-lineno">1499</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1500"></a><tt class="py-lineno">1500</tt> <tt class="py-line"><tt class="py-docstring"> 'echo_request_headers' means return the request headers in the response body</tt> </tt>
+<a name="L1501"></a><tt class="py-lineno">1501</tt> <tt class="py-line"><tt class="py-docstring"> 'echo_request_headers_as_json' means return the request headers in</tt> </tt>
+<a name="L1502"></a><tt class="py-lineno">1502</tt> <tt class="py-line"><tt class="py-docstring"> the response body</tt> </tt>
+<a name="L1503"></a><tt class="py-lineno">1503</tt> <tt class="py-line"><tt class="py-docstring"> 'echo_request_body' means return the request body in the response body</tt> </tt>
+<a name="L1504"></a><tt class="py-lineno">1504</tt> <tt class="py-line"><tt class="py-docstring"> 'echo_request_uri' means return the request uri in the response body</tt> </tt>
+<a name="L1505"></a><tt class="py-lineno">1505</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1506"></a><tt class="py-lineno">1506</tt> <tt class="py-line"> </tt>
+<a name="HttpMockSequence.__init__"></a><div id="HttpMockSequence.__init__-def"><a name="L1507"></a><tt class="py-lineno">1507</tt> <a class="py-toggle" href="#" id="HttpMockSequence.__init__-toggle" onclick="return toggle('HttpMockSequence.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpMockSequence-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">iterable</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpMockSequence.__init__-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpMockSequence.__init__-expanded"><a name="L1508"></a><tt class="py-lineno">1508</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1509"></a><tt class="py-lineno">1509</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L1510"></a><tt class="py-lineno">1510</tt> <tt class="py-line"><tt class="py-docstring"> iterable: iterable, a sequence of pairs of (headers, body)</tt> </tt>
+<a name="L1511"></a><tt class="py-lineno">1511</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1512"></a><tt class="py-lineno">1512</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_iterable</tt> <tt class="py-op">=</tt> <tt class="py-name">iterable</tt> </tt>
+<a name="L1513"></a><tt class="py-lineno">1513</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">follow_redirects</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
+</div><a name="L1514"></a><tt class="py-lineno">1514</tt> <tt class="py-line"> </tt>
+<a name="HttpMockSequence.request"></a><div id="HttpMockSequence.request-def"><a name="L1515"></a><tt class="py-lineno">1515</tt> <a class="py-toggle" href="#" id="HttpMockSequence.request-toggle" onclick="return toggle('HttpMockSequence.request');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http.HttpMockSequence-class.html#request">request</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">uri</tt><tt class="py-op">,</tt> </tt>
+<a name="L1516"></a><tt class="py-lineno">1516</tt> <tt class="py-line"> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> </tt>
+<a name="L1517"></a><tt class="py-lineno">1517</tt> <tt class="py-line"> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L1518"></a><tt class="py-lineno">1518</tt> <tt class="py-line"> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L1519"></a><tt class="py-lineno">1519</tt> <tt class="py-line"> <tt class="py-param">redirections</tt><tt class="py-op">=</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> </tt>
+<a name="L1520"></a><tt class="py-lineno">1520</tt> <tt class="py-line"> <tt class="py-param">connection_type</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="HttpMockSequence.request-collapsed" style="display:none;" pad="++++" indent="++++++"></div><div id="HttpMockSequence.request-expanded"><a name="L1521"></a><tt class="py-lineno">1521</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_iterable</tt><tt class="py-op">.</tt><tt class="py-name">pop</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L1522"></a><tt class="py-lineno">1522</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">content</tt> <tt class="py-op">==</tt> <tt class="py-string">'echo_request_headers'</tt><tt class="py-op">:</tt> </tt>
+<a name="L1523"></a><tt class="py-lineno">1523</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">headers</tt> </tt>
+<a name="L1524"></a><tt class="py-lineno">1524</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">content</tt> <tt class="py-op">==</tt> <tt class="py-string">'echo_request_headers_as_json'</tt><tt class="py-op">:</tt> </tt>
+<a name="L1525"></a><tt class="py-lineno">1525</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">simplejson</tt><tt class="py-op">.</tt><tt class="py-name">dumps</tt><tt class="py-op">(</tt><tt class="py-name">headers</tt><tt class="py-op">)</tt> </tt>
+<a name="L1526"></a><tt class="py-lineno">1526</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">content</tt> <tt class="py-op">==</tt> <tt class="py-string">'echo_request_body'</tt><tt class="py-op">:</tt> </tt>
+<a name="L1527"></a><tt class="py-lineno">1527</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-277" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-277', 'body', 'link-46');">body</a></tt><tt class="py-op">,</tt> <tt class="py-string">'read'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1528"></a><tt class="py-lineno">1528</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-278" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-278', 'body', 'link-46');">body</a></tt><tt class="py-op">.</tt><tt id="link-279" class="py-name"><a title="googleapiclient.http._StreamSlice.read" class="py-name" href="#" onclick="return doclink('link-279', 'read', 'link-29');">read</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1529"></a><tt class="py-lineno">1529</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1530"></a><tt class="py-lineno">1530</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt id="link-280" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-280', 'body', 'link-46');">body</a></tt> </tt>
+<a name="L1531"></a><tt class="py-lineno">1531</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">content</tt> <tt class="py-op">==</tt> <tt class="py-string">'echo_request_uri'</tt><tt class="py-op">:</tt> </tt>
+<a name="L1532"></a><tt class="py-lineno">1532</tt> <tt class="py-line"> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">uri</tt> </tt>
+<a name="L1533"></a><tt class="py-lineno">1533</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">Response</tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> </tt>
+</div></div><a name="L1534"></a><tt class="py-lineno">1534</tt> <tt class="py-line"> </tt>
+<a name="set_user_agent"></a><div id="set_user_agent-def"><a name="L1535"></a><tt class="py-lineno">1535</tt> <tt class="py-line"> </tt>
+<a name="L1536"></a><tt class="py-lineno">1536</tt> <a class="py-toggle" href="#" id="set_user_agent-toggle" onclick="return toggle('set_user_agent');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http-module.html#set_user_agent">set_user_agent</a><tt class="py-op">(</tt><tt class="py-param">http</tt><tt class="py-op">,</tt> <tt class="py-param">user_agent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="set_user_agent-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="set_user_agent-expanded"><a name="L1537"></a><tt class="py-lineno">1537</tt> <tt class="py-line"> <tt class="py-docstring">"""Set the user-agent on every request.</tt> </tt>
<a name="L1538"></a><tt class="py-lineno">1538</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1539"></a><tt class="py-lineno">1539</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L1540"></a><tt class="py-lineno">1540</tt> <tt class="py-line"><tt class="py-docstring"> A modified instance of http that was passed in.</tt> </tt>
-<a name="L1541"></a><tt class="py-lineno">1541</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1542"></a><tt class="py-lineno">1542</tt> <tt class="py-line"><tt class="py-docstring"> Example:</tt> </tt>
+<a name="L1539"></a><tt class="py-lineno">1539</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L1540"></a><tt class="py-lineno">1540</tt> <tt class="py-line"><tt class="py-docstring"> http - An instance of httplib2.Http</tt> </tt>
+<a name="L1541"></a><tt class="py-lineno">1541</tt> <tt class="py-line"><tt class="py-docstring"> or something that acts like it.</tt> </tt>
+<a name="L1542"></a><tt class="py-lineno">1542</tt> <tt class="py-line"><tt class="py-docstring"> user_agent: string, the value for the user-agent header.</tt> </tt>
<a name="L1543"></a><tt class="py-lineno">1543</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1544"></a><tt class="py-lineno">1544</tt> <tt class="py-line"><tt class="py-docstring"> h = httplib2.Http()</tt> </tt>
-<a name="L1545"></a><tt class="py-lineno">1545</tt> <tt class="py-line"><tt class="py-docstring"> h = set_user_agent(h, "my-app-name/6.0")</tt> </tt>
+<a name="L1544"></a><tt class="py-lineno">1544</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L1545"></a><tt class="py-lineno">1545</tt> <tt class="py-line"><tt class="py-docstring"> A modified instance of http that was passed in.</tt> </tt>
<a name="L1546"></a><tt class="py-lineno">1546</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1547"></a><tt class="py-lineno">1547</tt> <tt class="py-line"><tt class="py-docstring"> Most of the time the user-agent will be set doing auth, this is for the rare</tt> </tt>
-<a name="L1548"></a><tt class="py-lineno">1548</tt> <tt class="py-line"><tt class="py-docstring"> cases where you are accessing an unauthenticated endpoint.</tt> </tt>
-<a name="L1549"></a><tt class="py-lineno">1549</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1550"></a><tt class="py-lineno">1550</tt> <tt class="py-line"> <tt class="py-name">request_orig</tt> <tt class="py-op">=</tt> <tt id="link-281" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-281', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-282" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1547"></a><tt class="py-lineno">1547</tt> <tt class="py-line"><tt class="py-docstring"> Example:</tt> </tt>
+<a name="L1548"></a><tt class="py-lineno">1548</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1549"></a><tt class="py-lineno">1549</tt> <tt class="py-line"><tt class="py-docstring"> h = httplib2.Http()</tt> </tt>
+<a name="L1550"></a><tt class="py-lineno">1550</tt> <tt class="py-line"><tt class="py-docstring"> h = set_user_agent(h, "my-app-name/6.0")</tt> </tt>
+<a name="L1551"></a><tt class="py-lineno">1551</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1552"></a><tt class="py-lineno">1552</tt> <tt class="py-line"><tt class="py-docstring"> Most of the time the user-agent will be set doing auth, this is for the rare</tt> </tt>
+<a name="L1553"></a><tt class="py-lineno">1553</tt> <tt class="py-line"><tt class="py-docstring"> cases where you are accessing an unauthenticated endpoint.</tt> </tt>
+<a name="L1554"></a><tt class="py-lineno">1554</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1555"></a><tt class="py-lineno">1555</tt> <tt class="py-line"> <tt class="py-name">request_orig</tt> <tt class="py-op">=</tt> <tt id="link-281" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-281', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-282" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-282', 'request', 'link-55');">request</a></tt> </tt>
-<a name="L1551"></a><tt class="py-lineno">1551</tt> <tt class="py-line"> </tt>
-<a name="L1552"></a><tt class="py-lineno">1552</tt> <tt class="py-line"> <tt class="py-comment"># The closure that will replace 'httplib2.Http.request'.</tt> </tt>
-<a name="L1553"></a><tt class="py-lineno">1553</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">new_request</tt><tt class="py-op">(</tt><tt class="py-param">uri</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L1554"></a><tt class="py-lineno">1554</tt> <tt class="py-line"> <tt class="py-param">redirections</tt><tt class="py-op">=</tt><tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">DEFAULT_MAX_REDIRECTS</tt><tt class="py-op">,</tt> </tt>
-<a name="L1555"></a><tt class="py-lineno">1555</tt> <tt class="py-line"> <tt class="py-param">connection_type</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1556"></a><tt class="py-lineno">1556</tt> <tt class="py-line"> <tt class="py-docstring">"""Modify the request headers to add the user-agent."""</tt> </tt>
-<a name="L1557"></a><tt class="py-lineno">1557</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">headers</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1558"></a><tt class="py-lineno">1558</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L1559"></a><tt class="py-lineno">1559</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'user-agent'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">headers</tt><tt class="py-op">:</tt> </tt>
-<a name="L1560"></a><tt class="py-lineno">1560</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'user-agent'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">user_agent</tt> <tt class="py-op">+</tt> <tt class="py-string">' '</tt> <tt class="py-op">+</tt> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'user-agent'</tt><tt class="py-op">]</tt> </tt>
-<a name="L1561"></a><tt class="py-lineno">1561</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1562"></a><tt class="py-lineno">1562</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'user-agent'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">user_agent</tt> </tt>
-<a name="L1563"></a><tt class="py-lineno">1563</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">request_orig</tt><tt class="py-op">(</tt><tt class="py-name">uri</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">,</tt> <tt id="link-283" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-283', 'body', 'link-46');">body</a></tt><tt class="py-op">,</tt> <tt class="py-name">headers</tt><tt class="py-op">,</tt> </tt>
-<a name="L1564"></a><tt class="py-lineno">1564</tt> <tt class="py-line"> <tt class="py-name">redirections</tt><tt class="py-op">,</tt> <tt class="py-name">connection_type</tt><tt class="py-op">)</tt> </tt>
-<a name="L1565"></a><tt class="py-lineno">1565</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> </tt>
-</div><a name="L1566"></a><tt class="py-lineno">1566</tt> <tt class="py-line"> </tt>
-<a name="L1567"></a><tt class="py-lineno">1567</tt> <tt class="py-line"> <tt id="link-284" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-284', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-285" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1556"></a><tt class="py-lineno">1556</tt> <tt class="py-line"> </tt>
+<a name="L1557"></a><tt class="py-lineno">1557</tt> <tt class="py-line"> <tt class="py-comment"># The closure that will replace 'httplib2.Http.request'.</tt> </tt>
+<a name="L1558"></a><tt class="py-lineno">1558</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">new_request</tt><tt class="py-op">(</tt><tt class="py-param">uri</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L1559"></a><tt class="py-lineno">1559</tt> <tt class="py-line"> <tt class="py-param">redirections</tt><tt class="py-op">=</tt><tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">DEFAULT_MAX_REDIRECTS</tt><tt class="py-op">,</tt> </tt>
+<a name="L1560"></a><tt class="py-lineno">1560</tt> <tt class="py-line"> <tt class="py-param">connection_type</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1561"></a><tt class="py-lineno">1561</tt> <tt class="py-line"> <tt class="py-docstring">"""Modify the request headers to add the user-agent."""</tt> </tt>
+<a name="L1562"></a><tt class="py-lineno">1562</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">headers</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1563"></a><tt class="py-lineno">1563</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L1564"></a><tt class="py-lineno">1564</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'user-agent'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">headers</tt><tt class="py-op">:</tt> </tt>
+<a name="L1565"></a><tt class="py-lineno">1565</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'user-agent'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">user_agent</tt> <tt class="py-op">+</tt> <tt class="py-string">' '</tt> <tt class="py-op">+</tt> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'user-agent'</tt><tt class="py-op">]</tt> </tt>
+<a name="L1566"></a><tt class="py-lineno">1566</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1567"></a><tt class="py-lineno">1567</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'user-agent'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">user_agent</tt> </tt>
+<a name="L1568"></a><tt class="py-lineno">1568</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">request_orig</tt><tt class="py-op">(</tt><tt class="py-name">uri</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">,</tt> <tt id="link-283" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-283', 'body', 'link-46');">body</a></tt><tt class="py-op">,</tt> <tt class="py-name">headers</tt><tt class="py-op">,</tt> </tt>
+<a name="L1569"></a><tt class="py-lineno">1569</tt> <tt class="py-line"> <tt class="py-name">redirections</tt><tt class="py-op">,</tt> <tt class="py-name">connection_type</tt><tt class="py-op">)</tt> </tt>
+<a name="L1570"></a><tt class="py-lineno">1570</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> </tt>
+</div><a name="L1571"></a><tt class="py-lineno">1571</tt> <tt class="py-line"> </tt>
+<a name="L1572"></a><tt class="py-lineno">1572</tt> <tt class="py-line"> <tt id="link-284" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-284', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-285" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-285', 'request', 'link-55');">request</a></tt> <tt class="py-op">=</tt> <tt class="py-name">new_request</tt> </tt>
-<a name="L1568"></a><tt class="py-lineno">1568</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-286" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-286', 'http', 'link-58');">http</a></tt> </tt>
-</div><a name="L1569"></a><tt class="py-lineno">1569</tt> <tt class="py-line"> </tt>
-<a name="tunnel_patch"></a><div id="tunnel_patch-def"><a name="L1570"></a><tt class="py-lineno">1570</tt> <tt class="py-line"> </tt>
-<a name="L1571"></a><tt class="py-lineno">1571</tt> <a class="py-toggle" href="#" id="tunnel_patch-toggle" onclick="return toggle('tunnel_patch');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http-module.html#tunnel_patch">tunnel_patch</a><tt class="py-op">(</tt><tt class="py-param">http</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="tunnel_patch-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="tunnel_patch-expanded"><a name="L1572"></a><tt class="py-lineno">1572</tt> <tt class="py-line"> <tt class="py-docstring">"""Tunnel PATCH requests over POST.</tt> </tt>
-<a name="L1573"></a><tt class="py-lineno">1573</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
-<a name="L1574"></a><tt class="py-lineno">1574</tt> <tt class="py-line"><tt class="py-docstring"> http - An instance of httplib2.Http</tt> </tt>
-<a name="L1575"></a><tt class="py-lineno">1575</tt> <tt class="py-line"><tt class="py-docstring"> or something that acts like it.</tt> </tt>
-<a name="L1576"></a><tt class="py-lineno">1576</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1577"></a><tt class="py-lineno">1577</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
-<a name="L1578"></a><tt class="py-lineno">1578</tt> <tt class="py-line"><tt class="py-docstring"> A modified instance of http that was passed in.</tt> </tt>
-<a name="L1579"></a><tt class="py-lineno">1579</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1580"></a><tt class="py-lineno">1580</tt> <tt class="py-line"><tt class="py-docstring"> Example:</tt> </tt>
+<a name="L1573"></a><tt class="py-lineno">1573</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-286" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-286', 'http', 'link-58');">http</a></tt> </tt>
+</div><a name="L1574"></a><tt class="py-lineno">1574</tt> <tt class="py-line"> </tt>
+<a name="tunnel_patch"></a><div id="tunnel_patch-def"><a name="L1575"></a><tt class="py-lineno">1575</tt> <tt class="py-line"> </tt>
+<a name="L1576"></a><tt class="py-lineno">1576</tt> <a class="py-toggle" href="#" id="tunnel_patch-toggle" onclick="return toggle('tunnel_patch');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="googleapiclient.http-module.html#tunnel_patch">tunnel_patch</a><tt class="py-op">(</tt><tt class="py-param">http</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="tunnel_patch-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="tunnel_patch-expanded"><a name="L1577"></a><tt class="py-lineno">1577</tt> <tt class="py-line"> <tt class="py-docstring">"""Tunnel PATCH requests over POST.</tt> </tt>
+<a name="L1578"></a><tt class="py-lineno">1578</tt> <tt class="py-line"><tt class="py-docstring"> Args:</tt> </tt>
+<a name="L1579"></a><tt class="py-lineno">1579</tt> <tt class="py-line"><tt class="py-docstring"> http - An instance of httplib2.Http</tt> </tt>
+<a name="L1580"></a><tt class="py-lineno">1580</tt> <tt class="py-line"><tt class="py-docstring"> or something that acts like it.</tt> </tt>
<a name="L1581"></a><tt class="py-lineno">1581</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1582"></a><tt class="py-lineno">1582</tt> <tt class="py-line"><tt class="py-docstring"> h = httplib2.Http()</tt> </tt>
-<a name="L1583"></a><tt class="py-lineno">1583</tt> <tt class="py-line"><tt class="py-docstring"> h = tunnel_patch(h, "my-app-name/6.0")</tt> </tt>
+<a name="L1582"></a><tt class="py-lineno">1582</tt> <tt class="py-line"><tt class="py-docstring"> Returns:</tt> </tt>
+<a name="L1583"></a><tt class="py-lineno">1583</tt> <tt class="py-line"><tt class="py-docstring"> A modified instance of http that was passed in.</tt> </tt>
<a name="L1584"></a><tt class="py-lineno">1584</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1585"></a><tt class="py-lineno">1585</tt> <tt class="py-line"><tt class="py-docstring"> Useful if you are running on a platform that doesn't support PATCH.</tt> </tt>
-<a name="L1586"></a><tt class="py-lineno">1586</tt> <tt class="py-line"><tt class="py-docstring"> Apply this last if you are using OAuth 1.0, as changing the method</tt> </tt>
-<a name="L1587"></a><tt class="py-lineno">1587</tt> <tt class="py-line"><tt class="py-docstring"> will result in a different signature.</tt> </tt>
-<a name="L1588"></a><tt class="py-lineno">1588</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1589"></a><tt class="py-lineno">1589</tt> <tt class="py-line"> <tt class="py-name">request_orig</tt> <tt class="py-op">=</tt> <tt id="link-287" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-287', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-288" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1585"></a><tt class="py-lineno">1585</tt> <tt class="py-line"><tt class="py-docstring"> Example:</tt> </tt>
+<a name="L1586"></a><tt class="py-lineno">1586</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1587"></a><tt class="py-lineno">1587</tt> <tt class="py-line"><tt class="py-docstring"> h = httplib2.Http()</tt> </tt>
+<a name="L1588"></a><tt class="py-lineno">1588</tt> <tt class="py-line"><tt class="py-docstring"> h = tunnel_patch(h, "my-app-name/6.0")</tt> </tt>
+<a name="L1589"></a><tt class="py-lineno">1589</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1590"></a><tt class="py-lineno">1590</tt> <tt class="py-line"><tt class="py-docstring"> Useful if you are running on a platform that doesn't support PATCH.</tt> </tt>
+<a name="L1591"></a><tt class="py-lineno">1591</tt> <tt class="py-line"><tt class="py-docstring"> Apply this last if you are using OAuth 1.0, as changing the method</tt> </tt>
+<a name="L1592"></a><tt class="py-lineno">1592</tt> <tt class="py-line"><tt class="py-docstring"> will result in a different signature.</tt> </tt>
+<a name="L1593"></a><tt class="py-lineno">1593</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1594"></a><tt class="py-lineno">1594</tt> <tt class="py-line"> <tt class="py-name">request_orig</tt> <tt class="py-op">=</tt> <tt id="link-287" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-287', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-288" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-288', 'request', 'link-55');">request</a></tt> </tt>
-<a name="L1590"></a><tt class="py-lineno">1590</tt> <tt class="py-line"> </tt>
-<a name="L1591"></a><tt class="py-lineno">1591</tt> <tt class="py-line"> <tt class="py-comment"># The closure that will replace 'httplib2.Http.request'.</tt> </tt>
-<a name="L1592"></a><tt class="py-lineno">1592</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">new_request</tt><tt class="py-op">(</tt><tt class="py-param">uri</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
-<a name="L1593"></a><tt class="py-lineno">1593</tt> <tt class="py-line"> <tt class="py-param">redirections</tt><tt class="py-op">=</tt><tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">DEFAULT_MAX_REDIRECTS</tt><tt class="py-op">,</tt> </tt>
-<a name="L1594"></a><tt class="py-lineno">1594</tt> <tt class="py-line"> <tt class="py-param">connection_type</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1595"></a><tt class="py-lineno">1595</tt> <tt class="py-line"> <tt class="py-docstring">"""Modify the request headers to add the user-agent."""</tt> </tt>
-<a name="L1596"></a><tt class="py-lineno">1596</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">headers</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1597"></a><tt class="py-lineno">1597</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L1598"></a><tt class="py-lineno">1598</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">method</tt> <tt class="py-op">==</tt> <tt class="py-string">'PATCH'</tt><tt class="py-op">:</tt> </tt>
-<a name="L1599"></a><tt class="py-lineno">1599</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'oauth_token'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">headers</tt><tt class="py-op">.</tt><tt id="link-289" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-289', 'get', 'link-75');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'authorization'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1600"></a><tt class="py-lineno">1600</tt> <tt class="py-line"> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt> </tt>
-<a name="L1601"></a><tt class="py-lineno">1601</tt> <tt class="py-line"> <tt class="py-string">'OAuth 1.0 request made with Credentials after tunnel_patch.'</tt><tt class="py-op">)</tt> </tt>
-<a name="L1602"></a><tt class="py-lineno">1602</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'x-http-method-override'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-string">"PATCH"</tt> </tt>
-<a name="L1603"></a><tt class="py-lineno">1603</tt> <tt class="py-line"> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-string">'POST'</tt> </tt>
-<a name="L1604"></a><tt class="py-lineno">1604</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">request_orig</tt><tt class="py-op">(</tt><tt class="py-name">uri</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">,</tt> <tt id="link-290" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-290', 'body', 'link-46');">body</a></tt><tt class="py-op">,</tt> <tt class="py-name">headers</tt><tt class="py-op">,</tt> </tt>
-<a name="L1605"></a><tt class="py-lineno">1605</tt> <tt class="py-line"> <tt class="py-name">redirections</tt><tt class="py-op">,</tt> <tt class="py-name">connection_type</tt><tt class="py-op">)</tt> </tt>
-<a name="L1606"></a><tt class="py-lineno">1606</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> </tt>
-</div><a name="L1607"></a><tt class="py-lineno">1607</tt> <tt class="py-line"> </tt>
-<a name="L1608"></a><tt class="py-lineno">1608</tt> <tt class="py-line"> <tt id="link-291" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-291', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-292" class="py-name"><a title="googleapiclient.http.HttpMock.request
+<a name="L1595"></a><tt class="py-lineno">1595</tt> <tt class="py-line"> </tt>
+<a name="L1596"></a><tt class="py-lineno">1596</tt> <tt class="py-line"> <tt class="py-comment"># The closure that will replace 'httplib2.Http.request'.</tt> </tt>
+<a name="L1597"></a><tt class="py-lineno">1597</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">new_request</tt><tt class="py-op">(</tt><tt class="py-param">uri</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">=</tt><tt class="py-string">'GET'</tt><tt class="py-op">,</tt> <tt class="py-param">body</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">headers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L1598"></a><tt class="py-lineno">1598</tt> <tt class="py-line"> <tt class="py-param">redirections</tt><tt class="py-op">=</tt><tt class="py-name">httplib2</tt><tt class="py-op">.</tt><tt class="py-name">DEFAULT_MAX_REDIRECTS</tt><tt class="py-op">,</tt> </tt>
+<a name="L1599"></a><tt class="py-lineno">1599</tt> <tt class="py-line"> <tt class="py-param">connection_type</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1600"></a><tt class="py-lineno">1600</tt> <tt class="py-line"> <tt class="py-docstring">"""Modify the request headers to add the user-agent."""</tt> </tt>
+<a name="L1601"></a><tt class="py-lineno">1601</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">headers</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1602"></a><tt class="py-lineno">1602</tt> <tt class="py-line"> <tt class="py-name">headers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L1603"></a><tt class="py-lineno">1603</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">method</tt> <tt class="py-op">==</tt> <tt class="py-string">'PATCH'</tt><tt class="py-op">:</tt> </tt>
+<a name="L1604"></a><tt class="py-lineno">1604</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'oauth_token'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">headers</tt><tt class="py-op">.</tt><tt id="link-289" class="py-name"><a title="googleapiclient.schema.Schemas.get" class="py-name" href="#" onclick="return doclink('link-289', 'get', 'link-75');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'authorization'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1605"></a><tt class="py-lineno">1605</tt> <tt class="py-line"> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt> </tt>
+<a name="L1606"></a><tt class="py-lineno">1606</tt> <tt class="py-line"> <tt class="py-string">'OAuth 1.0 request made with Credentials after tunnel_patch.'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1607"></a><tt class="py-lineno">1607</tt> <tt class="py-line"> <tt class="py-name">headers</tt><tt class="py-op">[</tt><tt class="py-string">'x-http-method-override'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-string">"PATCH"</tt> </tt>
+<a name="L1608"></a><tt class="py-lineno">1608</tt> <tt class="py-line"> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-string">'POST'</tt> </tt>
+<a name="L1609"></a><tt class="py-lineno">1609</tt> <tt class="py-line"> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> <tt class="py-op">=</tt> <tt class="py-name">request_orig</tt><tt class="py-op">(</tt><tt class="py-name">uri</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">,</tt> <tt id="link-290" class="py-name"><a title="googleapiclient.channel.Channel.body" class="py-name" href="#" onclick="return doclink('link-290', 'body', 'link-46');">body</a></tt><tt class="py-op">,</tt> <tt class="py-name">headers</tt><tt class="py-op">,</tt> </tt>
+<a name="L1610"></a><tt class="py-lineno">1610</tt> <tt class="py-line"> <tt class="py-name">redirections</tt><tt class="py-op">,</tt> <tt class="py-name">connection_type</tt><tt class="py-op">)</tt> </tt>
+<a name="L1611"></a><tt class="py-lineno">1611</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">resp</tt><tt class="py-op">,</tt> <tt class="py-name">content</tt> </tt>
+</div><a name="L1612"></a><tt class="py-lineno">1612</tt> <tt class="py-line"> </tt>
+<a name="L1613"></a><tt class="py-lineno">1613</tt> <tt class="py-line"> <tt id="link-291" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-291', 'http', 'link-58');">http</a></tt><tt class="py-op">.</tt><tt id="link-292" class="py-name"><a title="googleapiclient.http.HttpMock.request
googleapiclient.http.HttpMockSequence.request
googleapiclient.model.BaseModel.request
googleapiclient.model.Model.request" class="py-name" href="#" onclick="return doclink('link-292', 'request', 'link-55');">request</a></tt> <tt class="py-op">=</tt> <tt class="py-name">new_request</tt> </tt>
-<a name="L1609"></a><tt class="py-lineno">1609</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-293" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-293', 'http', 'link-58');">http</a></tt> </tt>
-</div><a name="L1610"></a><tt class="py-lineno">1610</tt> <tt class="py-line"> </tt><script type="text/javascript">
+<a name="L1614"></a><tt class="py-lineno">1614</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-293" class="py-name"><a title="googleapiclient.http" class="py-name" href="#" onclick="return doclink('link-293', 'http', 'link-58');">http</a></tt> </tt>
+</div><a name="L1615"></a><tt class="py-lineno">1615</tt> <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
@@ -1998,7 +2003,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.BatchHttpRequest-class.html b/docs/epy/googleapiclient.http.BatchHttpRequest-class.html
index bbc2469..a8dbc8c 100644
--- a/docs/epy/googleapiclient.http.BatchHttpRequest-class.html
+++ b/docs/epy/googleapiclient.http.BatchHttpRequest-class.html
@@ -59,10 +59,10 @@
<h1 class="epydoc">Class BatchHttpRequest</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#BatchHttpRequest">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_19" name="uml_class_diagram_for_googleap_19">
-<area shape="rect" id="node61" href="googleapiclient.http.BatchHttpRequest-class.html#__init__" title="Constructor for a BatchHttpRequest." alt="" coords="17,39,328,57"/>
-<area shape="rect" id="node61" href="googleapiclient.http.BatchHttpRequest-class.html#add" title="Add a new request." alt="" coords="17,57,328,76"/>
-<area shape="rect" id="node61" href="googleapiclient.http.BatchHttpRequest-class.html#execute" title="Execute all the requests as a single batched HTTP request." alt="" coords="17,76,328,95"/>
-<area shape="rect" id="node1" href="googleapiclient.http.BatchHttpRequest-class.html" title="Batches multiple HttpRequest objects into a single HTTP request." alt="" coords="5,6,339,101"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http.BatchHttpRequest-class.html#__init__" title="Constructor for a BatchHttpRequest." alt="" coords="18,36,331,55"/>
+<area shape="rect" id="node1_4" href="googleapiclient.http.BatchHttpRequest-class.html#add" title="Add a new request." alt="" coords="18,55,331,73"/>
+<area shape="rect" id="node1_5" href="googleapiclient.http.BatchHttpRequest-class.html#execute" title="Execute all the requests as a single batched HTTP request." alt="" coords="18,73,331,92"/>
+<area shape="rect" id="node1" href="googleapiclient.http.BatchHttpRequest-class.html" title="Batches multiple HttpRequest objects into a single HTTP request." alt="" coords="5,5,343,99"/>
</map>
<img src="uml_class_diagram_for_googleap_19.gif" alt='' usemap="#uml_class_diagram_for_googleap_19" ismap="ismap" class="graph-without-title" />
</center>
@@ -740,7 +740,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.HttpMock-class.html b/docs/epy/googleapiclient.http.HttpMock-class.html
index 85b89a7..5169ef3 100644
--- a/docs/epy/googleapiclient.http.HttpMock-class.html
+++ b/docs/epy/googleapiclient.http.HttpMock-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class HttpMock</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#HttpMock">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_20" name="uml_class_diagram_for_googleap_20">
-<area shape="rect" id="node62" href="googleapiclient.http.HttpMock-class.html#__init__" title="Args:..." alt="" coords="17,39,611,57"/>
-<area shape="rect" id="node62" href="googleapiclient.http.HttpMock-class.html#request" title="googleapiclient.http.HttpMock.request" alt="" coords="17,57,611,76"/>
-<area shape="rect" id="node1" href="googleapiclient.http.HttpMock-class.html" title="Mock of httplib2.Http" alt="" coords="5,6,621,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.http.HttpMock-class.html#__init__" title="Args:..." alt="" coords="17,36,617,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http.HttpMock-class.html#request" title="googleapiclient.http.HttpMock.request" alt="" coords="17,55,617,73"/>
+<area shape="rect" id="node1" href="googleapiclient.http.HttpMock-class.html" title="Mock of httplib2.Http" alt="" coords="5,5,629,80"/>
</map>
<img src="uml_class_diagram_for_googleap_20.gif" alt='' usemap="#uml_class_diagram_for_googleap_20" ismap="ismap" class="graph-without-title" />
</center>
@@ -250,7 +250,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.HttpMockSequence-class.html b/docs/epy/googleapiclient.http.HttpMockSequence-class.html
index 9cfb146..66b2df7 100644
--- a/docs/epy/googleapiclient.http.HttpMockSequence-class.html
+++ b/docs/epy/googleapiclient.http.HttpMockSequence-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class HttpMockSequence</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#HttpMockSequence">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_21" name="uml_class_diagram_for_googleap_21">
-<area shape="rect" id="node63" href="googleapiclient.http.HttpMockSequence-class.html#__init__" title="Args:..." alt="" coords="17,39,611,57"/>
-<area shape="rect" id="node63" href="googleapiclient.http.HttpMockSequence-class.html#request" title="googleapiclient.http.HttpMockSequence.request" alt="" coords="17,57,611,76"/>
-<area shape="rect" id="node1" href="googleapiclient.http.HttpMockSequence-class.html" title="Mock of httplib2.Http" alt="" coords="5,6,621,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.http.HttpMockSequence-class.html#__init__" title="Args:..." alt="" coords="17,36,617,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http.HttpMockSequence-class.html#request" title="googleapiclient.http.HttpMockSequence.request" alt="" coords="17,55,617,73"/>
+<area shape="rect" id="node1" href="googleapiclient.http.HttpMockSequence-class.html" title="Mock of httplib2.Http" alt="" coords="5,5,629,80"/>
</map>
<img src="uml_class_diagram_for_googleap_21.gif" alt='' usemap="#uml_class_diagram_for_googleap_21" ismap="ismap" class="graph-without-title" />
</center>
@@ -267,7 +267,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.HttpRequest-class.html b/docs/epy/googleapiclient.http.HttpRequest-class.html
index 57dc573..c1e5f47 100644
--- a/docs/epy/googleapiclient.http.HttpRequest-class.html
+++ b/docs/epy/googleapiclient.http.HttpRequest-class.html
@@ -59,13 +59,13 @@
<h1 class="epydoc">Class HttpRequest</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#HttpRequest">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_22" name="uml_class_diagram_for_googleap_22">
-<area shape="rect" id="node64" href="googleapiclient.http.HttpRequest-class.html#__init__" title="Constructor for an HttpRequest." alt="" coords="17,39,677,57"/>
-<area shape="rect" id="node64" href="googleapiclient.http.HttpRequest-class.html#execute" title="Execute the request." alt="" coords="17,57,677,76"/>
-<area shape="rect" id="node64" href="googleapiclient.http.HttpRequest-class.html#add_response_callback" title="add_response_headers_callback" alt="" coords="17,76,677,95"/>
-<area shape="rect" id="node64" href="googleapiclient.http.HttpRequest-class.html#next_chunk" title="Execute the next step of a resumable upload." alt="" coords="17,95,677,113"/>
-<area shape="rect" id="node64" href="googleapiclient.http.HttpRequest-class.html#to_json" title="Returns a JSON representation of the HttpRequest." alt="" coords="17,113,677,132"/>
-<area shape="rect" id="node64" href="googleapiclient.http.HttpRequest-class.html#from_json" title="Returns an HttpRequest populated with info from a JSON object." alt="" coords="17,132,677,151"/>
-<area shape="rect" id="node1" href="googleapiclient.http.HttpRequest-class.html" title="Encapsulates a single HTTP request." alt="" coords="5,6,688,157"/>
+<area shape="rect" id="node1_6" href="googleapiclient.http.HttpRequest-class.html#__init__" title="Constructor for an HttpRequest." alt="" coords="17,36,684,55"/>
+<area shape="rect" id="node1_7" href="googleapiclient.http.HttpRequest-class.html#execute" title="Execute the request." alt="" coords="17,55,684,73"/>
+<area shape="rect" id="node1_8" href="googleapiclient.http.HttpRequest-class.html#add_response_callback" title="add_response_headers_callback" alt="" coords="17,73,684,92"/>
+<area shape="rect" id="node1_9" href="googleapiclient.http.HttpRequest-class.html#next_chunk" title="Execute the next step of a resumable upload." alt="" coords="17,92,684,111"/>
+<area shape="rect" id="node1_10" href="googleapiclient.http.HttpRequest-class.html#to_json" title="Returns a JSON representation of the HttpRequest." alt="" coords="17,111,684,129"/>
+<area shape="rect" id="node1_11" href="googleapiclient.http.HttpRequest-class.html#from_json" title="Returns an HttpRequest populated with info from a JSON object." alt="" coords="17,129,684,148"/>
+<area shape="rect" id="node1" href="googleapiclient.http.HttpRequest-class.html" title="Encapsulates a single HTTP request." alt="" coords="5,5,696,155"/>
</map>
<img src="uml_class_diagram_for_googleap_22.gif" alt='' usemap="#uml_class_diagram_for_googleap_22" ismap="ismap" class="graph-without-title" />
</center>
@@ -561,7 +561,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.HttpRequestMock-class.html b/docs/epy/googleapiclient.http.HttpRequestMock-class.html
index dc270a7..3e8c7f2 100644
--- a/docs/epy/googleapiclient.http.HttpRequestMock-class.html
+++ b/docs/epy/googleapiclient.http.HttpRequestMock-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class HttpRequestMock</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#HttpRequestMock">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_23" name="uml_class_diagram_for_googleap_23">
-<area shape="rect" id="node65" href="googleapiclient.http.HttpRequestMock-class.html#__init__" title="Constructor for HttpRequestMock" alt="" coords="17,39,241,57"/>
-<area shape="rect" id="node65" href="googleapiclient.http.HttpRequestMock-class.html#execute" title="Execute the request." alt="" coords="17,57,241,76"/>
-<area shape="rect" id="node1" href="googleapiclient.http.HttpRequestMock-class.html" title="Mock of HttpRequest." alt="" coords="5,6,253,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.http.HttpRequestMock-class.html#__init__" title="Constructor for HttpRequestMock" alt="" coords="17,36,241,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http.HttpRequestMock-class.html#execute" title="Execute the request." alt="" coords="17,55,241,73"/>
+<area shape="rect" id="node1" href="googleapiclient.http.HttpRequestMock-class.html" title="Mock of HttpRequest." alt="" coords="5,5,253,80"/>
</map>
<img src="uml_class_diagram_for_googleap_23.gif" alt='' usemap="#uml_class_diagram_for_googleap_23" ismap="ismap" class="graph-without-title" />
</center>
@@ -279,7 +279,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.MediaDownloadProgress-class.html b/docs/epy/googleapiclient.http.MediaDownloadProgress-class.html
index cec2696..ce373ba 100644
--- a/docs/epy/googleapiclient.http.MediaDownloadProgress-class.html
+++ b/docs/epy/googleapiclient.http.MediaDownloadProgress-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class MediaDownloadProgress</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaDownloadProgress">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_24" name="uml_class_diagram_for_googleap_24">
-<area shape="rect" id="node66" href="googleapiclient.http.MediaDownloadProgress-class.html#__init__" title="Constructor." alt="" coords="17,39,288,57"/>
-<area shape="rect" id="node66" href="googleapiclient.http.MediaDownloadProgress-class.html#progress" title="Percent of download completed, as a float." alt="" coords="17,57,288,76"/>
-<area shape="rect" id="node1" href="googleapiclient.http.MediaDownloadProgress-class.html" title="Status of a resumable download." alt="" coords="5,6,299,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.http.MediaDownloadProgress-class.html#__init__" title="Constructor." alt="" coords="18,36,291,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http.MediaDownloadProgress-class.html#progress" title="Percent of download completed, as a float." alt="" coords="18,55,291,73"/>
+<area shape="rect" id="node1" href="googleapiclient.http.MediaDownloadProgress-class.html" title="Status of a resumable download." alt="" coords="5,5,303,80"/>
</map>
<img src="uml_class_diagram_for_googleap_24.gif" alt='' usemap="#uml_class_diagram_for_googleap_24" ismap="ismap" class="graph-without-title" />
</center>
@@ -272,7 +272,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.MediaFileUpload-class.html b/docs/epy/googleapiclient.http.MediaFileUpload-class.html
index 75c3ef5..14072ad 100644
--- a/docs/epy/googleapiclient.http.MediaFileUpload-class.html
+++ b/docs/epy/googleapiclient.http.MediaFileUpload-class.html
@@ -59,20 +59,20 @@
<h1 class="epydoc">Class MediaFileUpload</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaFileUpload">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_25" name="uml_class_diagram_for_googleap_25">
-<area shape="rect" id="node67" href="googleapiclient.http.MediaFileUpload-class.html#__init__" title="Constructor." alt="" coords="17,305,597,324"/>
-<area shape="rect" id="node67" href="googleapiclient.http.MediaFileUpload-class.html#to_json" title="Creating a JSON representation of an instance of MediaFileUpload." alt="" coords="17,324,597,343"/>
-<area shape="rect" id="node67" href="googleapiclient.http.MediaFileUpload-class.html#from_json" title="googleapiclient.http.MediaFileUpload.from_json" alt="" coords="17,343,597,361"/>
-<area shape="rect" id="node1" href="googleapiclient.http.MediaFileUpload-class.html" title="A MediaUpload for a file." alt="" coords="5,273,608,367"/>
-<area shape="rect" id="node68" href="googleapiclient.http.MediaIoBaseUpload-class.html#chunksize" title="Chunk size for resumable uploads." alt="" coords="224,116,392,135"/>
-<area shape="rect" id="node68" href="googleapiclient.http.MediaIoBaseUpload-class.html#mimetype" title="Mime type of the body." alt="" coords="224,135,392,153"/>
-<area shape="rect" id="node68" href="googleapiclient.http.MediaIoBaseUpload-class.html#size" title="Size of upload." alt="" coords="224,153,392,172"/>
-<area shape="rect" id="node68" href="googleapiclient.http.MediaIoBaseUpload-class.html#resumable" title="Whether this upload is resumable." alt="" coords="224,172,392,191"/>
-<area shape="rect" id="node68" href="googleapiclient.http.MediaIoBaseUpload-class.html#getbytes" title="Get bytes from the media." alt="" coords="224,191,392,209"/>
-<area shape="rect" id="node68" href="googleapiclient.http.MediaIoBaseUpload-class.html#has_stream" title="Does the underlying upload support a streaming interface." alt="" coords="224,209,392,228"/>
-<area shape="rect" id="node68" href="googleapiclient.http.MediaIoBaseUpload-class.html#stream" title="A stream interface to the data being uploaded." alt="" coords="224,228,392,247"/>
-<area shape="rect" id="node2" href="googleapiclient.http.MediaIoBaseUpload-class.html" title="A MediaUpload for a io.Base objects." alt="" coords="212,83,404,253"/>
-<area shape="rect" id="node69" href="googleapiclient.http.MediaUpload-class.html#new_from_json" title="Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json()." alt="" coords="240,39,376,57"/>
-<area shape="rect" id="node3" href="googleapiclient.http.MediaUpload-class.html" title="Describes a media object to upload." alt="" coords="228,6,388,63"/>
+<area shape="rect" id="node1_11" href="googleapiclient.http.MediaFileUpload-class.html#__init__" title="Constructor." alt="" coords="17,297,596,316"/>
+<area shape="rect" id="node1_12" href="googleapiclient.http.MediaFileUpload-class.html#to_json" title="Creating a JSON representation of an instance of MediaFileUpload." alt="" coords="17,316,596,335"/>
+<area shape="rect" id="node1_13" href="googleapiclient.http.MediaFileUpload-class.html#from_json" title="googleapiclient.http.MediaFileUpload.from_json" alt="" coords="17,335,596,353"/>
+<area shape="rect" id="node1" href="googleapiclient.http.MediaFileUpload-class.html" title="A MediaUpload for a file." alt="" coords="5,267,608,360"/>
+<area shape="rect" id="node2_14" href="googleapiclient.http.MediaIoBaseUpload-class.html#chunksize" title="Chunk size for resumable uploads." alt="" coords="223,111,391,129"/>
+<area shape="rect" id="node2_15" href="googleapiclient.http.MediaIoBaseUpload-class.html#mimetype" title="Mime type of the body." alt="" coords="223,129,391,148"/>
+<area shape="rect" id="node2_16" href="googleapiclient.http.MediaIoBaseUpload-class.html#size" title="Size of upload." alt="" coords="223,148,391,167"/>
+<area shape="rect" id="node2_17" href="googleapiclient.http.MediaIoBaseUpload-class.html#resumable" title="Whether this upload is resumable." alt="" coords="223,167,391,185"/>
+<area shape="rect" id="node2_18" href="googleapiclient.http.MediaIoBaseUpload-class.html#getbytes" title="Get bytes from the media." alt="" coords="223,185,391,204"/>
+<area shape="rect" id="node2_19" href="googleapiclient.http.MediaIoBaseUpload-class.html#has_stream" title="Does the underlying upload support a streaming interface." alt="" coords="223,204,391,223"/>
+<area shape="rect" id="node2_20" href="googleapiclient.http.MediaIoBaseUpload-class.html#stream" title="A stream interface to the data being uploaded." alt="" coords="223,223,391,241"/>
+<area shape="rect" id="node2" href="googleapiclient.http.MediaIoBaseUpload-class.html" title="A MediaUpload for a io.Base objects." alt="" coords="211,80,403,248"/>
+<area shape="rect" id="node3_21" href="googleapiclient.http.MediaUpload-class.html#new_from_json" title="Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json()." alt="" coords="239,36,373,55"/>
+<area shape="rect" id="node3" href="googleapiclient.http.MediaUpload-class.html" title="Describes a media object to upload." alt="" coords="226,5,385,61"/>
</map>
<img src="uml_class_diagram_for_googleap_25.gif" alt='' usemap="#uml_class_diagram_for_googleap_25" ismap="ismap" class="graph-without-title" />
</center>
@@ -392,7 +392,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.MediaInMemoryUpload-class.html b/docs/epy/googleapiclient.http.MediaInMemoryUpload-class.html
index 84c53d8..072ed50 100644
--- a/docs/epy/googleapiclient.http.MediaInMemoryUpload-class.html
+++ b/docs/epy/googleapiclient.http.MediaInMemoryUpload-class.html
@@ -59,19 +59,19 @@
<h1 class="epydoc">Class MediaInMemoryUpload</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaInMemoryUpload">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_26" name="uml_class_diagram_for_googleap_26">
-<area shape="rect" id="node70" href="googleapiclient.http.MediaInMemoryUpload-class.html#__init__" title="Create a new MediaInMemoryUpload." alt="" coords="17,324,689,343"/>
-<area shape="rect" id="node1" href="googleapiclient.http.MediaInMemoryUpload-class.html" title="MediaUpload for a chunk of bytes." alt="" coords="5,291,701,349"/>
-<area shape="rect" id="node71" href="googleapiclient.http.MediaIoBaseUpload-class.html#chunksize" title="Chunk size for resumable uploads." alt="" coords="269,116,437,135"/>
-<area shape="rect" id="node71" href="googleapiclient.http.MediaIoBaseUpload-class.html#mimetype" title="Mime type of the body." alt="" coords="269,135,437,153"/>
-<area shape="rect" id="node71" href="googleapiclient.http.MediaIoBaseUpload-class.html#size" title="Size of upload." alt="" coords="269,153,437,172"/>
-<area shape="rect" id="node71" href="googleapiclient.http.MediaIoBaseUpload-class.html#resumable" title="Whether this upload is resumable." alt="" coords="269,172,437,191"/>
-<area shape="rect" id="node71" href="googleapiclient.http.MediaIoBaseUpload-class.html#getbytes" title="Get bytes from the media." alt="" coords="269,191,437,209"/>
-<area shape="rect" id="node71" href="googleapiclient.http.MediaIoBaseUpload-class.html#has_stream" title="Does the underlying upload support a streaming interface." alt="" coords="269,209,437,228"/>
-<area shape="rect" id="node71" href="googleapiclient.http.MediaIoBaseUpload-class.html#stream" title="A stream interface to the data being uploaded." alt="" coords="269,228,437,247"/>
-<area shape="rect" id="node71" href="googleapiclient.http.MediaIoBaseUpload-class.html#to_json" title="This upload type is not serializable." alt="" coords="269,247,437,265"/>
-<area shape="rect" id="node2" href="googleapiclient.http.MediaIoBaseUpload-class.html" title="A MediaUpload for a io.Base objects." alt="" coords="257,83,449,271"/>
-<area shape="rect" id="node72" href="googleapiclient.http.MediaUpload-class.html#new_from_json" title="Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json()." alt="" coords="285,39,421,57"/>
-<area shape="rect" id="node3" href="googleapiclient.http.MediaUpload-class.html" title="Describes a media object to upload." alt="" coords="273,6,433,63"/>
+<area shape="rect" id="node1_10" href="googleapiclient.http.MediaInMemoryUpload-class.html#__init__" title="Create a new MediaInMemoryUpload." alt="" coords="17,316,689,335"/>
+<area shape="rect" id="node1" href="googleapiclient.http.MediaInMemoryUpload-class.html" title="MediaUpload for a chunk of bytes." alt="" coords="5,285,701,341"/>
+<area shape="rect" id="node2_11" href="googleapiclient.http.MediaIoBaseUpload-class.html#chunksize" title="Chunk size for resumable uploads." alt="" coords="269,111,437,129"/>
+<area shape="rect" id="node2_12" href="googleapiclient.http.MediaIoBaseUpload-class.html#mimetype" title="Mime type of the body." alt="" coords="269,129,437,148"/>
+<area shape="rect" id="node2_13" href="googleapiclient.http.MediaIoBaseUpload-class.html#size" title="Size of upload." alt="" coords="269,148,437,167"/>
+<area shape="rect" id="node2_14" href="googleapiclient.http.MediaIoBaseUpload-class.html#resumable" title="Whether this upload is resumable." alt="" coords="269,167,437,185"/>
+<area shape="rect" id="node2_15" href="googleapiclient.http.MediaIoBaseUpload-class.html#getbytes" title="Get bytes from the media." alt="" coords="269,185,437,204"/>
+<area shape="rect" id="node2_16" href="googleapiclient.http.MediaIoBaseUpload-class.html#has_stream" title="Does the underlying upload support a streaming interface." alt="" coords="269,204,437,223"/>
+<area shape="rect" id="node2_17" href="googleapiclient.http.MediaIoBaseUpload-class.html#stream" title="A stream interface to the data being uploaded." alt="" coords="269,223,437,241"/>
+<area shape="rect" id="node2_18" href="googleapiclient.http.MediaIoBaseUpload-class.html#to_json" title="This upload type is not serializable." alt="" coords="269,241,437,260"/>
+<area shape="rect" id="node2" href="googleapiclient.http.MediaIoBaseUpload-class.html" title="A MediaUpload for a io.Base objects." alt="" coords="257,80,449,267"/>
+<area shape="rect" id="node3_19" href="googleapiclient.http.MediaUpload-class.html#new_from_json" title="Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json()." alt="" coords="285,36,420,55"/>
+<area shape="rect" id="node3" href="googleapiclient.http.MediaUpload-class.html" title="Describes a media object to upload." alt="" coords="273,5,431,61"/>
</map>
<img src="uml_class_diagram_for_googleap_26.gif" alt='' usemap="#uml_class_diagram_for_googleap_26" ismap="ismap" class="graph-without-title" />
</center>
@@ -297,7 +297,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.MediaIoBaseDownload-class.html b/docs/epy/googleapiclient.http.MediaIoBaseDownload-class.html
index 62125e0..3a0feb8 100644
--- a/docs/epy/googleapiclient.http.MediaIoBaseDownload-class.html
+++ b/docs/epy/googleapiclient.http.MediaIoBaseDownload-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class MediaIoBaseDownload</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaIoBaseDownload">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_27" name="uml_class_diagram_for_googleap_27">
-<area shape="rect" id="node73" href="googleapiclient.http.MediaIoBaseDownload-class.html#__init__" title="Constructor." alt="" coords="17,39,397,57"/>
-<area shape="rect" id="node73" href="googleapiclient.http.MediaIoBaseDownload-class.html#next_chunk" title="Get the next chunk of the download." alt="" coords="17,57,397,76"/>
-<area shape="rect" id="node1" href="googleapiclient.http.MediaIoBaseDownload-class.html" title=""Download media resources." alt="" coords="5,6,408,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.http.MediaIoBaseDownload-class.html#__init__" title="Constructor." alt="" coords="18,36,395,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http.MediaIoBaseDownload-class.html#next_chunk" title="Get the next chunk of the download." alt="" coords="18,55,395,73"/>
+<area shape="rect" id="node1" href="googleapiclient.http.MediaIoBaseDownload-class.html" title=""Download media resources." alt="" coords="5,5,407,80"/>
</map>
<img src="uml_class_diagram_for_googleap_27.gif" alt='' usemap="#uml_class_diagram_for_googleap_27" ismap="ismap" class="graph-without-title" />
</center>
@@ -314,7 +314,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.MediaIoBaseUpload-class.html b/docs/epy/googleapiclient.http.MediaIoBaseUpload-class.html
index 242534b..d61f603 100644
--- a/docs/epy/googleapiclient.http.MediaIoBaseUpload-class.html
+++ b/docs/epy/googleapiclient.http.MediaIoBaseUpload-class.html
@@ -59,18 +59,18 @@
<h1 class="epydoc">Class MediaIoBaseUpload</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaIoBaseUpload">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_28" name="uml_class_diagram_for_googleap_28">
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#__init__" title="Constructor." alt="" coords="17,116,520,135"/>
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#chunksize" title="Chunk size for resumable uploads." alt="" coords="17,135,520,153"/>
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#mimetype" title="Mime type of the body." alt="" coords="17,153,520,172"/>
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#size" title="Size of upload." alt="" coords="17,172,520,191"/>
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#resumable" title="Whether this upload is resumable." alt="" coords="17,191,520,209"/>
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#getbytes" title="Get bytes from the media." alt="" coords="17,209,520,228"/>
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#has_stream" title="Does the underlying upload support a streaming interface." alt="" coords="17,228,520,247"/>
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#stream" title="A stream interface to the data being uploaded." alt="" coords="17,247,520,265"/>
-<area shape="rect" id="node74" href="googleapiclient.http.MediaIoBaseUpload-class.html#to_json" title="This upload type is not serializable." alt="" coords="17,265,520,284"/>
-<area shape="rect" id="node1" href="googleapiclient.http.MediaIoBaseUpload-class.html" title="A MediaUpload for a io.Base objects." alt="" coords="5,83,531,290"/>
-<area shape="rect" id="node75" href="googleapiclient.http.MediaUpload-class.html#new_from_json" title="Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json()." alt="" coords="201,39,337,57"/>
-<area shape="rect" id="node2" href="googleapiclient.http.MediaUpload-class.html" title="Describes a media object to upload." alt="" coords="189,6,349,63"/>
+<area shape="rect" id="node1_10" href="googleapiclient.http.MediaIoBaseUpload-class.html#__init__" title="Constructor." alt="" coords="18,111,518,129"/>
+<area shape="rect" id="node1_11" href="googleapiclient.http.MediaIoBaseUpload-class.html#chunksize" title="Chunk size for resumable uploads." alt="" coords="18,129,518,148"/>
+<area shape="rect" id="node1_12" href="googleapiclient.http.MediaIoBaseUpload-class.html#mimetype" title="Mime type of the body." alt="" coords="18,148,518,167"/>
+<area shape="rect" id="node1_13" href="googleapiclient.http.MediaIoBaseUpload-class.html#size" title="Size of upload." alt="" coords="18,167,518,185"/>
+<area shape="rect" id="node1_14" href="googleapiclient.http.MediaIoBaseUpload-class.html#resumable" title="Whether this upload is resumable." alt="" coords="18,185,518,204"/>
+<area shape="rect" id="node1_15" href="googleapiclient.http.MediaIoBaseUpload-class.html#getbytes" title="Get bytes from the media." alt="" coords="18,204,518,223"/>
+<area shape="rect" id="node1_16" href="googleapiclient.http.MediaIoBaseUpload-class.html#has_stream" title="Does the underlying upload support a streaming interface." alt="" coords="18,223,518,241"/>
+<area shape="rect" id="node1_17" href="googleapiclient.http.MediaIoBaseUpload-class.html#stream" title="A stream interface to the data being uploaded." alt="" coords="18,241,518,260"/>
+<area shape="rect" id="node1_18" href="googleapiclient.http.MediaIoBaseUpload-class.html#to_json" title="This upload type is not serializable." alt="" coords="18,260,518,279"/>
+<area shape="rect" id="node1" href="googleapiclient.http.MediaIoBaseUpload-class.html" title="A MediaUpload for a io.Base objects." alt="" coords="5,80,529,285"/>
+<area shape="rect" id="node2_19" href="googleapiclient.http.MediaUpload-class.html#new_from_json" title="Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json()." alt="" coords="201,36,335,55"/>
+<area shape="rect" id="node2" href="googleapiclient.http.MediaUpload-class.html" title="Describes a media object to upload." alt="" coords="188,5,347,61"/>
</map>
<img src="uml_class_diagram_for_googleap_28.gif" alt='' usemap="#uml_class_diagram_for_googleap_28" ismap="ismap" class="graph-without-title" />
</center>
@@ -674,7 +674,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.MediaUpload-class.html b/docs/epy/googleapiclient.http.MediaUpload-class.html
index 6716514..52a632a 100644
--- a/docs/epy/googleapiclient.http.MediaUpload-class.html
+++ b/docs/epy/googleapiclient.http.MediaUpload-class.html
@@ -59,16 +59,16 @@
<h1 class="epydoc">Class MediaUpload</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaUpload">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_29" name="uml_class_diagram_for_googleap_29">
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#chunksize" title="Chunk size for resumable uploads." alt="" coords="17,39,172,57"/>
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#mimetype" title="Mime type of the body." alt="" coords="17,57,172,76"/>
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#size" title="Size of upload." alt="" coords="17,76,172,95"/>
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#resumable" title="Whether this upload is resumable." alt="" coords="17,95,172,113"/>
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#getbytes" title="Get bytes from the media." alt="" coords="17,113,172,132"/>
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#has_stream" title="Does the underlying upload support a streaming interface." alt="" coords="17,132,172,151"/>
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#stream" title="A stream interface to the data being uploaded." alt="" coords="17,151,172,169"/>
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#to_json" title="Create a JSON representation of an instance of MediaUpload." alt="" coords="17,169,172,188"/>
-<area shape="rect" id="node76" href="googleapiclient.http.MediaUpload-class.html#new_from_json" title="Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json()." alt="" coords="17,188,172,207"/>
-<area shape="rect" id="node1" href="googleapiclient.http.MediaUpload-class.html" title="Describes a media object to upload." alt="" coords="5,6,184,213"/>
+<area shape="rect" id="node1_9" href="googleapiclient.http.MediaUpload-class.html#chunksize" title="Chunk size for resumable uploads." alt="" coords="17,36,172,55"/>
+<area shape="rect" id="node1_10" href="googleapiclient.http.MediaUpload-class.html#mimetype" title="Mime type of the body." alt="" coords="17,55,172,73"/>
+<area shape="rect" id="node1_11" href="googleapiclient.http.MediaUpload-class.html#size" title="Size of upload." alt="" coords="17,73,172,92"/>
+<area shape="rect" id="node1_12" href="googleapiclient.http.MediaUpload-class.html#resumable" title="Whether this upload is resumable." alt="" coords="17,92,172,111"/>
+<area shape="rect" id="node1_13" href="googleapiclient.http.MediaUpload-class.html#getbytes" title="Get bytes from the media." alt="" coords="17,111,172,129"/>
+<area shape="rect" id="node1_14" href="googleapiclient.http.MediaUpload-class.html#has_stream" title="Does the underlying upload support a streaming interface." alt="" coords="17,129,172,148"/>
+<area shape="rect" id="node1_15" href="googleapiclient.http.MediaUpload-class.html#stream" title="A stream interface to the data being uploaded." alt="" coords="17,148,172,167"/>
+<area shape="rect" id="node1_16" href="googleapiclient.http.MediaUpload-class.html#to_json" title="Create a JSON representation of an instance of MediaUpload." alt="" coords="17,167,172,185"/>
+<area shape="rect" id="node1_17" href="googleapiclient.http.MediaUpload-class.html#new_from_json" title="Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json()." alt="" coords="17,185,172,204"/>
+<area shape="rect" id="node1" href="googleapiclient.http.MediaUpload-class.html" title="Describes a media object to upload." alt="" coords="5,5,184,211"/>
</map>
<img src="uml_class_diagram_for_googleap_29.gif" alt='' usemap="#uml_class_diagram_for_googleap_29" ismap="ismap" class="graph-without-title" />
</center>
@@ -681,7 +681,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.MediaUploadProgress-class.html b/docs/epy/googleapiclient.http.MediaUploadProgress-class.html
index 0fbb875..9995432 100644
--- a/docs/epy/googleapiclient.http.MediaUploadProgress-class.html
+++ b/docs/epy/googleapiclient.http.MediaUploadProgress-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class MediaUploadProgress</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaUploadProgress">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_30" name="uml_class_diagram_for_googleap_30">
-<area shape="rect" id="node77" href="googleapiclient.http.MediaUploadProgress-class.html#__init__" title="Constructor." alt="" coords="17,39,288,57"/>
-<area shape="rect" id="node77" href="googleapiclient.http.MediaUploadProgress-class.html#progress" title="Percent of upload completed, as a float." alt="" coords="17,57,288,76"/>
-<area shape="rect" id="node1" href="googleapiclient.http.MediaUploadProgress-class.html" title="Status of a resumable upload." alt="" coords="5,6,299,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.http.MediaUploadProgress-class.html#__init__" title="Constructor." alt="" coords="18,36,291,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http.MediaUploadProgress-class.html#progress" title="Percent of upload completed, as a float." alt="" coords="18,55,291,73"/>
+<area shape="rect" id="node1" href="googleapiclient.http.MediaUploadProgress-class.html" title="Status of a resumable upload." alt="" coords="5,5,303,80"/>
</map>
<img src="uml_class_diagram_for_googleap_30.gif" alt='' usemap="#uml_class_diagram_for_googleap_30" ismap="ismap" class="graph-without-title" />
</center>
@@ -273,7 +273,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http.RequestMockBuilder-class.html b/docs/epy/googleapiclient.http.RequestMockBuilder-class.html
index a3aa7b6..3cc008e 100644
--- a/docs/epy/googleapiclient.http.RequestMockBuilder-class.html
+++ b/docs/epy/googleapiclient.http.RequestMockBuilder-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class RequestMockBuilder</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#RequestMockBuilder">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_31" name="uml_class_diagram_for_googleap_31">
-<area shape="rect" id="node78" href="googleapiclient.http.RequestMockBuilder-class.html#__init__" title="Constructor for RequestMockBuilder" alt="" coords="17,39,680,57"/>
-<area shape="rect" id="node78" href="googleapiclient.http.RequestMockBuilder-class.html#__call__" title="Implements the callable interface that discovery.build() expects of requestBuilder, which is to build an object compatible with HttpRequest.execute()." alt="" coords="17,57,680,76"/>
-<area shape="rect" id="node1" href="googleapiclient.http.RequestMockBuilder-class.html" title="A simple mock of HttpRequest" alt="" coords="5,6,691,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.http.RequestMockBuilder-class.html#__init__" title="Constructor for RequestMockBuilder" alt="" coords="17,36,687,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http.RequestMockBuilder-class.html#__call__" title="Implements the callable interface that discovery.build() expects of requestBuilder, which is to build an object compatible with HttpRequest.execute()." alt="" coords="17,55,687,73"/>
+<area shape="rect" id="node1" href="googleapiclient.http.RequestMockBuilder-class.html" title="A simple mock of HttpRequest" alt="" coords="5,5,699,80"/>
</map>
<img src="uml_class_diagram_for_googleap_31.gif" alt='' usemap="#uml_class_diagram_for_googleap_31" ismap="ismap" class="graph-without-title" />
</center>
@@ -319,7 +319,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.http._StreamSlice-class.html b/docs/epy/googleapiclient.http._StreamSlice-class.html
index 0fe2d40..44c3eb6 100644
--- a/docs/epy/googleapiclient.http._StreamSlice-class.html
+++ b/docs/epy/googleapiclient.http._StreamSlice-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class _StreamSlice</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#_StreamSlice">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_32" name="uml_class_diagram_for_googleap_32">
-<area shape="rect" id="node79" href="googleapiclient.http._StreamSlice-class.html#__init__" title="Constructor." alt="" coords="17,39,253,57"/>
-<area shape="rect" id="node79" href="googleapiclient.http._StreamSlice-class.html#read" title="Read n bytes." alt="" coords="17,57,253,76"/>
-<area shape="rect" id="node1" href="googleapiclient.http._StreamSlice-class.html" title="Truncated stream." alt="" coords="5,6,264,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.http._StreamSlice-class.html#__init__" title="Constructor." alt="" coords="18,36,254,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.http._StreamSlice-class.html#read" title="Read n bytes." alt="" coords="18,55,254,73"/>
+<area shape="rect" id="node1" href="googleapiclient.http._StreamSlice-class.html" title="Truncated stream." alt="" coords="5,5,265,80"/>
</map>
<img src="uml_class_diagram_for_googleap_32.gif" alt='' usemap="#uml_class_diagram_for_googleap_32" ismap="ismap" class="graph-without-title" />
</center>
@@ -285,7 +285,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.mimeparse-module.html b/docs/epy/googleapiclient.mimeparse-module.html
index 7cd9857..55da8dd 100644
--- a/docs/epy/googleapiclient.mimeparse-module.html
+++ b/docs/epy/googleapiclient.mimeparse-module.html
@@ -490,7 +490,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.mimeparse-pysrc.html b/docs/epy/googleapiclient.mimeparse-pysrc.html
index eeea3a3..48f6fef 100644
--- a/docs/epy/googleapiclient.mimeparse-pysrc.html
+++ b/docs/epy/googleapiclient.mimeparse-pysrc.html
@@ -261,7 +261,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.model-module.html b/docs/epy/googleapiclient.model-module.html
index 9a3be59..022c35d 100644
--- a/docs/epy/googleapiclient.model-module.html
+++ b/docs/epy/googleapiclient.model-module.html
@@ -299,7 +299,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.model-pysrc.html b/docs/epy/googleapiclient.model-pysrc.html
index 6011290..290340a 100644
--- a/docs/epy/googleapiclient.model-pysrc.html
+++ b/docs/epy/googleapiclient.model-pysrc.html
@@ -58,7 +58,7 @@
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">#!/usr/bin/python2.4</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
-<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2010 Google Inc.</tt> </tt>
+<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2014 Google Inc.</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
@@ -562,7 +562,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.model.BaseModel-class.html b/docs/epy/googleapiclient.model.BaseModel-class.html
index a26f66c..9ddde1d 100644
--- a/docs/epy/googleapiclient.model.BaseModel-class.html
+++ b/docs/epy/googleapiclient.model.BaseModel-class.html
@@ -59,16 +59,16 @@
<h1 class="epydoc">Class BaseModel</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.model-pysrc.html#BaseModel">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_33" name="uml_class_diagram_for_googleap_33">
-<area shape="rect" id="node80" href="googleapiclient.model.BaseModel-class.html#accept" title="googleapiclient.model.BaseModel.accept" alt="" coords="17,95,397,113"/>
-<area shape="rect" id="node80" href="googleapiclient.model.BaseModel-class.html#content_type" title="googleapiclient.model.BaseModel.content_type" alt="" coords="17,113,397,132"/>
-<area shape="rect" id="node80" href="googleapiclient.model.BaseModel-class.html#no_content_response" title="googleapiclient.model.BaseModel.no_content_response" alt="" coords="17,132,397,151"/>
-<area shape="rect" id="node80" href="googleapiclient.model.BaseModel-class.html#alt_param" title="googleapiclient.model.BaseModel.alt_param" alt="" coords="17,151,397,169"/>
-<area shape="rect" id="node80" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="17,172,397,191"/>
-<area shape="rect" id="node80" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="17,191,397,209"/>
-<area shape="rect" id="node80" href="googleapiclient.model.BaseModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="17,209,397,228"/>
-<area shape="rect" id="node80" href="googleapiclient.model.BaseModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="17,228,397,247"/>
-<area shape="rect" id="node1" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,70,408,253"/>
-<area shape="rect" id="node2" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="177,6,239,50"/>
+<area shape="rect" id="node1_8" href="googleapiclient.model.BaseModel-class.html#accept" title="googleapiclient.model.BaseModel.accept" alt="" coords="18,89,406,108"/>
+<area shape="rect" id="node1_9" href="googleapiclient.model.BaseModel-class.html#content_type" title="googleapiclient.model.BaseModel.content_type" alt="" coords="18,108,406,127"/>
+<area shape="rect" id="node1_10" href="googleapiclient.model.BaseModel-class.html#no_content_response" title="googleapiclient.model.BaseModel.no_content_response" alt="" coords="18,127,406,145"/>
+<area shape="rect" id="node1_11" href="googleapiclient.model.BaseModel-class.html#alt_param" title="googleapiclient.model.BaseModel.alt_param" alt="" coords="18,145,406,164"/>
+<area shape="rect" id="node1_12" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="18,167,406,185"/>
+<area shape="rect" id="node1_13" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="18,185,406,204"/>
+<area shape="rect" id="node1_14" href="googleapiclient.model.BaseModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="18,204,406,223"/>
+<area shape="rect" id="node1_15" href="googleapiclient.model.BaseModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="18,223,406,241"/>
+<area shape="rect" id="node1" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,67,417,248"/>
+<area shape="rect" id="node2" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="181,5,241,48"/>
</map>
<img src="uml_class_diagram_for_googleap_33.gif" alt='' usemap="#uml_class_diagram_for_googleap_33" ismap="ismap" class="graph-without-title" />
</center>
@@ -545,7 +545,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:10 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.model.JsonModel-class.html b/docs/epy/googleapiclient.model.JsonModel-class.html
index cd40d42..fdb6c8c 100644
--- a/docs/epy/googleapiclient.model.JsonModel-class.html
+++ b/docs/epy/googleapiclient.model.JsonModel-class.html
@@ -59,18 +59,18 @@
<h1 class="epydoc">Class JsonModel</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.model-pysrc.html#JsonModel">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_34" name="uml_class_diagram_for_googleap_34">
-<area shape="rect" id="node82" href="googleapiclient.model.JsonModel-class.html#accept" title="googleapiclient.model.JsonModel.accept" alt="" coords="104,191,312,209"/>
-<area shape="rect" id="node82" href="googleapiclient.model.JsonModel-class.html#content_type" title="googleapiclient.model.JsonModel.content_type" alt="" coords="104,209,312,228"/>
-<area shape="rect" id="node82" href="googleapiclient.model.JsonModel-class.html#alt_param" title="googleapiclient.model.JsonModel.alt_param" alt="" coords="104,228,312,247"/>
-<area shape="rect" id="node82" href="googleapiclient.model.JsonModel-class.html#__init__" title="Construct a JsonModel." alt="" coords="104,249,312,268"/>
-<area shape="rect" id="node82" href="googleapiclient.model.JsonModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="104,268,312,287"/>
-<area shape="rect" id="node82" href="googleapiclient.model.JsonModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="104,287,312,305"/>
-<area shape="rect" id="node82" href="googleapiclient.model.JsonModel-class.html#no_content_response" title="googleapiclient.model.JsonModel.no_content_response" alt="" coords="104,305,312,324"/>
-<area shape="rect" id="node1" href="googleapiclient.model.JsonModel-class.html" title="Model class for JSON." alt="" coords="92,166,324,330"/>
-<area shape="rect" id="node83" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="17,103,397,121"/>
-<area shape="rect" id="node83" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="17,121,397,140"/>
-<area shape="rect" id="node2" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,70,408,146"/>
-<area shape="rect" id="node3" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="177,6,239,50"/>
+<area shape="rect" id="node1_9" href="googleapiclient.model.JsonModel-class.html#accept" title="googleapiclient.model.JsonModel.accept" alt="" coords="107,183,318,201"/>
+<area shape="rect" id="node1_10" href="googleapiclient.model.JsonModel-class.html#content_type" title="googleapiclient.model.JsonModel.content_type" alt="" coords="107,201,318,220"/>
+<area shape="rect" id="node1_11" href="googleapiclient.model.JsonModel-class.html#alt_param" title="googleapiclient.model.JsonModel.alt_param" alt="" coords="107,220,318,239"/>
+<area shape="rect" id="node1_12" href="googleapiclient.model.JsonModel-class.html#__init__" title="Construct a JsonModel." alt="" coords="107,241,318,260"/>
+<area shape="rect" id="node1_13" href="googleapiclient.model.JsonModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="107,260,318,279"/>
+<area shape="rect" id="node1_14" href="googleapiclient.model.JsonModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="107,279,318,297"/>
+<area shape="rect" id="node1_15" href="googleapiclient.model.JsonModel-class.html#no_content_response" title="googleapiclient.model.JsonModel.no_content_response" alt="" coords="107,297,318,316"/>
+<area shape="rect" id="node1" href="googleapiclient.model.JsonModel-class.html" title="Model class for JSON." alt="" coords="95,160,330,323"/>
+<area shape="rect" id="node2_16" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="18,97,406,116"/>
+<area shape="rect" id="node2_17" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="18,116,406,135"/>
+<area shape="rect" id="node2" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,67,417,141"/>
+<area shape="rect" id="node3" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="181,5,241,48"/>
</map>
<img src="uml_class_diagram_for_googleap_34.gif" alt='' usemap="#uml_class_diagram_for_googleap_34" ismap="ismap" class="graph-without-title" />
</center>
@@ -432,7 +432,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.model.MediaModel-class.html b/docs/epy/googleapiclient.model.MediaModel-class.html
index 0d72475..5da9c5c 100644
--- a/docs/epy/googleapiclient.model.MediaModel-class.html
+++ b/docs/epy/googleapiclient.model.MediaModel-class.html
@@ -59,19 +59,19 @@
<h1 class="epydoc">Class MediaModel</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.model-pysrc.html#MediaModel">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_35" name="uml_class_diagram_for_googleap_35">
-<area shape="rect" id="node85" href="googleapiclient.model.MediaModel-class.html#accept" title="googleapiclient.model.MediaModel.accept" alt="" coords="128,287,288,305"/>
-<area shape="rect" id="node85" href="googleapiclient.model.MediaModel-class.html#content_type" title="googleapiclient.model.MediaModel.content_type" alt="" coords="128,305,288,324"/>
-<area shape="rect" id="node85" href="googleapiclient.model.MediaModel-class.html#alt_param" title="googleapiclient.model.MediaModel.alt_param" alt="" coords="128,324,288,343"/>
-<area shape="rect" id="node85" href="googleapiclient.model.MediaModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="128,345,288,364"/>
-<area shape="rect" id="node85" href="googleapiclient.model.MediaModel-class.html#no_content_response" title="googleapiclient.model.MediaModel.no_content_response" alt="" coords="128,364,288,383"/>
-<area shape="rect" id="node1" href="googleapiclient.model.MediaModel-class.html" title="Model class for requests that return Media." alt="" coords="116,262,300,389"/>
-<area shape="rect" id="node86" href="googleapiclient.model.JsonModel-class.html#__init__" title="Construct a JsonModel." alt="" coords="104,199,312,217"/>
-<area shape="rect" id="node86" href="googleapiclient.model.JsonModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="104,217,312,236"/>
-<area shape="rect" id="node2" href="googleapiclient.model.JsonModel-class.html" title="Model class for JSON." alt="" coords="92,166,324,242"/>
-<area shape="rect" id="node3" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="177,6,239,50"/>
-<area shape="rect" id="node87" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="17,103,397,121"/>
-<area shape="rect" id="node87" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="17,121,397,140"/>
-<area shape="rect" id="node4" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,70,408,146"/>
+<area shape="rect" id="node1_9" href="googleapiclient.model.MediaModel-class.html#accept" title="googleapiclient.model.MediaModel.accept" alt="" coords="131,276,294,295"/>
+<area shape="rect" id="node1_10" href="googleapiclient.model.MediaModel-class.html#content_type" title="googleapiclient.model.MediaModel.content_type" alt="" coords="131,295,294,313"/>
+<area shape="rect" id="node1_11" href="googleapiclient.model.MediaModel-class.html#alt_param" title="googleapiclient.model.MediaModel.alt_param" alt="" coords="131,313,294,332"/>
+<area shape="rect" id="node1_12" href="googleapiclient.model.MediaModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="131,335,294,353"/>
+<area shape="rect" id="node1_13" href="googleapiclient.model.MediaModel-class.html#no_content_response" title="googleapiclient.model.MediaModel.no_content_response" alt="" coords="131,353,294,372"/>
+<area shape="rect" id="node1" href="googleapiclient.model.MediaModel-class.html" title="Model class for requests that return Media." alt="" coords="119,253,306,379"/>
+<area shape="rect" id="node2_14" href="googleapiclient.model.JsonModel-class.html#__init__" title="Construct a JsonModel." alt="" coords="107,191,318,209"/>
+<area shape="rect" id="node2_15" href="googleapiclient.model.JsonModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="107,209,318,228"/>
+<area shape="rect" id="node2" href="googleapiclient.model.JsonModel-class.html" title="Model class for JSON." alt="" coords="95,160,330,235"/>
+<area shape="rect" id="node3_16" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="18,97,406,116"/>
+<area shape="rect" id="node3_17" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="18,116,406,135"/>
+<area shape="rect" id="node3" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,67,417,141"/>
+<area shape="rect" id="node4" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="181,5,241,48"/>
</map>
<img src="uml_class_diagram_for_googleap_35.gif" alt='' usemap="#uml_class_diagram_for_googleap_35" ismap="ismap" class="graph-without-title" />
</center>
@@ -339,7 +339,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.model.Model-class.html b/docs/epy/googleapiclient.model.Model-class.html
index 6fac66c..b2dacb2 100644
--- a/docs/epy/googleapiclient.model.Model-class.html
+++ b/docs/epy/googleapiclient.model.Model-class.html
@@ -59,9 +59,9 @@
<h1 class="epydoc">Class Model</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.model-pysrc.html#Model">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_36" name="uml_class_diagram_for_googleap_36">
-<area shape="rect" id="node89" href="googleapiclient.model.Model-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="17,39,397,57"/>
-<area shape="rect" id="node89" href="googleapiclient.model.Model-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="17,57,397,76"/>
-<area shape="rect" id="node1" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="5,6,408,82"/>
+<area shape="rect" id="node1_2" href="googleapiclient.model.Model-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="18,36,406,55"/>
+<area shape="rect" id="node1_3" href="googleapiclient.model.Model-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="18,55,406,73"/>
+<area shape="rect" id="node1" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="5,5,417,80"/>
</map>
<img src="uml_class_diagram_for_googleap_36.gif" alt='' usemap="#uml_class_diagram_for_googleap_36" ismap="ismap" class="graph-without-title" />
</center>
@@ -297,7 +297,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.model.ProtocolBufferModel-class.html b/docs/epy/googleapiclient.model.ProtocolBufferModel-class.html
index 726b4dd..aec6cd0 100644
--- a/docs/epy/googleapiclient.model.ProtocolBufferModel-class.html
+++ b/docs/epy/googleapiclient.model.ProtocolBufferModel-class.html
@@ -59,18 +59,18 @@
<h1 class="epydoc">Class ProtocolBufferModel</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.model-pysrc.html#ProtocolBufferModel">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_37" name="uml_class_diagram_for_googleap_37">
-<area shape="rect" id="node90" href="googleapiclient.model.ProtocolBufferModel-class.html#accept" title="googleapiclient.model.ProtocolBufferModel.accept" alt="" coords="120,191,296,209"/>
-<area shape="rect" id="node90" href="googleapiclient.model.ProtocolBufferModel-class.html#content_type" title="googleapiclient.model.ProtocolBufferModel.content_type" alt="" coords="120,209,296,228"/>
-<area shape="rect" id="node90" href="googleapiclient.model.ProtocolBufferModel-class.html#alt_param" title="googleapiclient.model.ProtocolBufferModel.alt_param" alt="" coords="120,228,296,247"/>
-<area shape="rect" id="node90" href="googleapiclient.model.ProtocolBufferModel-class.html#__init__" title="Constructs a ProtocolBufferModel." alt="" coords="120,249,296,268"/>
-<area shape="rect" id="node90" href="googleapiclient.model.ProtocolBufferModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="120,268,296,287"/>
-<area shape="rect" id="node90" href="googleapiclient.model.ProtocolBufferModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="120,287,296,305"/>
-<area shape="rect" id="node90" href="googleapiclient.model.ProtocolBufferModel-class.html#no_content_response" title="googleapiclient.model.ProtocolBufferModel.no_content_response" alt="" coords="120,305,296,324"/>
-<area shape="rect" id="node1" href="googleapiclient.model.ProtocolBufferModel-class.html" title="Model class for protocol buffers." alt="" coords="108,166,308,330"/>
-<area shape="rect" id="node91" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="17,103,397,121"/>
-<area shape="rect" id="node91" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="17,121,397,140"/>
-<area shape="rect" id="node2" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,70,408,146"/>
-<area shape="rect" id="node3" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="177,6,239,50"/>
+<area shape="rect" id="node1_9" href="googleapiclient.model.ProtocolBufferModel-class.html#accept" title="googleapiclient.model.ProtocolBufferModel.accept" alt="" coords="123,183,301,201"/>
+<area shape="rect" id="node1_10" href="googleapiclient.model.ProtocolBufferModel-class.html#content_type" title="googleapiclient.model.ProtocolBufferModel.content_type" alt="" coords="123,201,301,220"/>
+<area shape="rect" id="node1_11" href="googleapiclient.model.ProtocolBufferModel-class.html#alt_param" title="googleapiclient.model.ProtocolBufferModel.alt_param" alt="" coords="123,220,301,239"/>
+<area shape="rect" id="node1_12" href="googleapiclient.model.ProtocolBufferModel-class.html#__init__" title="Constructs a ProtocolBufferModel." alt="" coords="123,241,301,260"/>
+<area shape="rect" id="node1_13" href="googleapiclient.model.ProtocolBufferModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="123,260,301,279"/>
+<area shape="rect" id="node1_14" href="googleapiclient.model.ProtocolBufferModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="123,279,301,297"/>
+<area shape="rect" id="node1_15" href="googleapiclient.model.ProtocolBufferModel-class.html#no_content_response" title="googleapiclient.model.ProtocolBufferModel.no_content_response" alt="" coords="123,297,301,316"/>
+<area shape="rect" id="node1" href="googleapiclient.model.ProtocolBufferModel-class.html" title="Model class for protocol buffers." alt="" coords="111,160,312,323"/>
+<area shape="rect" id="node2_16" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="18,97,406,116"/>
+<area shape="rect" id="node2_17" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="18,116,406,135"/>
+<area shape="rect" id="node2" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,67,417,141"/>
+<area shape="rect" id="node3" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="181,5,241,48"/>
</map>
<img src="uml_class_diagram_for_googleap_37.gif" alt='' usemap="#uml_class_diagram_for_googleap_37" ismap="ismap" class="graph-without-title" />
</center>
@@ -436,7 +436,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.model.RawModel-class.html b/docs/epy/googleapiclient.model.RawModel-class.html
index f0a7f69..ac237e5 100644
--- a/docs/epy/googleapiclient.model.RawModel-class.html
+++ b/docs/epy/googleapiclient.model.RawModel-class.html
@@ -59,19 +59,19 @@
<h1 class="epydoc">Class RawModel</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.model-pysrc.html#RawModel">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_38" name="uml_class_diagram_for_googleap_38">
-<area shape="rect" id="node93" href="googleapiclient.model.RawModel-class.html#accept" title="googleapiclient.model.RawModel.accept" alt="" coords="128,287,288,305"/>
-<area shape="rect" id="node93" href="googleapiclient.model.RawModel-class.html#content_type" title="googleapiclient.model.RawModel.content_type" alt="" coords="128,305,288,324"/>
-<area shape="rect" id="node93" href="googleapiclient.model.RawModel-class.html#alt_param" title="googleapiclient.model.RawModel.alt_param" alt="" coords="128,324,288,343"/>
-<area shape="rect" id="node93" href="googleapiclient.model.RawModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="128,345,288,364"/>
-<area shape="rect" id="node93" href="googleapiclient.model.RawModel-class.html#no_content_response" title="googleapiclient.model.RawModel.no_content_response" alt="" coords="128,364,288,383"/>
-<area shape="rect" id="node1" href="googleapiclient.model.RawModel-class.html" title="Model class for requests that don't return JSON." alt="" coords="116,262,300,389"/>
-<area shape="rect" id="node94" href="googleapiclient.model.JsonModel-class.html#__init__" title="Construct a JsonModel." alt="" coords="104,199,312,217"/>
-<area shape="rect" id="node94" href="googleapiclient.model.JsonModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="104,217,312,236"/>
-<area shape="rect" id="node2" href="googleapiclient.model.JsonModel-class.html" title="Model class for JSON." alt="" coords="92,166,324,242"/>
-<area shape="rect" id="node3" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="177,6,239,50"/>
-<area shape="rect" id="node95" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="17,103,397,121"/>
-<area shape="rect" id="node95" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="17,121,397,140"/>
-<area shape="rect" id="node4" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,70,408,146"/>
+<area shape="rect" id="node1_9" href="googleapiclient.model.RawModel-class.html#accept" title="googleapiclient.model.RawModel.accept" alt="" coords="131,276,294,295"/>
+<area shape="rect" id="node1_10" href="googleapiclient.model.RawModel-class.html#content_type" title="googleapiclient.model.RawModel.content_type" alt="" coords="131,295,294,313"/>
+<area shape="rect" id="node1_11" href="googleapiclient.model.RawModel-class.html#alt_param" title="googleapiclient.model.RawModel.alt_param" alt="" coords="131,313,294,332"/>
+<area shape="rect" id="node1_12" href="googleapiclient.model.RawModel-class.html#deserialize" title="Perform the actual deserialization from response string to Python object." alt="" coords="131,335,294,353"/>
+<area shape="rect" id="node1_13" href="googleapiclient.model.RawModel-class.html#no_content_response" title="googleapiclient.model.RawModel.no_content_response" alt="" coords="131,353,294,372"/>
+<area shape="rect" id="node1" href="googleapiclient.model.RawModel-class.html" title="Model class for requests that don't return JSON." alt="" coords="119,253,306,379"/>
+<area shape="rect" id="node2_14" href="googleapiclient.model.JsonModel-class.html#__init__" title="Construct a JsonModel." alt="" coords="107,191,318,209"/>
+<area shape="rect" id="node2_15" href="googleapiclient.model.JsonModel-class.html#serialize" title="Perform the actual Python object serialization." alt="" coords="107,209,318,228"/>
+<area shape="rect" id="node2" href="googleapiclient.model.JsonModel-class.html" title="Model class for JSON." alt="" coords="95,160,330,235"/>
+<area shape="rect" id="node3_16" href="googleapiclient.model.BaseModel-class.html#request" title="Updates outgoing requests with a serialized body." alt="" coords="18,97,406,116"/>
+<area shape="rect" id="node3_17" href="googleapiclient.model.BaseModel-class.html#response" title="Convert the response wire format into a Python object." alt="" coords="18,116,406,135"/>
+<area shape="rect" id="node3" href="googleapiclient.model.BaseModel-class.html" title="Base model class." alt="" coords="5,67,417,141"/>
+<area shape="rect" id="node4" href="googleapiclient.model.Model-class.html" title="Model base class." alt="" coords="181,5,241,48"/>
</map>
<img src="uml_class_diagram_for_googleap_38.gif" alt='' usemap="#uml_class_diagram_for_googleap_38" ismap="ismap" class="graph-without-title" />
</center>
@@ -339,7 +339,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.sample_tools-module.html b/docs/epy/googleapiclient.sample_tools-module.html
index c3499f0..5547209 100644
--- a/docs/epy/googleapiclient.sample_tools-module.html
+++ b/docs/epy/googleapiclient.sample_tools-module.html
@@ -201,7 +201,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.sample_tools-pysrc.html b/docs/epy/googleapiclient.sample_tools-pysrc.html
index 9469acb..a80d6f5 100644
--- a/docs/epy/googleapiclient.sample_tools-pysrc.html
+++ b/docs/epy/googleapiclient.sample_tools-pysrc.html
@@ -56,7 +56,7 @@
</table>
<h1 class="epydoc">Source Code for <a href="googleapiclient.sample_tools-module.html">Module googleapiclient.sample_tools</a></h1>
<pre class="py-src">
-<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2013 Google Inc.</tt> </tt>
+<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2014 Google Inc.</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
@@ -182,7 +182,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.schema-module.html b/docs/epy/googleapiclient.schema-module.html
index 57b76ea..c2bf87a 100644
--- a/docs/epy/googleapiclient.schema-module.html
+++ b/docs/epy/googleapiclient.schema-module.html
@@ -167,7 +167,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.schema-pysrc.html b/docs/epy/googleapiclient.schema-pysrc.html
index 4988d1f..c00f613 100644
--- a/docs/epy/googleapiclient.schema-pysrc.html
+++ b/docs/epy/googleapiclient.schema-pysrc.html
@@ -56,7 +56,7 @@
</table>
<h1 class="epydoc">Source Code for <a href="googleapiclient.schema-module.html">Module googleapiclient.schema</a></h1>
<pre class="py-src">
-<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2010 Google Inc.</tt> </tt>
+<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2014 Google Inc.</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
@@ -401,7 +401,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.schema.Schemas-class.html b/docs/epy/googleapiclient.schema.Schemas-class.html
index c0141f8..d0f618e 100644
--- a/docs/epy/googleapiclient.schema.Schemas-class.html
+++ b/docs/epy/googleapiclient.schema.Schemas-class.html
@@ -59,11 +59,11 @@
<h1 class="epydoc">Class Schemas</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.schema-pysrc.html#Schemas">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_39" name="uml_class_diagram_for_googleap_39">
-<area shape="rect" id="node97" href="googleapiclient.schema.Schemas-class.html#__init__" title="Constructor." alt="" coords="17,39,216,57"/>
-<area shape="rect" id="node97" href="googleapiclient.schema.Schemas-class.html#prettyPrintByName" title="Get pretty printed object prototype from the schema name." alt="" coords="17,57,216,76"/>
-<area shape="rect" id="node97" href="googleapiclient.schema.Schemas-class.html#prettyPrintSchema" title="Get pretty printed object prototype of schema." alt="" coords="17,76,216,95"/>
-<area shape="rect" id="node97" href="googleapiclient.schema.Schemas-class.html#get" title="Get deserialized JSON schema from the schema name." alt="" coords="17,95,216,113"/>
-<area shape="rect" id="node1" href="googleapiclient.schema.Schemas-class.html" title="Schemas for an API." alt="" coords="5,6,227,119"/>
+<area shape="rect" id="node1_4" href="googleapiclient.schema.Schemas-class.html#__init__" title="Constructor." alt="" coords="18,36,217,55"/>
+<area shape="rect" id="node1_5" href="googleapiclient.schema.Schemas-class.html#prettyPrintByName" title="Get pretty printed object prototype from the schema name." alt="" coords="18,55,217,73"/>
+<area shape="rect" id="node1_6" href="googleapiclient.schema.Schemas-class.html#prettyPrintSchema" title="Get pretty printed object prototype of schema." alt="" coords="18,73,217,92"/>
+<area shape="rect" id="node1_7" href="googleapiclient.schema.Schemas-class.html#get" title="Get deserialized JSON schema from the schema name." alt="" coords="18,92,217,111"/>
+<area shape="rect" id="node1" href="googleapiclient.schema.Schemas-class.html" title="Schemas for an API." alt="" coords="5,5,228,117"/>
</map>
<img src="uml_class_diagram_for_googleap_39.gif" alt='' usemap="#uml_class_diagram_for_googleap_39" ismap="ismap" class="graph-without-title" />
</center>
@@ -485,7 +485,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/googleapiclient.schema._SchemaToStruct-class.html b/docs/epy/googleapiclient.schema._SchemaToStruct-class.html
index 3af8bd5..ff3dc88 100644
--- a/docs/epy/googleapiclient.schema._SchemaToStruct-class.html
+++ b/docs/epy/googleapiclient.schema._SchemaToStruct-class.html
@@ -59,14 +59,14 @@
<h1 class="epydoc">Class _SchemaToStruct</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.schema-pysrc.html#_SchemaToStruct">source code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_googleap_40" name="uml_class_diagram_for_googleap_40">
-<area shape="rect" id="node98" href="googleapiclient.schema._SchemaToStruct-class.html#__init__" title="Constructor." alt="" coords="17,39,237,57"/>
-<area shape="rect" id="node98" href="googleapiclient.schema._SchemaToStruct-class.html#emit" title="Add text as a line to the output." alt="" coords="17,57,237,76"/>
-<area shape="rect" id="node98" href="googleapiclient.schema._SchemaToStruct-class.html#emitBegin" title="Add text to the output, but with no line terminator." alt="" coords="17,76,237,95"/>
-<area shape="rect" id="node98" href="googleapiclient.schema._SchemaToStruct-class.html#emitEnd" title="Add text and comment to the output with line terminator." alt="" coords="17,95,237,113"/>
-<area shape="rect" id="node98" href="googleapiclient.schema._SchemaToStruct-class.html#indent" title="Increase indentation level." alt="" coords="17,113,237,132"/>
-<area shape="rect" id="node98" href="googleapiclient.schema._SchemaToStruct-class.html#undent" title="Decrease indentation level." alt="" coords="17,132,237,151"/>
-<area shape="rect" id="node98" href="googleapiclient.schema._SchemaToStruct-class.html#to_str" title="Prototype object based on the schema, in Python code with comments." alt="" coords="17,151,237,169"/>
-<area shape="rect" id="node1" href="googleapiclient.schema._SchemaToStruct-class.html" title="Convert schema to a prototype object." alt="" coords="5,6,248,175"/>
+<area shape="rect" id="node1_7" href="googleapiclient.schema._SchemaToStruct-class.html#__init__" title="Constructor." alt="" coords="18,36,238,55"/>
+<area shape="rect" id="node1_8" href="googleapiclient.schema._SchemaToStruct-class.html#emit" title="Add text as a line to the output." alt="" coords="18,55,238,73"/>
+<area shape="rect" id="node1_9" href="googleapiclient.schema._SchemaToStruct-class.html#emitBegin" title="Add text to the output, but with no line terminator." alt="" coords="18,73,238,92"/>
+<area shape="rect" id="node1_10" href="googleapiclient.schema._SchemaToStruct-class.html#emitEnd" title="Add text and comment to the output with line terminator." alt="" coords="18,92,238,111"/>
+<area shape="rect" id="node1_11" href="googleapiclient.schema._SchemaToStruct-class.html#indent" title="Increase indentation level." alt="" coords="18,111,238,129"/>
+<area shape="rect" id="node1_12" href="googleapiclient.schema._SchemaToStruct-class.html#undent" title="Decrease indentation level." alt="" coords="18,129,238,148"/>
+<area shape="rect" id="node1_13" href="googleapiclient.schema._SchemaToStruct-class.html#to_str" title="Prototype object based on the schema, in Python code with comments." alt="" coords="18,148,238,167"/>
+<area shape="rect" id="node1" href="googleapiclient.schema._SchemaToStruct-class.html" title="Convert schema to a prototype object." alt="" coords="5,5,249,173"/>
</map>
<img src="uml_class_diagram_for_googleap_40.gif" alt='' usemap="#uml_class_diagram_for_googleap_40" ismap="ismap" class="graph-without-title" />
</center>
@@ -509,7 +509,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:11 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:19 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/help.html b/docs/epy/help.html
index 3385b30..857b524 100644
--- a/docs/epy/help.html
+++ b/docs/epy/help.html
@@ -246,7 +246,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/identifier-index.html b/docs/epy/identifier-index.html
index 6b7df84..fc00217 100644
--- a/docs/epy/identifier-index.html
+++ b/docs/epy/identifier-index.html
@@ -878,7 +878,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/module-tree.html b/docs/epy/module-tree.html
index 7c3b62b..e934f60 100644
--- a/docs/epy/module-tree.html
+++ b/docs/epy/module-tree.html
@@ -94,7 +94,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Thu Apr 24 15:46:09 2014
+ Generated by Epydoc 3.0.1 on Thu Aug 14 00:45:18 2014
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
diff --git a/docs/epy/uml_class_diagram_for_googleap.gif b/docs/epy/uml_class_diagram_for_googleap.gif
index 6e70617..57b1f6f 100644
--- a/docs/epy/uml_class_diagram_for_googleap.gif
+++ b/docs/epy/uml_class_diagram_for_googleap.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_10.gif b/docs/epy/uml_class_diagram_for_googleap_10.gif
index e939751..4e3fd1a 100644
--- a/docs/epy/uml_class_diagram_for_googleap_10.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_10.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_11.gif b/docs/epy/uml_class_diagram_for_googleap_11.gif
index 21f5e2d..bc507dc 100644
--- a/docs/epy/uml_class_diagram_for_googleap_11.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_11.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_12.gif b/docs/epy/uml_class_diagram_for_googleap_12.gif
index 90589bb..419b9ca 100644
--- a/docs/epy/uml_class_diagram_for_googleap_12.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_12.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_13.gif b/docs/epy/uml_class_diagram_for_googleap_13.gif
index 3781ebc..87ad7ed 100644
--- a/docs/epy/uml_class_diagram_for_googleap_13.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_13.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_14.gif b/docs/epy/uml_class_diagram_for_googleap_14.gif
index 4b2c56a..b8009bd 100644
--- a/docs/epy/uml_class_diagram_for_googleap_14.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_14.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_15.gif b/docs/epy/uml_class_diagram_for_googleap_15.gif
index 627c6ff..bbb2092 100644
--- a/docs/epy/uml_class_diagram_for_googleap_15.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_15.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_16.gif b/docs/epy/uml_class_diagram_for_googleap_16.gif
index 53a2609..8097eca 100644
--- a/docs/epy/uml_class_diagram_for_googleap_16.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_16.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_17.gif b/docs/epy/uml_class_diagram_for_googleap_17.gif
index 3d74ce8..202ad11 100644
--- a/docs/epy/uml_class_diagram_for_googleap_17.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_17.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_18.gif b/docs/epy/uml_class_diagram_for_googleap_18.gif
index e2df6e6..0991530 100644
--- a/docs/epy/uml_class_diagram_for_googleap_18.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_18.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_19.gif b/docs/epy/uml_class_diagram_for_googleap_19.gif
index b91bbc4..195370b 100644
--- a/docs/epy/uml_class_diagram_for_googleap_19.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_19.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_2.gif b/docs/epy/uml_class_diagram_for_googleap_2.gif
index f239baa..0bd1afd 100644
--- a/docs/epy/uml_class_diagram_for_googleap_2.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_2.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_20.gif b/docs/epy/uml_class_diagram_for_googleap_20.gif
index 4fe8e19..6949e28 100644
--- a/docs/epy/uml_class_diagram_for_googleap_20.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_20.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_21.gif b/docs/epy/uml_class_diagram_for_googleap_21.gif
index 2e8778b..40eb954 100644
--- a/docs/epy/uml_class_diagram_for_googleap_21.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_21.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_22.gif b/docs/epy/uml_class_diagram_for_googleap_22.gif
index f59e838..f3d3781 100644
--- a/docs/epy/uml_class_diagram_for_googleap_22.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_22.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_23.gif b/docs/epy/uml_class_diagram_for_googleap_23.gif
index c99b292..32b5628 100644
--- a/docs/epy/uml_class_diagram_for_googleap_23.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_23.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_24.gif b/docs/epy/uml_class_diagram_for_googleap_24.gif
index 5fd734a..0bcf209 100644
--- a/docs/epy/uml_class_diagram_for_googleap_24.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_24.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_25.gif b/docs/epy/uml_class_diagram_for_googleap_25.gif
index ca1ac7d..9f80745 100644
--- a/docs/epy/uml_class_diagram_for_googleap_25.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_25.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_26.gif b/docs/epy/uml_class_diagram_for_googleap_26.gif
index 3f933cf..cb1f1e3 100644
--- a/docs/epy/uml_class_diagram_for_googleap_26.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_26.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_27.gif b/docs/epy/uml_class_diagram_for_googleap_27.gif
index 6b041be..ed8f8b5 100644
--- a/docs/epy/uml_class_diagram_for_googleap_27.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_27.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_28.gif b/docs/epy/uml_class_diagram_for_googleap_28.gif
index 691facc..98e7ed2 100644
--- a/docs/epy/uml_class_diagram_for_googleap_28.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_28.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_29.gif b/docs/epy/uml_class_diagram_for_googleap_29.gif
index d9e0ba3..07ba985 100644
--- a/docs/epy/uml_class_diagram_for_googleap_29.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_29.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_3.gif b/docs/epy/uml_class_diagram_for_googleap_3.gif
index c3253b8..c563526 100644
--- a/docs/epy/uml_class_diagram_for_googleap_3.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_3.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_30.gif b/docs/epy/uml_class_diagram_for_googleap_30.gif
index f720c1f..597b75a 100644
--- a/docs/epy/uml_class_diagram_for_googleap_30.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_30.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_31.gif b/docs/epy/uml_class_diagram_for_googleap_31.gif
index 0002c5a..5940a43 100644
--- a/docs/epy/uml_class_diagram_for_googleap_31.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_31.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_32.gif b/docs/epy/uml_class_diagram_for_googleap_32.gif
index 17d2253..be15041 100644
--- a/docs/epy/uml_class_diagram_for_googleap_32.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_32.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_33.gif b/docs/epy/uml_class_diagram_for_googleap_33.gif
index fa04806..69aca27 100644
--- a/docs/epy/uml_class_diagram_for_googleap_33.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_33.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_34.gif b/docs/epy/uml_class_diagram_for_googleap_34.gif
index 709db46..8de959b 100644
--- a/docs/epy/uml_class_diagram_for_googleap_34.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_34.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_35.gif b/docs/epy/uml_class_diagram_for_googleap_35.gif
index ebb71d8..d1b147e 100644
--- a/docs/epy/uml_class_diagram_for_googleap_35.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_35.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_36.gif b/docs/epy/uml_class_diagram_for_googleap_36.gif
index f234668..6f06b8e 100644
--- a/docs/epy/uml_class_diagram_for_googleap_36.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_36.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_37.gif b/docs/epy/uml_class_diagram_for_googleap_37.gif
index 4e5624b..34def5d 100644
--- a/docs/epy/uml_class_diagram_for_googleap_37.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_37.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_38.gif b/docs/epy/uml_class_diagram_for_googleap_38.gif
index d272edf..4da4b75 100644
--- a/docs/epy/uml_class_diagram_for_googleap_38.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_38.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_39.gif b/docs/epy/uml_class_diagram_for_googleap_39.gif
index d7f7874..c8cda05 100644
--- a/docs/epy/uml_class_diagram_for_googleap_39.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_39.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_4.gif b/docs/epy/uml_class_diagram_for_googleap_4.gif
index 5334b74..5ff1dac 100644
--- a/docs/epy/uml_class_diagram_for_googleap_4.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_4.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_40.gif b/docs/epy/uml_class_diagram_for_googleap_40.gif
index cb15403..12044ed 100644
--- a/docs/epy/uml_class_diagram_for_googleap_40.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_40.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_5.gif b/docs/epy/uml_class_diagram_for_googleap_5.gif
index df177ab..e77cf93 100644
--- a/docs/epy/uml_class_diagram_for_googleap_5.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_5.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_6.gif b/docs/epy/uml_class_diagram_for_googleap_6.gif
index 44c7655..d6affed 100644
--- a/docs/epy/uml_class_diagram_for_googleap_6.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_6.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_7.gif b/docs/epy/uml_class_diagram_for_googleap_7.gif
index 357c6b4..2649758 100644
--- a/docs/epy/uml_class_diagram_for_googleap_7.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_7.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_8.gif b/docs/epy/uml_class_diagram_for_googleap_8.gif
index 7d63380..5c95b93 100644
--- a/docs/epy/uml_class_diagram_for_googleap_8.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_8.gif
Binary files differ
diff --git a/docs/epy/uml_class_diagram_for_googleap_9.gif b/docs/epy/uml_class_diagram_for_googleap_9.gif
index 6e9e6f0..202891d 100644
--- a/docs/epy/uml_class_diagram_for_googleap_9.gif
+++ b/docs/epy/uml_class_diagram_for_googleap_9.gif
Binary files differ