| <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="walletobjects_v1.html">Google Wallet API</a> . <a href="walletobjects_v1.walletobjects.html">walletobjects</a> . <a href="walletobjects_v1.walletobjects.v1.html">v1</a> . <a href="walletobjects_v1.walletobjects.v1.privateContent.html">privateContent</a></h1> |
| <h2>Instance Methods</h2> |
| <p class="toc_element"> |
| <code><a href="#close">close()</a></code></p> |
| <p class="firstline">Close httplib2 connections.</p> |
| <p class="toc_element"> |
| <code><a href="#uploadPrivateData">uploadPrivateData(body=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Upload private data (text or URI) and returns an Id to be used in its place.</p> |
| <h3>Method Details</h3> |
| <div class="method"> |
| <code class="details" id="close">close()</code> |
| <pre>Close httplib2 connections.</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="uploadPrivateData">uploadPrivateData(body=None, x__xgafv=None)</code> |
| <pre>Upload private data (text or URI) and returns an Id to be used in its place. |
| |
| Args: |
| body: object, The request body. |
| The object takes the form of: |
| |
| { # Request for sending user private Text or URI by the Issuer. |
| "issuerId": "A String", # The ID of the issuer sending the data. |
| "text": { # Private data for TextModule. This data will be rendered as a TextModule for a pass. # Private text data of the user. |
| "body": { # Translated strings for the body. |
| "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. |
| "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". |
| "value": "A String", # The UTF-8 encoded translated string. |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. |
| "translatedValues": [ # Contains the translations for the string. |
| { |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. |
| "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". |
| "value": "A String", # The UTF-8 encoded translated string. |
| }, |
| ], |
| }, |
| "header": { # Translated strings for the header. |
| "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. |
| "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". |
| "value": "A String", # The UTF-8 encoded translated string. |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. |
| "translatedValues": [ # Contains the translations for the string. |
| { |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. |
| "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". |
| "value": "A String", # The UTF-8 encoded translated string. |
| }, |
| ], |
| }, |
| }, |
| "uri": { # Private data for LinkModule. This data will be rendered as the LinkModule for a pass. # Private URIs of the user. |
| "description": { # The URI's title appearing in the app as text and its translated strings. Recommended maximum is 20 characters to ensure the full string is displayed on smaller screens. |
| "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. |
| "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". |
| "value": "A String", # The UTF-8 encoded translated string. |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. |
| "translatedValues": [ # Contains the translations for the string. |
| { |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. |
| "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". |
| "value": "A String", # The UTF-8 encoded translated string. |
| }, |
| ], |
| }, |
| "uri": "A String", # The location of a web page, image, or other resource. URIs in the `LinksModuleData` can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). |
| }, |
| } |
| |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # Response for uploading user private data (text or URIs) |
| "privateContentId": "A String", # A 64-bit content id for the private data that was uploaded by the Issuer. |
| }</pre> |
| </div> |
| |
| </body></html> |