addmessage(resourceId, body=None, x__xgafv=None)
Adds a message to the generic object referenced by the given object ID.
Close httplib2 connections.
get(resourceId, x__xgafv=None)
Returns the generic object with the given object ID.
insert(body=None, x__xgafv=None)
Inserts a generic object with the given ID and properties.
list(classId=None, maxResults=None, token=None, x__xgafv=None)
Returns a list of all generic objects for a given issuer ID.
patch(resourceId, body=None, x__xgafv=None)
Updates the generic object referenced by the given object ID. This method supports patch semantics.
update(resourceId, body=None, x__xgafv=None)
Updates the generic object referenced by the given object ID.
addmessage(resourceId, body=None, x__xgafv=None)
Adds a message to the generic object referenced by the given object ID. Args: resourceId: string, The unique identifier for an object. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'. (required) body: object, The request body. The object takes the form of: { # Resource used when the AddMessage endpoints are called. "message": { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response to adding a new issuer message to the object. This contains the entire updated GenericObject. "resource": { # Generic Object # The updated GenericObject resource. "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, }, }
close()
Close httplib2 connections.
get(resourceId, x__xgafv=None)
Returns the generic object with the given object ID. Args: resourceId: string, The unique identifier for an object. This ID must be unique across all objects 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 Object "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, }
insert(body=None, x__xgafv=None)
Inserts a generic object with the given ID and properties. Args: body: object, The request body. The object takes the form of: { # Generic Object "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Generic Object "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, }
list(classId=None, maxResults=None, token=None, x__xgafv=None)
Returns a list of all generic objects for a given issuer ID. Args: classId: string, The ID of the class whose objects will be listed. 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` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects. 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 objects 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 Object "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, }, ], }
patch(resourceId, body=None, x__xgafv=None)
Updates the generic object referenced by the given object ID. This method supports patch semantics. Args: resourceId: string, The unique identifier for an object. This ID must be unique across all objects 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 Object "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Generic Object "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, }
update(resourceId, body=None, x__xgafv=None)
Updates the generic object referenced by the given object ID. Args: resourceId: string, The unique identifier for an object. This ID must be unique across all objects 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 Object "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Generic Object "appLinkData": { # Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. "androidAppLinkInfo": { # Optional information about the partner app link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "displayText": { # Optional display text for the app link button. Character limit is 30. "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. }, ], }, "iosAppLinkInfo": { # Deprecated. Links to open iOS apps are not supported. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, "webAppLinkInfo": { # Optional information about the partner web link. "appLogoImage": { # Wrapping type for Google hosted images. Next ID: 7 # Deprecated. Image isn't supported in the app link module. "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. }, }, "appTarget": { # Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. "packageName": "A String", # Package name for AppTarget. For example: com.google.android.gm "targetUri": { # URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. "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. }, }, "description": { # Deprecated. Description isn't supported in the app link module. "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. }, ], }, "title": { # Deprecated. Title isn't supported in the app link module. "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. }, ], }, }, }, "barcode": { # The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "type": "A String", # The type of barcode. "value": "A String", # The value encoded in the barcode. }, "cardTitle": { # Required. The header of the pass. This is usually the Business name such as "XXX Gym", "AAA Insurance". This field is required and appears in the header row at the very top of the pass. "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. }, ], }, "classId": "A String", # Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. "genericType": "A String", # Specify which `GenericType` the card belongs to. "groupingInfo": { # Information that controls how passes are grouped together. "groupingId": "A String", # Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed. "sortIndex": 42, # Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined. }, "hasUsers": True or False, # Indicates if the object has users. This field is set by the platform. "header": { # Required. The title of the pass, such as "50% off coupon" or "Library card" or "Voucher". This field is required and appears in the title row of the pass detail view. "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. }, ], }, "heroImage": { # Wrapping type for Google hosted images. Next ID: 7 # Banner image displayed on the front of the card if present. The image will be displayed at 100% width. "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. }, }, "hexBackgroundColor": "A String", # The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google. "id": "A String", # Required. The unique identifier for an object. This ID must be unique across all objects 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. 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. }, }, }, ], "linkedObjectIds": [ # linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you. "A String", ], "linksModuleData": { # Links module data. If `linksModuleData` is also defined on the class, 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. }, ], }, "logo": { # Wrapping type for Google hosted images. Next ID: 7 # The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. "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. }, }, "messages": [ # An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. { # A message that will be displayed with a Valuable "body": "A String", # The message body. "displayInterval": { # The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "header": "A String", # The message header. "id": "A String", # The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#walletObjectMessage"`. "localizedBody": { # Translated strings for the message body. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "localizedHeader": { # Translated strings for the message header. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "messageType": "A String", # The message type. }, ], "notifications": { # Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field. # The notification settings that are enabled for this object. "expiryNotification": { # Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration. # A notification would be triggered at a specific time before the card expires. "enableNotification": True or False, # Indicates if the object needs to have expiry notification enabled. }, "upcomingNotification": { # Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable. # A notification would be triggered at a specific time before the card becomes usable. "enableNotification": True or False, # Indicates if the object needs to have upcoming notification enabled. }, }, "passConstraints": { # Container for any constraints that may be placed on passes. # Pass constraints for the object. Includes limiting NFC and screenshot behaviors. "nfcConstraint": [ # The NFC constraints for the pass. "A String", ], "screenshotEligibility": "A String", # The screenshot eligibility for the pass. }, "rotatingBarcode": { # The rotating barcode settings/details. "alternateText": "A String", # An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned. "initialRotatingBarcodeValues": { # A payload containing many barcode values and start date/time. # Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. "periodMillis": "A String", # Required. The amount of time each barcode is valid for. "startDateTime": "A String", # Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. "values": [ # Required. The values to encode in the barcode. At least one value is required. "A String", ], }, "renderEncoding": "A String", # The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. "showCodeText": { # Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. "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. }, ], }, "totpDetails": { # Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238 # Details used to evaluate the {totp_value_n} substitutions. "algorithm": "A String", # The TOTP algorithm used to generate the OTP. "parameters": [ # The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. { # Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3 "key": "A String", # The secret key used for the TOTP value generation, encoded as a Base16 string. "valueLength": 42, # The length of the TOTP value in decimal digits. }, ], "periodMillis": "A String", # The time interval used for the TOTP value generation, in milliseconds. }, "type": "A String", # The type of this barcode. "valuePattern": "A String", # String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. }, "saveRestrictions": { # Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support. # Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. "restrictToEmailSha256": "A String", # Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. }, "smartTapRedemptionValue": "A String", # The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. "state": "A String", # The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. "subheader": { # The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. "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. }, ], }, "textModulesData": [ # Text module data. If `textModulesData` is also defined on the class, 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 and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. "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. }, ], }, }, ], "validTimeInterval": { # The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, "valueAddedModuleData": [ # Optional value added module data. Maximum of ten on the object. { # Data for Value Added module. Required fields are header and uri. "body": { # Body to be displayed on the module. Character limit is 50 and longer strings will be truncated. "defaultValue": { # Contains the string to be displayed if no appropriate translation is available. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. "translatedValues": [ # Contains the translations for the string. { "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. "language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". "value": "A String", # The UTF-8 encoded translated string. }, ], }, "header": { # Header to be displayed on the module. Character limit is 60 and longer strings will be truncated. "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. }, ], }, "image": { # Wrapping type for Google hosted images. Next ID: 7 # Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio. "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. }, }, "sortIndex": 42, # The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined. "uri": "A String", # URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking. "viewConstraints": { # Constraints that all must be met for the module to be shown. # Constraints that all must be met for the module to be shown. "displayInterval": { # The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set. "end": { # End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#timeInterval"`. "start": { # Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. "date": "A String", # An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. }, }, }, }, ], "wideLogo": { # Wrapping type for Google hosted images. Next ID: 7 # The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. "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. }, }, }