| <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.genericclass.html">genericclass</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="#get">get(resourceId, x__xgafv=None)</a></code></p> |
| <p class="firstline">Returns the generic class with the given class ID.</p> |
| <p class="toc_element"> |
| <code><a href="#insert">insert(body=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Inserts a generic class with the given ID and properties.</p> |
| <p class="toc_element"> |
| <code><a href="#list">list(issuerId=None, maxResults=None, token=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Returns a list of all generic classes for a given issuer ID.</p> |
| <p class="toc_element"> |
| <code><a href="#patch">patch(resourceId, body=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Updates the generic class referenced by the given class ID. This method supports patch semantics.</p> |
| <p class="toc_element"> |
| <code><a href="#update">update(resourceId, body=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Updates the Generic class referenced by the given class ID.</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="get">get(resourceId, x__xgafv=None)</code> |
| <pre>Returns the generic class with the given class ID. |
| |
| Args: |
| resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. (required) |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # Generic Class |
| "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. |
| "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated. |
| "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. |
| }, |
| "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
| "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. |
| "firstBottomDetail": { # Optional information to display below the barcode. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "cardTemplateOverride": { # Override for the card view. |
| "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. |
| { |
| "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "item": { # The item to be displayed in the row. This item will be automatically centered. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| }, |
| ], |
| }, |
| "detailsTemplateOverride": { # Override for the details view (beneath the card view). |
| "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. |
| { |
| "item": { # The item to be displayed in the details list. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| ], |
| }, |
| "listTemplateOverride": { # Override for the passes list view. |
| "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. |
| "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "transitOption": "A String", |
| }, |
| "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "thirdRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: "3 passes" |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. |
| "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. |
| "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. |
| { |
| "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. |
| "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. |
| "contentDescription": { # Description of the image used for accessibility. |
| "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. |
| }, |
| ], |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. |
| "sourceUri": { # The URI for the image. |
| "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. |
| "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. |
| "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 the image. URIs must have a scheme. |
| }, |
| }, |
| }, |
| ], |
| "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| "uris": [ # The list of URIs. |
| { |
| "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |
| "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. |
| "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure 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` module 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). URIs must have a scheme. |
| }, |
| ], |
| }, |
| "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. |
| "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. |
| "A String", |
| ], |
| "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
| "animationType": "A String", # Type of animation. |
| }, |
| "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. |
| "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |
| "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |
| "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. |
| "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure 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. |
| }, |
| ], |
| }, |
| "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure 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. |
| }, |
| ], |
| }, |
| }, |
| ], |
| "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="insert">insert(body=None, x__xgafv=None)</code> |
| <pre>Inserts a generic class with the given ID and properties. |
| |
| Args: |
| body: object, The request body. |
| The object takes the form of: |
| |
| { # Generic Class |
| "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. |
| "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated. |
| "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. |
| }, |
| "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
| "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. |
| "firstBottomDetail": { # Optional information to display below the barcode. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "cardTemplateOverride": { # Override for the card view. |
| "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. |
| { |
| "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "item": { # The item to be displayed in the row. This item will be automatically centered. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| }, |
| ], |
| }, |
| "detailsTemplateOverride": { # Override for the details view (beneath the card view). |
| "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. |
| { |
| "item": { # The item to be displayed in the details list. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| ], |
| }, |
| "listTemplateOverride": { # Override for the passes list view. |
| "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. |
| "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "transitOption": "A String", |
| }, |
| "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "thirdRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: "3 passes" |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. |
| "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. |
| "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. |
| { |
| "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. |
| "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. |
| "contentDescription": { # Description of the image used for accessibility. |
| "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. |
| }, |
| ], |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. |
| "sourceUri": { # The URI for the image. |
| "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. |
| "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. |
| "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 the image. URIs must have a scheme. |
| }, |
| }, |
| }, |
| ], |
| "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| "uris": [ # The list of URIs. |
| { |
| "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |
| "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. |
| "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure 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` module 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). URIs must have a scheme. |
| }, |
| ], |
| }, |
| "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. |
| "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. |
| "A String", |
| ], |
| "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
| "animationType": "A String", # Type of animation. |
| }, |
| "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. |
| "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |
| "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |
| "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. |
| "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure 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. |
| }, |
| ], |
| }, |
| "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure 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. |
| }, |
| ], |
| }, |
| }, |
| ], |
| "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. |
| } |
| |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # Generic Class |
| "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. |
| "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated. |
| "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. |
| }, |
| "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
| "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. |
| "firstBottomDetail": { # Optional information to display below the barcode. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "cardTemplateOverride": { # Override for the card view. |
| "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. |
| { |
| "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "item": { # The item to be displayed in the row. This item will be automatically centered. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| }, |
| ], |
| }, |
| "detailsTemplateOverride": { # Override for the details view (beneath the card view). |
| "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. |
| { |
| "item": { # The item to be displayed in the details list. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| ], |
| }, |
| "listTemplateOverride": { # Override for the passes list view. |
| "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. |
| "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "transitOption": "A String", |
| }, |
| "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "thirdRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: "3 passes" |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. |
| "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. |
| "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. |
| { |
| "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. |
| "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. |
| "contentDescription": { # Description of the image used for accessibility. |
| "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. |
| }, |
| ], |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. |
| "sourceUri": { # The URI for the image. |
| "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. |
| "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. |
| "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 the image. URIs must have a scheme. |
| }, |
| }, |
| }, |
| ], |
| "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| "uris": [ # The list of URIs. |
| { |
| "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |
| "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. |
| "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure 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` module 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). URIs must have a scheme. |
| }, |
| ], |
| }, |
| "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. |
| "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. |
| "A String", |
| ], |
| "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
| "animationType": "A String", # Type of animation. |
| }, |
| "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. |
| "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |
| "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |
| "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. |
| "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure 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. |
| }, |
| ], |
| }, |
| "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure 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. |
| }, |
| ], |
| }, |
| }, |
| ], |
| "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="list">list(issuerId=None, maxResults=None, token=None, x__xgafv=None)</code> |
| <pre>Returns a list of all generic classes for a given issuer ID. |
| |
| Args: |
| issuerId: string, The ID of the issuer authorized to list classes. |
| maxResults: integer, Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined. |
| token: string, Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes. |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # List response which contains the list of all generic classes for a given issuer ID. |
| "pagination": { # Pagination of the response. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#pagination"`. |
| "nextPageToken": "A String", # Page token to send to fetch the next page. |
| "resultsPerPage": 42, # Number of results returned in this page. |
| }, |
| "resources": [ # Resources corresponding to the list request. |
| { # Generic Class |
| "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. |
| "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated. |
| "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. |
| }, |
| "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
| "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. |
| "firstBottomDetail": { # Optional information to display below the barcode. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "cardTemplateOverride": { # Override for the card view. |
| "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. |
| { |
| "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "item": { # The item to be displayed in the row. This item will be automatically centered. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| }, |
| ], |
| }, |
| "detailsTemplateOverride": { # Override for the details view (beneath the card view). |
| "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. |
| { |
| "item": { # The item to be displayed in the details list. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| ], |
| }, |
| "listTemplateOverride": { # Override for the passes list view. |
| "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. |
| "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "transitOption": "A String", |
| }, |
| "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "thirdRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: "3 passes" |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. |
| "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. |
| "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. |
| { |
| "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. |
| "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. |
| "contentDescription": { # Description of the image used for accessibility. |
| "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. |
| }, |
| ], |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. |
| "sourceUri": { # The URI for the image. |
| "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. |
| "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. |
| "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 the image. URIs must have a scheme. |
| }, |
| }, |
| }, |
| ], |
| "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| "uris": [ # The list of URIs. |
| { |
| "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |
| "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. |
| "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure 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` module 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). URIs must have a scheme. |
| }, |
| ], |
| }, |
| "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. |
| "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. |
| "A String", |
| ], |
| "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
| "animationType": "A String", # Type of animation. |
| }, |
| "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. |
| "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |
| "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |
| "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. |
| "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure 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. |
| }, |
| ], |
| }, |
| "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure 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. |
| }, |
| ], |
| }, |
| }, |
| ], |
| "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. |
| }, |
| ], |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="patch">patch(resourceId, body=None, x__xgafv=None)</code> |
| <pre>Updates the generic class referenced by the given class ID. This method supports patch semantics. |
| |
| Args: |
| resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. (required) |
| body: object, The request body. |
| The object takes the form of: |
| |
| { # Generic Class |
| "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. |
| "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated. |
| "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. |
| }, |
| "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
| "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. |
| "firstBottomDetail": { # Optional information to display below the barcode. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "cardTemplateOverride": { # Override for the card view. |
| "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. |
| { |
| "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "item": { # The item to be displayed in the row. This item will be automatically centered. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| }, |
| ], |
| }, |
| "detailsTemplateOverride": { # Override for the details view (beneath the card view). |
| "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. |
| { |
| "item": { # The item to be displayed in the details list. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| ], |
| }, |
| "listTemplateOverride": { # Override for the passes list view. |
| "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. |
| "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "transitOption": "A String", |
| }, |
| "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "thirdRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: "3 passes" |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. |
| "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. |
| "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. |
| { |
| "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. |
| "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. |
| "contentDescription": { # Description of the image used for accessibility. |
| "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. |
| }, |
| ], |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. |
| "sourceUri": { # The URI for the image. |
| "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. |
| "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. |
| "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 the image. URIs must have a scheme. |
| }, |
| }, |
| }, |
| ], |
| "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| "uris": [ # The list of URIs. |
| { |
| "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |
| "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. |
| "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure 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` module 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). URIs must have a scheme. |
| }, |
| ], |
| }, |
| "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. |
| "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. |
| "A String", |
| ], |
| "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
| "animationType": "A String", # Type of animation. |
| }, |
| "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. |
| "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |
| "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |
| "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. |
| "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure 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. |
| }, |
| ], |
| }, |
| "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure 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. |
| }, |
| ], |
| }, |
| }, |
| ], |
| "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. |
| } |
| |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # Generic Class |
| "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. |
| "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated. |
| "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. |
| }, |
| "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
| "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. |
| "firstBottomDetail": { # Optional information to display below the barcode. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "cardTemplateOverride": { # Override for the card view. |
| "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. |
| { |
| "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "item": { # The item to be displayed in the row. This item will be automatically centered. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| }, |
| ], |
| }, |
| "detailsTemplateOverride": { # Override for the details view (beneath the card view). |
| "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. |
| { |
| "item": { # The item to be displayed in the details list. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| ], |
| }, |
| "listTemplateOverride": { # Override for the passes list view. |
| "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. |
| "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "transitOption": "A String", |
| }, |
| "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "thirdRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: "3 passes" |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. |
| "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. |
| "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. |
| { |
| "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. |
| "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. |
| "contentDescription": { # Description of the image used for accessibility. |
| "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. |
| }, |
| ], |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. |
| "sourceUri": { # The URI for the image. |
| "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. |
| "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. |
| "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 the image. URIs must have a scheme. |
| }, |
| }, |
| }, |
| ], |
| "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| "uris": [ # The list of URIs. |
| { |
| "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |
| "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. |
| "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure 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` module 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). URIs must have a scheme. |
| }, |
| ], |
| }, |
| "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. |
| "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. |
| "A String", |
| ], |
| "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
| "animationType": "A String", # Type of animation. |
| }, |
| "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. |
| "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |
| "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |
| "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. |
| "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure 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. |
| }, |
| ], |
| }, |
| "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure 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. |
| }, |
| ], |
| }, |
| }, |
| ], |
| "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="update">update(resourceId, body=None, x__xgafv=None)</code> |
| <pre>Updates the Generic class referenced by the given class ID. |
| |
| Args: |
| resourceId: string, The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. (required) |
| body: object, The request body. |
| The object takes the form of: |
| |
| { # Generic Class |
| "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. |
| "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated. |
| "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. |
| }, |
| "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
| "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. |
| "firstBottomDetail": { # Optional information to display below the barcode. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "cardTemplateOverride": { # Override for the card view. |
| "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. |
| { |
| "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "item": { # The item to be displayed in the row. This item will be automatically centered. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| }, |
| ], |
| }, |
| "detailsTemplateOverride": { # Override for the details view (beneath the card view). |
| "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. |
| { |
| "item": { # The item to be displayed in the details list. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| ], |
| }, |
| "listTemplateOverride": { # Override for the passes list view. |
| "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. |
| "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "transitOption": "A String", |
| }, |
| "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "thirdRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: "3 passes" |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. |
| "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. |
| "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. |
| { |
| "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. |
| "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. |
| "contentDescription": { # Description of the image used for accessibility. |
| "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. |
| }, |
| ], |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. |
| "sourceUri": { # The URI for the image. |
| "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. |
| "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. |
| "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 the image. URIs must have a scheme. |
| }, |
| }, |
| }, |
| ], |
| "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| "uris": [ # The list of URIs. |
| { |
| "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |
| "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. |
| "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure 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` module 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). URIs must have a scheme. |
| }, |
| ], |
| }, |
| "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. |
| "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. |
| "A String", |
| ], |
| "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
| "animationType": "A String", # Type of animation. |
| }, |
| "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. |
| "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |
| "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |
| "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. |
| "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure 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. |
| }, |
| ], |
| }, |
| "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure 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. |
| }, |
| ], |
| }, |
| }, |
| ], |
| "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. |
| } |
| |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # Generic Class |
| "callbackOptions": { # Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. |
| "updateRequestUrl": "A String", # URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated. |
| "url": "A String", # The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. |
| }, |
| "classTemplateInfo": { # Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
| "cardBarcodeSectionDetails": { # Specifies extra information to be displayed above and below the barcode. |
| "firstBottomDetail": { # Optional information to display below the barcode. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "firstTopDetail": { # Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "secondTopDetail": { # Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section. |
| "fieldSelector": { # Custom field selector to use with field overrides. # A reference to an existing text-based or image field to display. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "cardTemplateOverride": { # Override for the card view. |
| "cardRowTemplateInfos": [ # Template information for rows in the card view. At most three rows are allowed to be specified. |
| { |
| "oneItem": { # Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "item": { # The item to be displayed in the row. This item will be automatically centered. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "threeItems": { # Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "middleItem": { # The item to be displayed in the middle of the row. This item will be centered between the start and end items. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "twoItems": { # Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set. |
| "endItem": { # The item to be displayed at the end of the row. This item will be aligned to the right. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| "startItem": { # The item to be displayed at the start of the row. This item will be aligned to the left. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| }, |
| ], |
| }, |
| "detailsTemplateOverride": { # Override for the details view (beneath the card view). |
| "detailsItemInfos": [ # Information for the "nth" item displayed in the details list. |
| { |
| "item": { # The item to be displayed in the details list. |
| "firstValue": { # Custom field selector to use with field overrides. # A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "predefinedItem": "A String", # A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. |
| "secondValue": { # Custom field selector to use with field overrides. # A reference to a field to display. This may only be populated if the `firstValue` field is populated. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| ], |
| }, |
| "listTemplateOverride": { # Override for the passes list view. |
| "firstRowOption": { # Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. |
| "fieldOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the first row. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "transitOption": "A String", |
| }, |
| "secondRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| "thirdRowOption": { # Custom field selector to use with field overrides. # A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: "3 passes" |
| "fields": [ # If more than one reference is supplied, then the first one that references a non-empty field will be displayed. |
| { # Reference definition to use with field overrides. |
| "dateFormat": "A String", # Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. |
| "fieldPath": "A String", # Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". |
| }, |
| ], |
| }, |
| }, |
| }, |
| "enableSmartTap": True or False, # Available only to Smart Tap enabled partners. Contact support for additional guidance. |
| "id": "A String", # Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`. |
| "imageModulesData": [ # Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. |
| { |
| "id": "A String", # The ID associated with an image module. This field is here to enable ease of management of image modules. |
| "mainImage": { # Wrapping type for Google hosted images. Next ID: 7 # A 100% width image. |
| "contentDescription": { # Description of the image used for accessibility. |
| "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. |
| }, |
| ], |
| }, |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#image"`. |
| "sourceUri": { # The URI for the image. |
| "description": "A String", # Additional information about the image, which is unused and retained only for backward compatibility. |
| "localizedDescription": { # Translated strings for the description, which are unused and retained only for backward compatibility. |
| "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 the image. URIs must have a scheme. |
| }, |
| }, |
| }, |
| ], |
| "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| "uris": [ # The list of URIs. |
| { |
| "description": "A String", # The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |
| "id": "A String", # The ID associated with a uri. This field is here to enable ease of management of uris. |
| "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#uri"`. |
| "localizedDescription": { # Translated strings for the description. Recommended maximum is 20 characters to ensure 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` module 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). URIs must have a scheme. |
| }, |
| ], |
| }, |
| "multipleDevicesAndHoldersAllowedStatus": "A String", # Identifies whether multiple users and devices will save the same object referencing this class. |
| "redemptionIssuers": [ # Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. |
| "A String", |
| ], |
| "securityAnimation": { # Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
| "animationType": "A String", # Type of animation. |
| }, |
| "textModulesData": [ # Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. |
| { # Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined. |
| "body": "A String", # The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |
| "header": "A String", # The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |
| "id": "A String", # The ID associated with a text module. This field is here to enable ease of management of text modules. |
| "localizedBody": { # Translated strings for the body. Recommended maximum length is 500 characters to ensure 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. |
| }, |
| ], |
| }, |
| "localizedHeader": { # Translated strings for the header. Recommended maximum length is 35 characters to ensure 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. |
| }, |
| ], |
| }, |
| }, |
| ], |
| "viewUnlockRequirement": "A String", # View Unlock Requirement options for the generic pass. |
| }</pre> |
| </div> |
| |
| </body></html> |