blob: ee25b627ff2c32c0fa9eec4c408ee52d568d94bb [file] [edit]
<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.
&quot;issuerId&quot;: &quot;A String&quot;, # The ID of the issuer sending the data.
&quot;text&quot;: { # Private data for TextModule. This data will be rendered as a TextModule for a pass. # Private text data of the user.
&quot;body&quot;: { # Translated strings for the body.
&quot;defaultValue&quot;: { # Contains the string to be displayed if no appropriate translation is available.
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
},
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#localizedString&quot;`.
&quot;translatedValues&quot;: [ # Contains the translations for the string.
{
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
},
],
},
&quot;header&quot;: { # Translated strings for the header.
&quot;defaultValue&quot;: { # Contains the string to be displayed if no appropriate translation is available.
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
},
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#localizedString&quot;`.
&quot;translatedValues&quot;: [ # Contains the translations for the string.
{
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
},
],
},
},
&quot;uri&quot;: { # Private data for LinkModule. This data will be rendered as the LinkModule for a pass. # Private URIs of the user.
&quot;description&quot;: { # The URI&#x27;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.
&quot;defaultValue&quot;: { # Contains the string to be displayed if no appropriate translation is available.
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
},
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#localizedString&quot;`.
&quot;translatedValues&quot;: [ # Contains the translations for the string.
{
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
},
],
},
&quot;uri&quot;: &quot;A String&quot;, # 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)
&quot;privateContentId&quot;: &quot;A String&quot;, # A 64-bit content id for the private data that was uploaded by the Issuer.
}</pre>
</div>
</body></html>